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

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

#include <R3BNeulandTacquilaMapped2CalPar.h>

Public Member Functions

 R3BNeulandTacquilaMapped2CalPar ()
 Default constructor.
 
 R3BNeulandTacquilaMapped2CalPar (const char *name, Int_t iVerbose=1)
 Standard constructor.
 
virtual ~R3BNeulandTacquilaMapped2CalPar ()
 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 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 nPMTs)
 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 R3BNeulandTacquilaMapped2CalPar.h.

Constructor & Destructor Documentation

◆ R3BNeulandTacquilaMapped2CalPar() [1/2]

R3BNeulandTacquilaMapped2CalPar::R3BNeulandTacquilaMapped2CalPar ( )

Creates an instance of the task with default parameters.

Definition at line 29 of file R3BNeulandTacquilaMapped2CalPar.cxx.

◆ R3BNeulandTacquilaMapped2CalPar() [2/2]

R3BNeulandTacquilaMapped2CalPar::R3BNeulandTacquilaMapped2CalPar ( 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 39 of file R3BNeulandTacquilaMapped2CalPar.cxx.

◆ ~R3BNeulandTacquilaMapped2CalPar()

R3BNeulandTacquilaMapped2CalPar::~R3BNeulandTacquilaMapped2CalPar ( )
virtual

Frees the memory used by the object.

Definition at line 50 of file R3BNeulandTacquilaMapped2CalPar.cxx.

Member Function Documentation

◆ Exec()

void R3BNeulandTacquilaMapped2CalPar::Exec ( Option_t * option)
virtual

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

Parameters
optionan execution option.

Definition at line 88 of file R3BNeulandTacquilaMapped2CalPar.cxx.

◆ FinishEvent()

void R3BNeulandTacquilaMapped2CalPar::FinishEvent ( )
virtual

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

Definition at line 132 of file R3BNeulandTacquilaMapped2CalPar.cxx.

◆ FinishTask()

void R3BNeulandTacquilaMapped2CalPar::FinishTask ( )
virtual

Is called by the framework after processing the event loop.

Definition at line 134 of file R3BNeulandTacquilaMapped2CalPar.cxx.

◆ Init()

InitStatus R3BNeulandTacquilaMapped2CalPar::Init ( )
virtual

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

Returns
Initialization status. kSUCCESS, kERROR or kFATAL.

Definition at line 62 of file R3BNeulandTacquilaMapped2CalPar.cxx.

◆ SetMinStats()

void R3BNeulandTacquilaMapped2CalPar::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 97 of file R3BNeulandTacquilaMapped2CalPar.h.

◆ SetNofModules()

void R3BNeulandTacquilaMapped2CalPar::SetNofModules ( Int_t nPMTs)
inline
Parameters
nPMTsa number of photomultipliers.

Definition at line 109 of file R3BNeulandTacquilaMapped2CalPar.h.

◆ SetTrigger()

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

Definition at line 103 of file R3BNeulandTacquilaMapped2CalPar.h.

◆ SetUpdateRate()

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

Definition at line 88 of file R3BNeulandTacquilaMapped2CalPar.h.


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