An analysis task to apply TCAL calibration for NeuLAND.
More...
#include <R3BNeulandTcal.h>
|
| R3BNeulandTcal () |
| Default constructor.
|
|
| R3BNeulandTcal (const char *name, Int_t iVerbose=1) |
| Standard constructor.
|
|
virtual | ~R3BNeulandTcal () |
| Destructor.
|
|
virtual InitStatus | Init () |
| Method for task initialization.
|
|
virtual void | SetParContainers () |
| Method for initialization of the parameter containers.
|
|
virtual InitStatus | ReInit () |
| Method for re-initialization of parameter containers in case the Run ID has changed.
|
|
virtual void | Exec (Option_t *option) |
| Method for event loop implementation.
|
|
virtual void | FinishEvent () |
| A method for finish of processing of an event.
|
|
virtual void | FinishTask () |
| Method for finish of the task execution.
|
|
void | SetTrigger (Int_t trigger) |
| Method for setting the trigger value.
|
|
void | SetNofModules (Int_t nPlanes, Int_t nBars, Int_t n17) |
| Method for setting the number of NeuLAND modules.
|
|
This class reads NeuLAND mapped items with TDC values and produces time items with time in [ns]. It requires TCAL calibration parameters, which are produced in a separate analysis run containing R3BNeulandTcalFill task.
Definition at line 36 of file R3BNeulandTcal.h.
◆ R3BNeulandTcal() [1/2]
R3BNeulandTcal::R3BNeulandTcal |
( |
| ) |
|
Creates an instance of the task with default parameters.
Definition at line 34 of file R3BNeulandTcal.cxx.
◆ R3BNeulandTcal() [2/2]
R3BNeulandTcal::R3BNeulandTcal |
( |
const char * | name, |
|
|
Int_t | iVerbose = 1 ) |
Creates an instance of the task.
- Parameters
-
name | a name of the task. |
iVerbose | a verbosity level. |
Definition at line 49 of file R3BNeulandTcal.cxx.
◆ ~R3BNeulandTcal()
R3BNeulandTcal::~R3BNeulandTcal |
( |
| ) |
|
|
virtual |
◆ Exec()
void R3BNeulandTcal::Exec |
( |
Option_t * | option | ) |
|
|
virtual |
Is called by the framework every time a new event is read.
- Parameters
-
option | an execution option. |
Definition at line 115 of file R3BNeulandTcal.cxx.
◆ FinishEvent()
void R3BNeulandTcal::FinishEvent |
( |
| ) |
|
|
virtual |
Is called by the framework for each event after executing the tasks.
Definition at line 202 of file R3BNeulandTcal.cxx.
◆ FinishTask()
void R3BNeulandTcal::FinishTask |
( |
| ) |
|
|
virtual |
Is called by the framework after processing the event loop.
Definition at line 218 of file R3BNeulandTcal.cxx.
◆ Init()
InitStatus R3BNeulandTcal::Init |
( |
| ) |
|
|
virtual |
This function is called by the framework before the event loop.
- Returns
- Initialization status. kSUCCESS, kERROR or kFATAL.
Definition at line 74 of file R3BNeulandTcal.cxx.
◆ ReInit()
InitStatus R3BNeulandTcal::ReInit |
( |
| ) |
|
|
virtual |
◆ SetNofModules()
void R3BNeulandTcal::SetNofModules |
( |
Int_t | nPlanes, |
|
|
Int_t | nBars, |
|
|
Int_t | n17 ) |
|
inline |
- Parameters
-
nPMTs | a number of photomultipliers. |
n17 | a number of channels with stop signal (17-th channel). |
Definition at line 111 of file R3BNeulandTcal.h.
◆ SetParContainers()
void R3BNeulandTcal::SetParContainers |
( |
| ) |
|
|
virtual |
◆ SetTrigger()
void R3BNeulandTcal::SetTrigger |
( |
Int_t | trigger | ) |
|
|
inline |
- Parameters
-
trigger | 1 - onspill, 2 - offspill, -1 - all events. |
Definition at line 104 of file R3BNeulandTcal.h.
The documentation for this class was generated from the following files: