16 #ifndef __FAIRROOT__FairFileSource__
17 #define __FAIRROOT__FairFileSource__
39 FairFileSource(TFile* f,
const char* Title =
"InputRootFile", UInt_t identifier = 0);
40 FairFileSource(
const TString* RootFileName,
const char* Title =
"InputRootFile", UInt_t identifier = 0);
41 FairFileSource(
const TString RootFileName,
const char* Title =
"InputRootFile", UInt_t identifier = 0);
97 void SetBeamTime(Double_t beamTime, Double_t gapTime);
130 Int_t fCurrentEntryNr;
132 std::list<TString> fFriendFileList;
133 std::list<TString> fInputChainList;
134 std::map<TString, TChain*> fFriendTypeList;
135 std::map<TString, std::list<TString>*> fCheckInputBranches;
136 std::list<TString> fInputLevel;
137 std::map<TString, std::multimap<TString, TArrayI>> fRunIdInfoAll;
143 TObjArray* fListFolder;
151 UInt_t fSourceIdentifier;
155 Bool_t IsInitialized;
170 Bool_t fEventTimeInMCHeader;
175 Bool_t fEvtHeaderIsNew;
178 UInt_t fCurrentEntryNo;
180 UInt_t fTimeforEntryNo;
183 Double_t fEventTimeMin;
185 Double_t fEventTimeMax;
193 Double_t fEventMeanTime;
199 Bool_t fCheckFileLayout;
virtual Source_Type GetSourceType()
void SetBeamTime(Double_t beamTime, Double_t gapTime)
void AddFile(TString FileName)
virtual Int_t CheckMaxEventNo(Int_t EvtEnd=0)
list of container factories
void SetInTree(TTree *tempTree)
TFolder * GetBranchDescriptionFolder()
Int_t ReadEvent(UInt_t i=0)
virtual void SetParUnpackers()
virtual void FillEventHeader(FairEventHeader *feh)
virtual Bool_t ActivateObjectAny(void **, const std::type_info &, const char *)
void SetFileHeader(FairFileHeader *f)
void SetInputFile(TString name)
virtual Bool_t InitUnpackers()
virtual Bool_t ActivateObject(TObject **obj, const char *BrName)
virtual void ReadBranchEvent(const char *BrName)
FairFileSource(TFile *f, const char *Title="InputRootFile", UInt_t identifier=0)
TObjArray * GetListOfFolders()
void SetCheckFileLayout(Bool_t enable)
virtual ~FairFileSource()
Double_t GetDeltaEventTime()
void CreateNewFriendChain(TString inputFile, TString inputLevel)
void AddFriend(TString FileName)
Bool_t CompareBranchList(TFile *fileHandle, TString inputLevel)
void SetEvtHeaderNew(Bool_t Status)
virtual Bool_t ReInitUnpackers()
void SetEventMeanTime(Double_t mean)
void SetEventTimeInterval(Double_t min, Double_t max)
const TFile * GetRootFile()