Go to the documentation of this file.
5 #ifndef CBMMCDATAOBJECT_H
6 #define CBMMCDATAOBJECT_H
9 #include <RtypesCore.h>
84 const std::vector<std::list<TString>>& fileList);
107 void AddFriend(Int_t chainNum1, Int_t chainNum2);
124 std::vector<TObject*>
126 std::vector<Long64_t>
fN;
131 std::vector<std::map<Int_t, TObject*>>
fArrays;
CbmMCDataObject & operator=(const CbmMCDataObject &)
ClassDef(CbmMCDataObject, 1)
void AddFriend(Int_t chainNum1, Int_t chainNum2)
std::vector< TChain * > fChains
Number of input file lists (one per source)
TObject * LegacyGet(Int_t fileNumber, Int_t eventNumber)
Int_t fSize
Name of the data branch.
TObject * fLegacyObject
If true, run in legacy mode.
CbmMCDataObject(const CbmMCDataObject &)
TString fBranchName
Pointer to TObject for legacy mode.
Task class creating and managing CbmMCDataArray objects.
std::vector< TObject * > fTArr
Arrays of chains (one per input source)
virtual ~CbmMCDataObject()
Access to a MC data branch for time-based analysis.
std::vector< std::map< Int_t, TObject * > > fArrays
Number of entries in chains.
TObject * Get(const CbmLink *lnk)
TObject * Get(const CbmLink &lnk)
std::vector< Long64_t > fN
Data objects from chains (one per input source)