CbmRoot
|
Abstract base class for CBM digi branches. More...
#include <CbmDigiBranchBase.h>
Public Member Functions | |
CbmDigiBranchBase (const char *name="unknown") | |
Constructor. More... | |
virtual | ~CbmDigiBranchBase () |
Destructor. More... | |
virtual Bool_t | ConnectToTree ()=0 |
Connect the branch to the ROOT tree. More... | |
virtual boost::any | GetDigi (UInt_t index)=0 |
Get a digi from the branch. More... | |
virtual const CbmMatch * | GetDigiMatch (UInt_t index)=0 |
Get a digi from the branch. More... | |
virtual Bool_t | HasMatches ()=0 |
Presence of match branch. More... | |
TString | GetName () const |
Name of branch. More... | |
virtual std::size_t | GetNofDigis () const =0 |
Get the number of digis in the branch. More... | |
virtual std::string | ToString () const |
String output. More... | |
Protected Attributes | |
TString | fName |
Branch name. More... | |
Abstract base class for CBM digi branches.
Abstract interface to branches holding digi objects.
Definition at line 25 of file CbmDigiBranchBase.h.
|
inline |
Constructor.
system | System identifier (ECbmModuleId) |
name | Branch name |
Definition at line 32 of file CbmDigiBranchBase.h.
|
inlinevirtual |
Destructor.
Definition at line 36 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().
|
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 75 of file CbmDigiBranchBase.h.
|
protected |
Branch name.
Definition at line 79 of file CbmDigiBranchBase.h.
Referenced by CbmDigiBranch< Digi >::ConnectToTree(), GetName(), and CbmDigiBranch< Digi >::ToString().