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