CbmRoot
|
Auxiliary class for CbmDigitize. More...
#include <CbmDigitizeInfo.h>
Public Member Functions | |
CbmDigitizeInfo (ECbmModuleId system, TString branch="", CbmDigitizeBase *digitizer=nullptr, Bool_t present=kFALSE, Bool_t active=kTRUE, Bool_t persistent=kTRUE) | |
Constructor. More... | |
virtual | ~CbmDigitizeInfo () |
TString | GetBranchName () const |
Get input branch name @value Input branch name. More... | |
CbmDigitizeBase * | GetDigitizer () const |
Get digitizer @value Pointer to digitizer instance. More... | |
Bool_t | IsActive () const |
Activity flag @value If kTRUE, if digitizer will be active. More... | |
Bool_t | IsPresent () const |
Data presence flag @value kTRUE if input branch is present in the tree. More... | |
void | SetActive (Bool_t choice=kTRUE) |
Set activity flag. More... | |
void | SetBranchName (TString branch) |
Set input branch name. More... | |
void | SetDigitizer (CbmDigitizeBase *digitizer) |
Set digitizer instance. More... | |
void | SetPersistent (Bool_t choice=kTRUE) |
Set persistence flag. More... | |
void | SetPresent (Bool_t choice=kTRUE) |
Set data presence flag. More... | |
std::string | ToString () const |
Info to string. More... | |
Private Member Functions | |
CbmDigitizeInfo (const CbmDigitizeInfo &)=delete | |
Copy constructor forbidden. More... | |
CbmDigitizeInfo | operator= (const CbmDigitizeInfo &)=delete |
Assignment operator forbidden. More... | |
ClassDef (CbmDigitizeInfo, 2) | |
Private Attributes | |
ECbmModuleId | fSystem |
TString | fBranch |
CbmDigitizeBase * | fDigitizer |
Bool_t | fPresent |
Bool_t | fActive |
Bool_t | fPersistent |
Auxiliary class for CbmDigitize.
The class CbmDigitizeInfo keeps information on the digitisation for a detector system, like the instance of the digitizer, the input branch name (MCPoint), and flags indicating the presence of the input branch and the persistence of the output data (digis).
Definition at line 23 of file CbmDigitizeInfo.h.
|
inline |
Constructor.
system | System ID (ECbmModuleId) |
present | kTRUE if MC data branch is present |
active | Digitizer will be run if kTRUE |
persistent | Output data will be persistent if kTRUE |
branch | Name of MCPoint branch as input |
digitizer | Pointer to digitizer instance |
Definition at line 34 of file CbmDigitizeInfo.h.
|
inlinevirtual |
Destructor
Definition at line 49 of file CbmDigitizeInfo.h.
|
privatedelete |
Copy constructor forbidden.
|
private |
|
inline |
Get input branch name @value Input branch name.
Definition at line 55 of file CbmDigitizeInfo.h.
References fBranch.
|
inline |
Get digitizer @value Pointer to digitizer instance.
Definition at line 61 of file CbmDigitizeInfo.h.
References fDigitizer.
|
inline |
Activity flag @value If kTRUE, if digitizer will be active.
Definition at line 67 of file CbmDigitizeInfo.h.
References fActive.
|
inline |
Data presence flag @value kTRUE if input branch is present in the tree.
Definition at line 73 of file CbmDigitizeInfo.h.
References fPresent.
|
privatedelete |
Assignment operator forbidden.
|
inline |
Set activity flag.
choice | If kTRUE, the digitizer will be active. |
Definition at line 78 of file CbmDigitizeInfo.h.
References fActive.
|
inline |
Set input branch name.
branch | Name of input branch (MCPoint array) |
Definition at line 84 of file CbmDigitizeInfo.h.
References fBranch.
|
inline |
Set digitizer instance.
digitizer | Pointer to digitizer instance |
Definition at line 90 of file CbmDigitizeInfo.h.
References fDigitizer.
|
inline |
Set persistence flag.
choice | If kTRUE, the output data (digis) will be persistent. |
Definition at line 96 of file CbmDigitizeInfo.h.
References fPersistent.
|
inline |
Set data presence flag.
choice | kTRUE if the input data branch is present in the tree |
Definition at line 102 of file CbmDigitizeInfo.h.
References fPresent.
std::string CbmDigitizeInfo::ToString | ( | ) | const |
|
private |
Definition at line 114 of file CbmDigitizeInfo.h.
Referenced by IsActive(), SetActive(), and ToString().
|
private |
Definition at line 111 of file CbmDigitizeInfo.h.
Referenced by GetBranchName(), SetBranchName(), and ToString().
|
private |
Definition at line 112 of file CbmDigitizeInfo.h.
Referenced by GetDigitizer(), and SetDigitizer().
|
private |
Definition at line 115 of file CbmDigitizeInfo.h.
Referenced by SetPersistent().
|
private |
Definition at line 113 of file CbmDigitizeInfo.h.
Referenced by IsPresent(), SetPresent(), and ToString().
|
private |
Definition at line 110 of file CbmDigitizeInfo.h.
Referenced by ToString().