3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5 /* $Id: AliAnaPhoton.h 27413 2008-07-18 13:28:12Z gconesab $ */
7 //_________________________________________________________________________
9 // Class for the photon identification.
10 // Clusters from calorimeters are identified as photons
11 // and kept in the AOD. Few histograms produced.
14 //-- Author: Gustavo Conesa (INFN-LNF)
16 // --- ROOT system ---
20 // --- ANALYSIS system ---
21 #include "AliAnaPartCorrBaseClass.h"
25 class AliAnaPhoton : public AliAnaPartCorrBaseClass {
29 AliAnaPhoton() ; // default ctor
30 AliAnaPhoton(const AliAnaPhoton & g) ; // cpy ctor
31 AliAnaPhoton & operator = (const AliAnaPhoton & g) ;//cpy assignment
32 virtual ~AliAnaPhoton() ; //virtual dtor
34 TList * GetCreateOutputObjects();
36 void MakeAnalysisFillAOD() ;
38 void MakeAnalysisFillHistograms() ;
40 void Print(const Option_t * opt)const;
42 TString GetCalorimeter() const {return fCalorimeter ; }
43 void SetCalorimeter(TString det) {fCalorimeter = det ; }
45 void InitParameters();
47 void SetMinDistanceToBadChannel(Float_t m1, Float_t m2, Float_t m3) {
55 TString fCalorimeter ; // Calorimeter where the gamma is searched;
56 Float_t fMinDist ; // Minimal distance to bad channel to accept cluster
57 Float_t fMinDist2; // Cuts on Minimal distance to study acceptance evaluation
58 Float_t fMinDist3; // One more cut on distance used for acceptance-efficiency study
61 TH1F * fhPtPhoton ; //! Number of identified photon vs transerse momentum
62 TH2F * fhPhiPhoton ; //! Azimuthal angle of identified photon vs transerse momentum
63 TH2F * fhEtaPhoton ; //! Pseudorapidity of identified photon vs transerse momentum
66 TH1F * fhPtPrompt; //! Number of identified prompt gamma
67 TH2F * fhPhiPrompt; //! Phi of identified prompt gamma
68 TH2F * fhEtaPrompt; //! eta of identified prompt gamma
70 TH1F * fhPtFragmentation; //! Number of identified fragmentation gamma
71 TH2F * fhPhiFragmentation; //! Phi of identified fragmentation gamma
72 TH2F * fhEtaFragmentation; //! eta of identified fragmentation gamma
74 TH1F * fhPtPi0Decay; //! Number of identified Pi0Decay gamma
75 TH2F * fhPhiPi0Decay; //! Phi of identified Pi0Decay gamma
76 TH2F * fhEtaPi0Decay; //! eta of identified Pi0Decay gamma
78 TH1F * fhPtOtherDecay; //! Number of identified OtherDecay gamma
79 TH2F * fhPhiOtherDecay; //! Phi of identified OtherDecay gamma
80 TH2F * fhEtaOtherDecay; //! eta of identified OtherDecay gamma
82 TH1F * fhPtConversion; //! Number of identified Conversion gamma
83 TH2F * fhPhiConversion; //! Phi of identified Conversion gamma
84 TH2F * fhEtaConversion; //! eta of identified Conversion gamma
86 TH1F * fhPtUnknown; //! Number of identified Unknown gamma
87 TH2F * fhPhiUnknown; //! Phi of identified Unknown gamma
88 TH2F * fhEtaUnknown; //! eta of identified Unknown gamma
90 ClassDef(AliAnaPhoton,1)
94 #endif//ALIANAPHOTON_H