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

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

#include <R3BNeulandTacquilaMapped2Cal.h>

Public Member Functions

 R3BNeulandTacquilaMapped2Cal ()
 Default constructor.
 
 R3BNeulandTacquilaMapped2Cal (const char *name, Int_t iVerbose=1)
 Standard constructor.
 
virtual ~R3BNeulandTacquilaMapped2Cal ()
 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 nPMTs)
 Method for setting the number of NeuLAND modules.
 
void SetPulserMode (Bool_t mode=kTRUE)
 Method to set running mode for pulser data analysis.
 
void EnableWalk (Bool_t walk=kTRUE)
 Method to enable / disable walk corrections.
 

Detailed Description

This class reads NeuLAND raw 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 R3BNeulandTacquilaMapped2CalPar task.

Author
D. Kresan
Since
September 7, 2015

Definition at line 35 of file R3BNeulandTacquilaMapped2Cal.h.

Constructor & Destructor Documentation

◆ R3BNeulandTacquilaMapped2Cal() [1/2]

R3BNeulandTacquilaMapped2Cal::R3BNeulandTacquilaMapped2Cal ( )

Creates an instance of the task with default parameters.

Definition at line 51 of file R3BNeulandTacquilaMapped2Cal.cxx.

◆ R3BNeulandTacquilaMapped2Cal() [2/2]

R3BNeulandTacquilaMapped2Cal::R3BNeulandTacquilaMapped2Cal ( 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 70 of file R3BNeulandTacquilaMapped2Cal.cxx.

◆ ~R3BNeulandTacquilaMapped2Cal()

R3BNeulandTacquilaMapped2Cal::~R3BNeulandTacquilaMapped2Cal ( )
virtual

Frees the memory used by the object.

Definition at line 89 of file R3BNeulandTacquilaMapped2Cal.cxx.

Member Function Documentation

◆ EnableWalk()

void R3BNeulandTacquilaMapped2Cal::EnableWalk ( Bool_t walk = kTRUE)
inline
Parameters
walka boolean flag - if TRUE, walk corrections will be applied.

Definition at line 121 of file R3BNeulandTacquilaMapped2Cal.h.

◆ Exec()

void R3BNeulandTacquilaMapped2Cal::Exec ( Option_t * option)
virtual

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

Parameters
optionan execution option.

Definition at line 165 of file R3BNeulandTacquilaMapped2Cal.cxx.

◆ FinishEvent()

void R3BNeulandTacquilaMapped2Cal::FinishEvent ( )
virtual

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

Definition at line 296 of file R3BNeulandTacquilaMapped2Cal.cxx.

◆ FinishTask()

void R3BNeulandTacquilaMapped2Cal::FinishTask ( )
virtual

Is called by the framework after processing the event loop.

Definition at line 315 of file R3BNeulandTacquilaMapped2Cal.cxx.

◆ Init()

InitStatus R3BNeulandTacquilaMapped2Cal::Init ( )
virtual

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

Returns
Initialization status. kSUCCESS, kERROR or kFATAL.

Definition at line 99 of file R3BNeulandTacquilaMapped2Cal.cxx.

◆ ReInit()

InitStatus R3BNeulandTacquilaMapped2Cal::ReInit ( )
virtual

Definition at line 158 of file R3BNeulandTacquilaMapped2Cal.cxx.

◆ SetNofModules()

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

Definition at line 109 of file R3BNeulandTacquilaMapped2Cal.h.

◆ SetParContainers()

void R3BNeulandTacquilaMapped2Cal::SetParContainers ( )
virtual

Called by the framework prior to Init() method.

Definition at line 132 of file R3BNeulandTacquilaMapped2Cal.cxx.

◆ SetPulserMode()

void R3BNeulandTacquilaMapped2Cal::SetPulserMode ( Bool_t mode = kTRUE)
inline
Parameters
modea boolean flag - if TRUE events with all PMT's fired will be taken.

Definition at line 115 of file R3BNeulandTacquilaMapped2Cal.h.

◆ SetTrigger()

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

Definition at line 103 of file R3BNeulandTacquilaMapped2Cal.h.


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