Go to the documentation of this file.
19 : fEventId(eventId), fHasMatches(hasMatches) {
38 for (
auto system :
fDigis) {
49 for (
auto system :
fDigis) {
60 return (nDigis > 0 ? kFALSE : kTRUE);
79 for (
auto system :
fDigis) {
82 for (UInt_t index = 0; index < digis->GetNofDigis(); index++) {
83 const CbmMatch* match = digis->GetDigiMatch(index);
85 for (Int_t iLink = 0; iLink < match->
GetNofLinks(); iLink++) {
113 std::stringstream ss;
119 for (
auto system :
fDigis) {
126 << vec->GetNofDigis() <<
" ";
UInt_t fEventId
Event identifier.
Storable event class for CBM.
const CbmLink & GetLink(Int_t i) const
Int_t GetNofLinks() const
Abstract container for digis in CBM.
virtual ULong64_t GetNofDigis() const =0
Get the number of digis in the container.
Bool_t IsEmpty() const
Indicate whether event contains no digis.
void MatchToMC(CbmMatch &result) const
Match to MC event.
CbmEventStore(UInt_t eventId=0, Bool_t hasMatches=kFALSE)
Default constructor.
std::map< ECbmModuleId, TObject * > fDigis
Map of CbmDigiVector.
static TString GetModuleNameCaps(ECbmModuleId moduleId)
UInt_t GetNofDigis(ECbmModuleId system) const
Number of digis for a given system.
void AddLink(const CbmLink &newLink)
@ kNofSystems
For loops over active systems.
ClassImp(CbmConverterManager) InitStatus CbmConverterManager
Bool_t fHasMatches
Presence of matches to MC.
std::string ToString() const
virtual ~CbmEventStore()
Destructor.
Float_t GetWeight() const