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

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

#include <R3BNeulandMapped2Cal.h>

Public Member Functions

 R3BNeulandMapped2Cal ()
 Default constructor.
 
 R3BNeulandMapped2Cal (const char *name, Int_t iVerbose=1)
 Standard constructor.
 
virtual ~R3BNeulandMapped2Cal ()
 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 nPlanes, Int_t nBars)
 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.
 
void SetNhitmin (Int_t nhitmin=1)
 

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 R3BNeulandMapped2CalPar task.

Author
D. Kresan
Since
September 7, 2015

Definition at line 35 of file R3BNeulandMapped2Cal.h.

Constructor & Destructor Documentation

◆ R3BNeulandMapped2Cal() [1/2]

R3BNeulandMapped2Cal::R3BNeulandMapped2Cal ( )

Creates an instance of the task with default parameters.

Definition at line 30 of file R3BNeulandMapped2Cal.cxx.

◆ R3BNeulandMapped2Cal() [2/2]

R3BNeulandMapped2Cal::R3BNeulandMapped2Cal ( 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 46 of file R3BNeulandMapped2Cal.cxx.

◆ ~R3BNeulandMapped2Cal()

R3BNeulandMapped2Cal::~R3BNeulandMapped2Cal ( )
virtual

Frees the memory used by the object.

Definition at line 62 of file R3BNeulandMapped2Cal.cxx.

Member Function Documentation

◆ EnableWalk()

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

Definition at line 127 of file R3BNeulandMapped2Cal.h.

◆ Exec()

void R3BNeulandMapped2Cal::Exec ( Option_t * option)
virtual

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

Parameters
optionan execution option.

Definition at line 161 of file R3BNeulandMapped2Cal.cxx.

◆ FinishEvent()

void R3BNeulandMapped2Cal::FinishEvent ( )
virtual

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

Definition at line 333 of file R3BNeulandMapped2Cal.cxx.

◆ FinishTask()

void R3BNeulandMapped2Cal::FinishTask ( )
virtual

Is called by the framework after processing the event loop.

Definition at line 349 of file R3BNeulandMapped2Cal.cxx.

◆ Init()

InitStatus R3BNeulandMapped2Cal::Init ( )
virtual

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

Returns
Initialization status. kSUCCESS, kERROR or kFATAL.

Definition at line 72 of file R3BNeulandMapped2Cal.cxx.

◆ ReInit()

InitStatus R3BNeulandMapped2Cal::ReInit ( )
virtual

Definition at line 154 of file R3BNeulandMapped2Cal.cxx.

◆ SetNhitmin()

void R3BNeulandMapped2Cal::SetNhitmin ( Int_t nhitmin = 1)
inline

Definition at line 129 of file R3BNeulandMapped2Cal.h.

◆ SetNofModules()

void R3BNeulandMapped2Cal::SetNofModules ( Int_t nPlanes,
Int_t nBars )
inline
Parameters
nPlanesa number of planes.
nBarsa number of bars per plane.

Definition at line 110 of file R3BNeulandMapped2Cal.h.

◆ SetParContainers()

void R3BNeulandMapped2Cal::SetParContainers ( )
virtual

Called by the framework prior to Init() method.

Definition at line 120 of file R3BNeulandMapped2Cal.cxx.

◆ SetPulserMode()

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

Definition at line 121 of file R3BNeulandMapped2Cal.h.

◆ SetTrigger()

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

Definition at line 103 of file R3BNeulandMapped2Cal.h.


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