CbmRoot
|
Abstract base class for CBM digi branches. More...
#include <CbmDigiBranchBase.h>
Public Member Functions | |
CbmDigiBranchBase (const char *name="unknown") | |
Constructor. | |
virtual | ~CbmDigiBranchBase () |
Destructor. | |
virtual bool | ConnectToTree ()=0 |
Connect the branch to the ROOT tree. | |
virtual boost::any | GetDigi (uint32_t index)=0 |
Get a digi from the branch. | |
virtual const CbmMatch * | GetDigiMatch (uint32_t index)=0 |
Get a digi from the branch. | |
virtual bool | HasMatches ()=0 |
Presence of match branch. | |
TString | GetName () const |
Name of branch. | |
virtual std::size_t | GetNofDigis () const =0 |
Get the number of digis in the branch. | |
virtual std::string | ToString () const |
String output. | |
virtual boost::any | GetBranchContainer () const |
Get branch pointer. | |
Protected Attributes | |
TString | fName |
Branch name. | |
Abstract base class for CBM digi branches.
Abstract interface to branches holding digi objects.
Definition at line 29 of file CbmDigiBranchBase.h.
|
inline |
Constructor.
system | System identifier (ECbmModuleId) |
name | Branch name |
Definition at line 36 of file CbmDigiBranchBase.h.
|
inlinevirtual |
Destructor.
Definition at line 40 of file CbmDigiBranchBase.h.
|
pure virtual |
Connect the branch to the ROOT tree.
ioMan | Pointer to FairRootManager singleton instance |
Implemented in CbmDigiBranch< Digi >.
Referenced by CbmDigiManager::SetBranch().
|
inlinevirtual |
Get branch pointer.
Reimplemented in CbmDigiBranch< Digi >.
Definition at line 82 of file CbmDigiBranchBase.h.
Referenced by CbmTaskBuildEvents::FillTimeSlice(), and CbmTaskTriggerDigi::GetDigiTimes().
|
pure virtual |
Get a digi from the branch.
index | Index of digi in branch |
Implemented in CbmDigiBranch< Digi >.
|
pure virtual |
Get a digi from the branch.
index | Index of digi in branch |
Implemented in CbmDigiBranch< Digi >.
|
inline |
|
pure virtual |
Get the number of digis in the branch.
Implemented in CbmDigiBranch< Digi >.
|
pure virtual |
Presence of match branch.
Implemented in CbmDigiBranch< Digi >.
|
inlinevirtual |
String output.
Reimplemented in CbmDigiBranch< Digi >.
Definition at line 79 of file CbmDigiBranchBase.h.
|
protected |
Branch name.
Definition at line 85 of file CbmDigiBranchBase.h.
Referenced by CbmDigiBranch< Digi >::ConnectToTree(), GetName(), and CbmDigiBranch< Digi >::ToString().