public:
AliMCAnalysisUtils() ; // ctor
virtual ~AliMCAnalysisUtils() ;//virtual dtor
- private:
- AliMCAnalysisUtils & operator = (const AliMCAnalysisUtils & ) ;//cpy assignment
- AliMCAnalysisUtils(const AliMCAnalysisUtils & mcu) ; // cpy ctor
-
- public:
-
+
//--------------------------------------
//Enum with tag for origin of particles
//--------------------------------------
//come from pi0 decay)
//then charged particles on line 3,
//followed by other and unknown on line 4
- enum mcTypes { kMCPhoton, kMCPrompt, kMCFragmentation, kMCISR, kMCPi0Decay, kMCEtaDecay, kMCOtherDecay, kMCConversion,
- kMCElectron, kMCEFromCFromB, kMCEFromC, kMCEFromB, kMCZDecay, kMCWDecay,
- kMCMuon, kMCPion, kMCPi0, kMCKaon, kMCEta, kMCProton, kMCAntiProton, kMCNeutron, kMCAntiNeutron,
- kMCOther, kMCUnknown, kMCBadLabel } ;
+ enum mcTypes { kMCPhoton, kMCPrompt, kMCFragmentation, kMCISR,
+ kMCPi0Decay, kMCEtaDecay, kMCOtherDecay, kMCConversion,
+ kMCElectron, kMCEFromCFromB, kMCEFromC, kMCEFromB, kMCZDecay, kMCWDecay,
+ kMCMuon, kMCPion, kMCPi0, kMCKaon, kMCEta, kMCProton,
+ kMCAntiProton, kMCNeutron, kMCAntiNeutron,
+ kMCOther, kMCUnknown, kMCBadLabel } ;
//--------------------------------------
// Methods to check origin of clusters
//--------------------------------------
- Int_t CheckCommonAncestor(const Int_t index1, const Int_t index2, AliCaloTrackReader* reader,
+ Int_t CheckCommonAncestor(const Int_t index1, const Int_t index2, const AliCaloTrackReader* reader,
Int_t & ancPDG, Int_t & ancStatus, TLorentzVector & momentum, TVector3 & v) ;
- Int_t CheckOrigin(const Int_t label, AliCaloTrackReader * reader, const Int_t input) ;
+ Int_t CheckOrigin(const Int_t label, const AliCaloTrackReader * reader, const Int_t input) ;
//Check the label of the most significant particle but do checks on the rest of the contributing labels
- Int_t CheckOrigin(const Int_t *label, const Int_t nlabels, AliCaloTrackReader * reader, const Int_t input) ;
+ Int_t CheckOrigin(const Int_t *label, const Int_t nlabels, const AliCaloTrackReader * reader, const Int_t input) ;
Int_t CheckOriginInStack(const Int_t *labels, const Int_t nlabels, AliStack * stack) ;
- Int_t CheckOriginInAOD (const Int_t *labels, const Int_t nlabels, TClonesArray* mcparticles) ;
+ Int_t CheckOriginInAOD (const Int_t *labels, const Int_t nlabels, const TClonesArray* mcparticles) ;
void CheckOverlapped2GammaDecay(const Int_t *labels, const Int_t nlabels, const Int_t mesonIndex, AliStack * stack, Int_t & tag);
- void CheckOverlapped2GammaDecay(const Int_t *labels, const Int_t nlabels, const Int_t mesonIndex, TClonesArray* mcparticles, Int_t & tag);
+ void CheckOverlapped2GammaDecay(const Int_t *labels, const Int_t nlabels, const Int_t mesonIndex, const TClonesArray* mcparticles, Int_t & tag);
//Check or set the bits produced in the above methods
void SetTagBit(Int_t &tag, const UInt_t set) const {
//--------------------------------------
// Method to recover MC jets stored in generator
- TList * GetJets(AliCaloTrackReader * const reader) ;
+ TList * GetJets(const AliCaloTrackReader * reader) ;
void SetDebug(Int_t deb) { fDebug=deb ; }
Int_t GetDebug() const { return fDebug ; }
TList * fJetsList; // List of jets
TString fMCGenerator; // MC geneator used to generate data in simulation
+ AliMCAnalysisUtils & operator = (const AliMCAnalysisUtils & ) ; // cpy assignment
+ AliMCAnalysisUtils(const AliMCAnalysisUtils & mcu) ; // cpy ctor
+
ClassDef(AliMCAnalysisUtils,3)
} ;