#ifndef ALIGENINFOMAKER_H #define ALIGENINFOMAKER_H /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ ////////////////////////////////////////////////////////////////////////////// // Class AliGenInfoMaker // // collect together MC info for comparison purposes - effieciency studies and so on// // // marian.ivanov@cern.ch // ////////////////////////////////////////////////////////////////////////////// #include #include "AliAnalysisTask.h" #include "AliTrackReference.h" class TFile; class AliRunLoader; class AliStack; class AliTPCParam; class AliMCEventHandler; class AliMCInfo; //////////////////////////////////////////////////////////////////////// // // Start of implementation of the class AliGenInfoMaker // //////////////////////////////////////////////////////////////////////// class AliGenInfoMaker : public TObject { public: AliGenInfoMaker(); virtual ~AliGenInfoMaker(); // // AliGenInfoMaker(const char * fnGalice, const char* fnRes, Int_t nEvents=1, Int_t firstEvent=0); //event by event function - used in the analysis task Int_t ProcessEvent(AliMCEventHandler* mcinfo); Int_t ProcessEvent(); // process event Int_t TreeKLoop(); // process kinamatics Int_t TreeTRLoop(); // process track refereces Int_t TreeDLoop(); // process digits tree Int_t BuildKinkInfo(); // build information about MC kinks Int_t BuildV0Info(); // build information about MC kinks // // Int_t Exec(); void CreateTreeGenTracks(); void CloseOutputFile(); void SetFirstEventNr(Int_t i) {fFirstEventNr = i;} void SetNEvents(Int_t i) {fNEvents = i;} void SetDebug(Int_t level) {fDebug = level;} Int_t SetIO(Int_t eventNr); Int_t CloseIOEvent(); Int_t CloseIO(); Int_t SetIO(); protected: AliGenInfoMaker(const AliGenInfoMaker& /*info*/); AliGenInfoMaker& operator=(const AliGenInfoMaker& /*info*/) { return *this;} AliMCInfo * MakeInfo(UInt_t i); AliMCInfo * GetInfo(UInt_t i) const {return (i