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

An analysis task for TCAL calibration of NeuLAND Tamex data. More...

#include <R3BNeulandTcalFill.h>

Public Member Functions

 R3BNeulandTcalFill ()
 Default constructor.
 R3BNeulandTcalFill (const char *name, Int_t iVerbose=1)
 Standard constructor.
 ~R3BNeulandTcalFill () override
 Destructor.
auto Init () -> InitStatus override
 Method for task initialization.
void Exec (Option_t *option) override
 Method for event loop implementation.
void FinishEvent () override
 A method for finish of processing of an event.
void FinishTask () override
 Method for finish of the task execution.
void SetUpdateRate (Int_t rate)
 Method for setting the update rate.
void SetMinStats (Int_t minStats)
 Method for setting minimum required statistics per module.
void SetTrigger (Int_t trigger)
 Method for selecting events with certain trigger value.
void SetNofModules (Int_t nPlanes, Int_t nBars, Int_t n17)
 Method for setting number of modules in NeuLAND setup.

Private Attributes

Int_t fUpdateRate
 An update rate.
Int_t fMinStats
 Minimum statistics required per module.
Int_t fTrigger
 Trigger value.
Int_t fNofPlanes
 Number of NeuLAND planes.
Int_t fNofBars
 Number of NeuLAND bars per plane.
Int_t fNof17
 Number of channels with stop signal.
Int_t fNEvents
 Event counter.
R3BTCalPar * fCal_Par
 Parameter container.
TClonesArray * fHits
 Array with NeuLAND hits - input data.
R3BEventHeaderheader
 Event header - input data.
R3BTCalEngine * fEngine
 Instance of the TCAL engine.

Detailed Description

This class fills TDC distribution for each Photomultiplier of the NeuLAND detector and calculates the calibration parameters using the R3BTCalEngine.

Author
D. Kresan
Since
September 7, 2015

Definition at line 39 of file R3BNeulandTcalFill.h.

Constructor & Destructor Documentation

◆ R3BNeulandTcalFill() [1/2]

R3BNeulandTcalFill::R3BNeulandTcalFill ( )

Creates an instance of the task with default parameters.

Definition at line 34 of file R3BNeulandTcalFill.cxx.

◆ R3BNeulandTcalFill() [2/2]

R3BNeulandTcalFill::R3BNeulandTcalFill ( const char * name,
Int_t iVerbose = 1 )
explicit

Creates an instance of the task.

Parameters
namea name of the task.
iVerbosea verbosity level.

Definition at line 47 of file R3BNeulandTcalFill.cxx.

◆ ~R3BNeulandTcalFill()

R3BNeulandTcalFill::~R3BNeulandTcalFill ( )
override

Frees the memory used by the object.

Definition at line 60 of file R3BNeulandTcalFill.cxx.

Member Function Documentation

◆ Exec()

void R3BNeulandTcalFill::Exec ( Option_t * option)
override

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

Parameters
optionan execution option.

Definition at line 98 of file R3BNeulandTcalFill.cxx.

◆ FinishEvent()

void R3BNeulandTcalFill::FinishEvent ( )
override

Is called by the framework for each event after executing the tasks.

Definition at line 172 of file R3BNeulandTcalFill.cxx.

◆ FinishTask()

void R3BNeulandTcalFill::FinishTask ( )
override

Is called by the framework after processing the event loop.

Definition at line 174 of file R3BNeulandTcalFill.cxx.

◆ Init()

InitStatus R3BNeulandTcalFill::Init ( ) -> InitStatus
override

This function is called by the framework before the event loop.

Returns
Initialization status. kSUCCESS, kERROR or kFATAL.

Definition at line 72 of file R3BNeulandTcalFill.cxx.

◆ SetMinStats()

void R3BNeulandTcalFill::SetMinStats ( Int_t minStats)
inline

Only detector modules with number of entries in TDC distribution greater than minimum statistics will be calibrated.

Parameters
minStatsa value of minimum statistics required.

Definition at line 104 of file R3BNeulandTcalFill.h.

◆ SetNofModules()

void R3BNeulandTcalFill::SetNofModules ( Int_t nPlanes,
Int_t nBars,
Int_t n17 )
inline
Parameters
nPlanesnumber planes.
nBarsnumber of bars per plane.
n17a number of channels with stop signal (17-th channel).

Definition at line 118 of file R3BNeulandTcalFill.h.

◆ SetTrigger()

void R3BNeulandTcalFill::SetTrigger ( Int_t trigger)
inline
Parameters
trigger1 - onspill, 2 - offspill, -1 - all events.

Definition at line 110 of file R3BNeulandTcalFill.h.

◆ SetUpdateRate()

void R3BNeulandTcalFill::SetUpdateRate ( Int_t rate)
inline
Parameters
ratean update rate value (events).

Definition at line 95 of file R3BNeulandTcalFill.h.

Member Data Documentation

◆ fCal_Par

R3BTCalPar* R3BNeulandTcalFill::fCal_Par
private

Definition at line 135 of file R3BNeulandTcalFill.h.

◆ fEngine

R3BTCalEngine* R3BNeulandTcalFill::fEngine
private

Definition at line 139 of file R3BNeulandTcalFill.h.

◆ fHits

TClonesArray* R3BNeulandTcalFill::fHits
private

Definition at line 136 of file R3BNeulandTcalFill.h.

◆ fMinStats

Int_t R3BNeulandTcalFill::fMinStats
private

Definition at line 127 of file R3BNeulandTcalFill.h.

◆ fNEvents

Int_t R3BNeulandTcalFill::fNEvents
private

Definition at line 134 of file R3BNeulandTcalFill.h.

◆ fNof17

Int_t R3BNeulandTcalFill::fNof17
private

Definition at line 132 of file R3BNeulandTcalFill.h.

◆ fNofBars

Int_t R3BNeulandTcalFill::fNofBars
private

Definition at line 131 of file R3BNeulandTcalFill.h.

◆ fNofPlanes

Int_t R3BNeulandTcalFill::fNofPlanes
private

Definition at line 130 of file R3BNeulandTcalFill.h.

◆ fTrigger

Int_t R3BNeulandTcalFill::fTrigger
private

Definition at line 128 of file R3BNeulandTcalFill.h.

◆ fUpdateRate

Int_t R3BNeulandTcalFill::fUpdateRate
private

Definition at line 126 of file R3BNeulandTcalFill.h.

◆ header

R3BEventHeader* R3BNeulandTcalFill::header
private

Definition at line 137 of file R3BNeulandTcalFill.h.


The documentation for this class was generated from the following files: