10#ifndef CBMMCDATAMANAGER_H
11#define CBMMCDATAMANAGER_H 1
16#include <RtypesCore.h>
55 Int_t
AddFile(
const char* fileName);
71 virtual void Exec(Option_t* ) {};
79 virtual InitStatus
Init();
Access to a MC data branch for time-based analysis.
Task class creating and managing CbmMCDataArray objects.
std::vector< std::list< TString > > fFileList
std::map< TString, CbmMCDataArray * > fActive
Array of filename chains.
virtual void FinishEvent()
Int_t AddFileToChain(const char *fileName, Int_t chainNumber)
virtual InitStatus Init()
std::map< TString, CbmMCDataObject * > fActiveObj
ClassDef(CbmMCDataManager, 1)
Int_t fLegacy
If true, use FairRootManager in event-by-event mode.
std::map< Int_t, Int_t > fFriends
void AddFriend(Int_t chainNum1, Int_t chainNum2)
CbmMCDataObject * GetObject(const char *name)
CbmMCDataArray * InitBranch(const char *name)
Int_t AddFile(const char *fileName)
virtual void Exec(Option_t *)
Access to a MC data branch for time-based analysis.