11#ifndef CBMDIGITIZEINFO_H
12#define CBMDIGITIZEINFO_H 1
40 Bool_t present = kFALSE, Bool_t active = kTRUE, Bool_t persistent = kTRUE)
Abstract base class for CBM digitisation tasks.
Auxiliary class for CbmDigitize.
CbmDigitizeInfo(const CbmDigitizeInfo &)=delete
Copy constructor forbidden.
Bool_t IsPresent() const
Data presence flag @value kTRUE if input branch is present in the tree.
CbmDigitizeBase * fDigitizer
void SetPresent(Bool_t choice=kTRUE)
Set data presence flag.
std::string ToString() const
Info to string.
virtual ~CbmDigitizeInfo()
Bool_t IsActive() const
Activity flag @value If kTRUE, if digitizer will be active.
void SetPersistent(Bool_t choice=kTRUE)
Set persistence flag.
void SetBranchName(TString branch)
Set input branch name.
void SetActive(Bool_t choice=kTRUE)
Set activity flag.
TString GetBranchName() const
Get input branch name @value Input branch name.
ClassDef(CbmDigitizeInfo, 2)
CbmDigitizeBase * GetDigitizer() const
Get digitizer @value Pointer to digitizer instance.
CbmDigitizeInfo operator=(const CbmDigitizeInfo &)=delete
Assignment operator forbidden.
void SetDigitizer(CbmDigitizeBase *digitizer)
Set digitizer instance.
CbmDigitizeInfo(ECbmModuleId system, TString branch="", CbmDigitizeBase *digitizer=nullptr, Bool_t present=kFALSE, Bool_t active=kTRUE, Bool_t persistent=kTRUE)
Constructor.