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

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

#include <R3BNeulandMapped2CalPar.h>

Public Member Functions

 R3BNeulandMapped2CalPar ()
 Default constructor.
 
 R3BNeulandMapped2CalPar (const char *name, Int_t iVerbose=1)
 Standard constructor.
 
virtual ~R3BNeulandMapped2CalPar ()
 Destructor.
 
virtual InitStatus Init ()
 Method for task initialization.
 
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 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)
 Method for setting number of modules in NeuLAND setup.
 

Private Attributes

Int_t fMinStats
 Minimum statistics required per module.
 
Int_t fTrigger
 Trigger value.
 
Int_t fNofPlanes
 Number of planes.
 
Int_t fNofBarsPerPlane
 Number of photomultipliers.
 
Int_t fNofPMTs
 Number of NeuLAND modules.
 
Int_t checkcounts
 
Int_t counts [60][50][4]
 
Int_t fNEvents
 Event counter.
 
R3BTCalPar * fCal_Par
 Parameter container.
 
TClonesArray * fHits
 Array with NeuLAND hits - input data.
 
TClonesArray * fHitsTrigger
 Array with NeuLAND hits - triggers.
 
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 32 of file R3BNeulandMapped2CalPar.h.

Constructor & Destructor Documentation

◆ R3BNeulandMapped2CalPar() [1/2]

R3BNeulandMapped2CalPar::R3BNeulandMapped2CalPar ( )

Creates an instance of the task with default parameters.

Definition at line 32 of file R3BNeulandMapped2CalPar.cxx.

◆ R3BNeulandMapped2CalPar() [2/2]

R3BNeulandMapped2CalPar::R3BNeulandMapped2CalPar ( 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 42 of file R3BNeulandMapped2CalPar.cxx.

◆ ~R3BNeulandMapped2CalPar()

R3BNeulandMapped2CalPar::~R3BNeulandMapped2CalPar ( )
virtual

Frees the memory used by the object.

Definition at line 52 of file R3BNeulandMapped2CalPar.cxx.

Member Function Documentation

◆ Exec()

void R3BNeulandMapped2CalPar::Exec ( Option_t * option)
virtual

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

Parameters
optionan execution option.

Definition at line 106 of file R3BNeulandMapped2CalPar.cxx.

◆ FinishEvent()

void R3BNeulandMapped2CalPar::FinishEvent ( )
virtual

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

Definition at line 209 of file R3BNeulandMapped2CalPar.cxx.

◆ FinishTask()

void R3BNeulandMapped2CalPar::FinishTask ( )
virtual

Is called by the framework after processing the event loop.

Definition at line 211 of file R3BNeulandMapped2CalPar.cxx.

◆ Init()

InitStatus R3BNeulandMapped2CalPar::Init ( )
virtual

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

Returns
Initialization status. kSUCCESS, kERROR or kFATAL.

Definition at line 60 of file R3BNeulandMapped2CalPar.cxx.

◆ SetMinStats()

void R3BNeulandMapped2CalPar::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 91 of file R3BNeulandMapped2CalPar.h.

◆ SetNofModules()

void R3BNeulandMapped2CalPar::SetNofModules ( Int_t nPlanes,
Int_t nBars )
inline
Parameters
nPMTsa number of photomultipliers.

Definition at line 103 of file R3BNeulandMapped2CalPar.h.

◆ SetTrigger()

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

Definition at line 97 of file R3BNeulandMapped2CalPar.h.

Member Data Documentation

◆ checkcounts

Int_t R3BNeulandMapped2CalPar::checkcounts
private

Definition at line 118 of file R3BNeulandMapped2CalPar.h.

◆ counts

Int_t R3BNeulandMapped2CalPar::counts[60][50][4]
private

Definition at line 119 of file R3BNeulandMapped2CalPar.h.

◆ fCal_Par

R3BTCalPar* R3BNeulandMapped2CalPar::fCal_Par
private

Definition at line 122 of file R3BNeulandMapped2CalPar.h.

◆ fEngine

R3BTCalEngine* R3BNeulandMapped2CalPar::fEngine
private

Definition at line 127 of file R3BNeulandMapped2CalPar.h.

◆ fHits

TClonesArray* R3BNeulandMapped2CalPar::fHits
private

Definition at line 123 of file R3BNeulandMapped2CalPar.h.

◆ fHitsTrigger

TClonesArray* R3BNeulandMapped2CalPar::fHitsTrigger
private

Definition at line 124 of file R3BNeulandMapped2CalPar.h.

◆ fMinStats

Int_t R3BNeulandMapped2CalPar::fMinStats
private

Definition at line 111 of file R3BNeulandMapped2CalPar.h.

◆ fNEvents

Int_t R3BNeulandMapped2CalPar::fNEvents
private

Definition at line 121 of file R3BNeulandMapped2CalPar.h.

◆ fNofBarsPerPlane

Int_t R3BNeulandMapped2CalPar::fNofBarsPerPlane
private

Definition at line 115 of file R3BNeulandMapped2CalPar.h.

◆ fNofPlanes

Int_t R3BNeulandMapped2CalPar::fNofPlanes
private

Definition at line 114 of file R3BNeulandMapped2CalPar.h.

◆ fNofPMTs

Int_t R3BNeulandMapped2CalPar::fNofPMTs
private

Definition at line 116 of file R3BNeulandMapped2CalPar.h.

◆ fTrigger

Int_t R3BNeulandMapped2CalPar::fTrigger
private

Definition at line 112 of file R3BNeulandMapped2CalPar.h.

◆ header

R3BEventHeader* R3BNeulandMapped2CalPar::header
private

Definition at line 125 of file R3BNeulandMapped2CalPar.h.


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