#ifndef ALIMCANALYSISUTILS_H #define ALIMCANALYSISUTILS_H /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ /* $Id: $ */ //_________________________________________________________________________ // Class for analysis utils for MC data // stored in stack or event header. // Contains: // - method to check the origin of a given track/cluster // - method to obtain the generated jets // //*-- Author: Gustavo Conesa (INFN-LNF) // --- ROOT system --- #include class TString ; class TList ; //--- AliRoot system --- class AliStack ; class AliGenEventHeader ; class AliMCAnalysisUtils : public TObject { public: AliMCAnalysisUtils() ; // ctor AliMCAnalysisUtils(const AliMCAnalysisUtils & g) ; // cpy ctor AliMCAnalysisUtils & operator = (const AliMCAnalysisUtils & g) ;//cpy assignment virtual ~AliMCAnalysisUtils() ;//virtual dtor enum mcTypes {kMCPrompt, kMCFragmentation, kMCISR, kMCPi0Decay, kMCEtaDecay, kMCOtherDecay, kMCPi0, kMCEta, kMCElectron, kMCConversion, kMCUnknown}; Int_t CheckOrigin(const Int_t label, AliStack * stack) const ; TList * GetJets(Int_t iEvent, AliStack * stack, AliGenEventHeader * geh) ; void Print(const Option_t * opt)const; void SetDebug(Int_t deb) {fDebug=deb;} Int_t GetDebug() const {return fDebug;} void SetMCGenerator(TString mcgen) {fMCGenerator=mcgen;} TString GetMCGenerator() const {return fMCGenerator;} private: Int_t fCurrentEvent; // Current Event Int_t fDebug; // Debug level TList * fJetsList; // List of jets TString fMCGenerator; // MC geneator used to generate data in simulation ClassDef(AliMCAnalysisUtils,1) } ; #endif //ALIMCANALYSISUTILS_H