1 #ifndef ALIANAGAMMASELECTION_H
2 #define ALIANAGAMMASELECTION_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
7 /* History of cvs commits:
14 //_________________________________________________________________________
15 // Class for plotting particle/cluster/track distributions without cuts
16 // and select clusters/tracks/particles needed in the analysis
17 // depending on PID criteria or other.
20 //*-- Author: Gustavo Conesa (INFN-LNF)
22 // --- ROOT system ---
23 #include <TParticle.h>
24 #include <TClonesArray.h>
32 class AliAnaGammaSelection : public TObject {
36 AliAnaGammaSelection() ; // default ctor
37 AliAnaGammaSelection(const AliAnaGammaSelection & g) ; // cpy ctor
38 AliAnaGammaSelection & operator = (const AliAnaGammaSelection & g) ;//cpy assignment
39 virtual ~AliAnaGammaSelection() ; //virtual dtor
41 enum Det {kEMCAL, kPHOS, kCTS};
43 void InitParameters();
45 Bool_t IsMC() const {return fAnaMC ; };
46 Bool_t FillCTS() const {return fFillCTS ;};
48 TList * GetCreateOutputObjects();
49 void Selection(TString det, TClonesArray * pl, TClonesArray * plPrim) const;
51 void Print(const Option_t * opt)const;
53 void SetFillCTS(Bool_t f) {fFillCTS = f;}
54 void SetMC() {fAnaMC = kTRUE ; }
58 Bool_t fAnaMC ; //Set in case of using MCData reader
59 Bool_t fFillCTS ; //Keep CTS info in fntCTS
62 TNtuple * fntEMCAL ; //ntuple of EMCAL particles before selection.
63 TNtuple * fntPHOS ; //ntuple of PHOS particles before selection.
64 TNtuple * fntCTS ; //ntuple of CTS particles before selection.
66 ClassDef(AliAnaGammaSelection,1)
70 #endif //ALIANAGAMMASELECTION_H