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.
 

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.


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