CbmRoot
Loading...
Searching...
No Matches
CbmOffsetDigiTimeTof Class Reference

#include <CbmOffsetDigiTimeTester.h>

Inheritance diagram for CbmOffsetDigiTimeTof:
[legend]
Collaboration diagram for CbmOffsetDigiTimeTof:
[legend]

Public Member Functions

 CbmOffsetDigiTimeTof (TString sDigiBranchName, TString sDigiCalBranchName="", TString sDigiCalBranchDescr="")
 
 ~CbmOffsetDigiTimeTof ()
 
 ClassDef (CbmOffsetDigiTimeTof, 0)
 
virtual InitStatus Init ()
 
virtual InitStatus ReInit ()
 
virtual void Exec (Option_t *)
 
virtual void SetParContainers ()
 
virtual void Finish ()
 
void SetWriteOutputFlag (Bool_t bFlagIn)
 Task settings.
 
void AddOffsetPoint (UInt_t uIndexTS, Double_t dOffset)
 
void AddAddressToOffset (UInt_t uDigiAddress)
 

Private Attributes

Bool_t fbWriteOutput
 Control flags.
 
uint64_t fulTsCounter
 If ON the output vector of digi is written to disk by FairRoot, otherwise just made available for higher stages.
 
std::vector< CbmTofDigi > const * fvDigiIn
 TS counter, not same as TS index!
 
std::vector< CbmTofDigi > * fvDigiOut
 Input vector of Digis, recovered from framework for input.
 
TClonesArray * fArrayDigiIn
 Output vector of Digis, propagated to framework for output.
 
TClonesArray * fArrayDigiOut
 Input array of Digis, recovered from framework for input.
 
std::map< UInt_t, Double_t > fmOffsets
 Output array of Digis, propagated to framework for output.
 
Double_t fdCurrentOffset
 Index is the first TS where the offset is valid.
 
std::map< UInt_t, Double_t >::iterator fmitNextOffset
 Current offset in [ns].
 
std::set< UInt_t > fsAddrToOffset
 List of addresses to which the offset should be applied.
 
TString fsDigiBranchName
 Addresses for which the digi time is offset, if empty applied to all.
 
TString fsDigiBranchNameCal
 
TString fsDigiBranchDescrCal
 

Detailed Description

Definition at line 38 of file CbmOffsetDigiTimeTester.h.

Constructor & Destructor Documentation

◆ CbmOffsetDigiTimeTof()

CbmOffsetDigiTimeTof::CbmOffsetDigiTimeTof ( TString sDigiBranchName,
TString sDigiCalBranchName = "",
TString sDigiCalBranchDescr = "" )
inline

Definition at line 40 of file CbmOffsetDigiTimeTester.h.

◆ ~CbmOffsetDigiTimeTof()

CbmOffsetDigiTimeTof::~CbmOffsetDigiTimeTof ( )
inline

Definition at line 43 of file CbmOffsetDigiTimeTester.h.

Member Function Documentation

◆ AddAddressToOffset()

void CbmOffsetDigiTime< CbmTofDigi >::AddAddressToOffset ( UInt_t uDigiAddress)
inlineinherited

Definition at line 58 of file CbmOffsetDigiTime.h.

◆ AddOffsetPoint()

void CbmOffsetDigiTime< CbmTofDigi >::AddOffsetPoint ( UInt_t uIndexTS,
Double_t dOffset )
inlineinherited

Definition at line 57 of file CbmOffsetDigiTime.h.

◆ ClassDef()

CbmOffsetDigiTimeTof::ClassDef ( CbmOffsetDigiTimeTof ,
0  )

◆ Exec()

virtual void CbmOffsetDigiTime< CbmTofDigi >::Exec ( Option_t * )
virtualinherited

Executed for each event. Inherited from FairTask.

◆ Finish()

virtual void CbmOffsetDigiTime< CbmTofDigi >::Finish ( )
virtualinherited

Finish task called at the end of the run. Inherited from FairTask.

◆ Init()

virtual InitStatus CbmOffsetDigiTime< CbmTofDigi >::Init ( )
virtualinherited

Initiliazation of task at the beginning of a run. Inherited from FairTask.

◆ ReInit()

virtual InitStatus CbmOffsetDigiTime< CbmTofDigi >::ReInit ( )
virtualinherited

ReInitiliazation of task when the runID changes. Inherited from FairTask.

◆ SetParContainers()

virtual void CbmOffsetDigiTime< CbmTofDigi >::SetParContainers ( )
virtualinherited

Load the parameter container from the runtime database. Inherited from FairTask.

◆ SetWriteOutputFlag()

void CbmOffsetDigiTime< CbmTofDigi >::SetWriteOutputFlag ( Bool_t bFlagIn)
inlineinherited

Task settings.

Definition at line 56 of file CbmOffsetDigiTime.h.

Member Data Documentation

◆ fArrayDigiIn

TClonesArray* CbmOffsetDigiTime< CbmTofDigi >::fArrayDigiIn
privateinherited

Output vector of Digis, propagated to framework for output.

Input/Output Arrays (backup)

Definition at line 73 of file CbmOffsetDigiTime.h.

◆ fArrayDigiOut

TClonesArray* CbmOffsetDigiTime< CbmTofDigi >::fArrayDigiOut
privateinherited

Input array of Digis, recovered from framework for input.

Definition at line 74 of file CbmOffsetDigiTime.h.

◆ fbWriteOutput

Bool_t CbmOffsetDigiTime< CbmTofDigi >::fbWriteOutput
privateinherited

Control flags.

Definition at line 62 of file CbmOffsetDigiTime.h.

◆ fdCurrentOffset

Double_t CbmOffsetDigiTime< CbmTofDigi >::fdCurrentOffset
privateinherited

Index is the first TS where the offset is valid.

Definition at line 79 of file CbmOffsetDigiTime.h.

◆ fmitNextOffset

std::map<UInt_t,Double_t>::iterator CbmOffsetDigiTime< CbmTofDigi >::fmitNextOffset
privateinherited

Current offset in [ns].

Definition at line 80 of file CbmOffsetDigiTime.h.

◆ fmOffsets

std::map<UInt_t, Double_t> CbmOffsetDigiTime< CbmTofDigi >::fmOffsets
privateinherited

Output array of Digis, propagated to framework for output.

List of offsets with their boundaries

Definition at line 78 of file CbmOffsetDigiTime.h.

◆ fsAddrToOffset

std::set<UInt_t> CbmOffsetDigiTime< CbmTofDigi >::fsAddrToOffset
privateinherited

List of addresses to which the offset should be applied.

Definition at line 83 of file CbmOffsetDigiTime.h.

◆ fsDigiBranchDescrCal

TString CbmOffsetDigiTime< CbmTofDigi >::fsDigiBranchDescrCal
privateinherited

Definition at line 88 of file CbmOffsetDigiTime.h.

◆ fsDigiBranchName

TString CbmOffsetDigiTime< CbmTofDigi >::fsDigiBranchName
privateinherited

Addresses for which the digi time is offset, if empty applied to all.

Names for framework objects search

Definition at line 86 of file CbmOffsetDigiTime.h.

◆ fsDigiBranchNameCal

TString CbmOffsetDigiTime< CbmTofDigi >::fsDigiBranchNameCal
privateinherited

Definition at line 87 of file CbmOffsetDigiTime.h.

◆ fulTsCounter

uint64_t CbmOffsetDigiTime< CbmTofDigi >::fulTsCounter
privateinherited

If ON the output vector of digi is written to disk by FairRoot, otherwise just made available for higher stages.

Statistics

Definition at line 66 of file CbmOffsetDigiTime.h.

◆ fvDigiIn

std::vector<CbmTofDigi> const* CbmOffsetDigiTime< CbmTofDigi >::fvDigiIn
privateinherited

TS counter, not same as TS index!

Input/Output vectors (default)

Definition at line 69 of file CbmOffsetDigiTime.h.

◆ fvDigiOut

std::vector<CbmTofDigi>* CbmOffsetDigiTime< CbmTofDigi >::fvDigiOut
privateinherited

Input vector of Digis, recovered from framework for input.

Definition at line 70 of file CbmOffsetDigiTime.h.


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