2 #ifndef ALIMCEVENTHANDLER_H 3 #define ALIMCEVENTHANDLER_H 50 virtual Bool_t
Init(Option_t* opt);
52 virtual Bool_t
InitIO(Option_t* opt) {
return Init(opt);};
53 virtual Bool_t
Init(TTree* , Option_t* ) {
return kTRUE;}
TFile * fFileTR
File with TreeK.
virtual void SetPreReadMode(PreReadMode_t mode)
virtual void SetReadTR(Bool_t flag)
AliVEvent * GetEvent() const
TTree * fTreeE
File with TreeTR.
Bool_t IsParticleSelected(Int_t i)
Int_t fFileNumber
File name extension.
TTree * fTreeK
TreeE (Event Headers)
TExMap fParticleSelected
Directory for TR Tree.
virtual Bool_t FinishEvent()
virtual void SetOutputFileName(const char *)
TString * fPathName
Current event.
virtual void SetCacheSize(Long64_t size)
TList * fSubsidiaryHandlers
void DrawCheck(Int_t i, Int_t search=0)
virtual Bool_t GetEntry()
virtual Bool_t LoadEvent(Int_t iev)
TExMap fLabelMap
List of selected MC particles for t.
virtual Bool_t BeginEvent(Long64_t entry)
Int_t fEventsPerFile
Input file number.
Int_t fNEvent
Stores the Map of MC (ESDLabel,AODlabel)
virtual Bool_t Init(TTree *, Option_t *)
TDirectoryFile * fDirTR
Directory for Kine Tree.
const Char_t * fkExtension
Input file path.
virtual ~AliMCEventHandler()
TTreeCache * fCacheTR
Cache for kinematics tree.
Int_t fEvent
Number of events.
virtual Bool_t Init(Option_t *opt)
void SelectParticle(Int_t i)
Int_t fEventsInContainer
List of subsidiary MC handlers (for example for Background)
TTree * fTreeTR
TreeK (kinematics tree)
PreReadMode_t fPreReadMode
Number of events in container class.
Int_t GetNewLabel(Int_t i)
virtual Bool_t InitIO(Option_t *opt)
AliMCEvent * MCEvent() const
AliMCEventHandler & operator=(const AliMCEventHandler &handler)
TFile * fFileK
File with TreeE.
Int_t GetParticleAndTR(Int_t i, TParticle *&particle, TClonesArray *&trefs)
virtual void AddSubsidiaryHandler(AliMCEventHandler *handler)
virtual Bool_t TerminateIO()
virtual void SetInputPath(const char *fname)
Bool_t fReadTR
Number of events per file.
virtual TTree * GetTree() const
virtual void SetNumberOfEventsInContainer(Int_t nev)
void VerifySelectedParticles()
TDirectoryFile * fDirK
TreeTR (track references tree)
virtual Bool_t Terminate()
virtual const char * GetOutputFileName() const
virtual TString * GetInputPath() const
virtual void SetInputTree(TTree *)