Go to the documentation of this file.
6 #ifndef CBMDIGIBRANCHBASE_H
7 #define CBMDIGIBRANCHBASE_H 1
9 #include <RtypesCore.h>
12 #include <boost/any.hpp>
50 virtual boost::any
GetDigi(UInt_t index) = 0;
75 virtual std::string
ToString()
const {
return ""; }
virtual Bool_t HasMatches()=0
Presence of match 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 GetDigi(UInt_t index)=0
Get a digi from the branch.
virtual Bool_t ConnectToTree()=0
Connect the branch to the ROOT tree.
TString GetName() const
Name of branch.
virtual const CbmMatch * GetDigiMatch(UInt_t index)=0
Get a digi from the branch.
CbmDigiBranchBase(const char *name="unknown")
Constructor.
TString fName
Branch name.
Abstract base class for CBM digi branches.
virtual ~CbmDigiBranchBase()
Destructor.