Go to the documentation of this file.
6 #ifndef CBMDIGICONTAINER_H
7 #define CBMDIGICONTAINER_H 1
10 #include <RtypesCore.h>
14 #include <boost/any.hpp>
62 virtual boost::any
GetDigi(UInt_t index) = 0;
79 virtual const char*
GetName()
const {
return fName; }
virtual std::string ToString() const
String output.
virtual const CbmMatch * GetDigiMatch(UInt_t index)=0
Get a match object from the container.
CbmDigiContainer(const char *name="")
Constructor.
Abstract container for digis in CBM.
virtual Bool_t ConnectToTree()
Connect the container to ROOT tree branch.
virtual ULong64_t GetNofDigis() const =0
Get the number of digis in the container.
ClassDef(CbmDigiContainer, 1)
virtual void AddDigi(boost::any, const CbmMatch *)
virtual Bool_t HasMatches() const =0
Presence of match branch.
virtual boost::any GetDigi(UInt_t index)=0
Get a digi from the container.
virtual ~CbmDigiContainer()
Destructor.
virtual const char * GetName() const
Name of container.