R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3BNeulandTcal Class Reference

An analysis task to apply TCAL calibration for NeuLAND. More...

#include <R3BNeulandTcal.h>

Public Member Functions

 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.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ 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
namea name of the task.
iVerbosea verbosity level.

Definition at line 49 of file R3BNeulandTcal.cxx.

◆ ~R3BNeulandTcal()

R3BNeulandTcal::~R3BNeulandTcal ( )
virtual

Frees the memory used by the object.

Definition at line 64 of file R3BNeulandTcal.cxx.

Member Function Documentation

◆ Exec()

void R3BNeulandTcal::Exec ( Option_t * option)
virtual

Is called by the framework every time a new event is read.

Parameters
optionan 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

Definition at line 109 of file R3BNeulandTcal.cxx.

◆ SetNofModules()

void R3BNeulandTcal::SetNofModules ( Int_t nPlanes,
Int_t nBars,
Int_t n17 )
inline
Parameters
nPMTsa number of photomultipliers.
n17a number of channels with stop signal (17-th channel).

Definition at line 111 of file R3BNeulandTcal.h.

◆ SetParContainers()

void R3BNeulandTcal::SetParContainers ( )
virtual

Called by the framework prior to Init() method.

Definition at line 102 of file R3BNeulandTcal.cxx.

◆ SetTrigger()

void R3BNeulandTcal::SetTrigger ( Int_t trigger)
inline
Parameters
trigger1 - 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: