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();
38 void MakeAnalysisFillAOD() ;
40 void MakeAnalysisFillHistograms() ;
42 void Print(const Option_t * opt)const;
44 TString GetCalorimeter() const {return fCalorimeter ; }
45 void SetCalorimeter(TString det) {fCalorimeter = det ; }
47 void InitParameters();
49 void SetMinDistanceToBadChannel(Float_t m1, Float_t m2, Float_t m3) {
57 TString fCalorimeter ; // Calorimeter where the gamma is searched;
58 Float_t fMinDist ; // Minimal distance to bad channel to accept cluster
59 Float_t fMinDist2; // Cuts on Minimal distance to study acceptance evaluation
60 Float_t fMinDist3; // One more cut on distance used for acceptance-efficiency study
63 TH1F * fhPtPhoton ; //! Number of identified photon vs transerse momentum
64 TH2F * fhPhiPhoton ; //! Azimuthal angle of identified photon vs transerse momentum
65 TH2F * fhEtaPhoton ; //! Pseudorapidity of identified photon vs transerse momentum
68 TH1F * fhPtPrompt; //! Number of identified prompt gamma
69 TH2F * fhPhiPrompt; //! Phi of identified prompt gamma
70 TH2F * fhEtaPrompt; //! eta of identified prompt gamma
72 TH1F * fhPtFragmentation; //! Number of identified fragmentation gamma
73 TH2F * fhPhiFragmentation; //! Phi of identified fragmentation gamma
74 TH2F * fhEtaFragmentation; //! eta of identified fragmentation gamma
76 TH1F * fhPtISR; //! Number of identified initial state radiation gamma
77 TH2F * fhPhiISR; //! Phi of identified initial state radiation gamma
78 TH2F * fhEtaISR; //! eta of identified initial state radiation gamma
80 TH1F * fhPtPi0Decay; //! Number of identified Pi0Decay gamma
81 TH2F * fhPhiPi0Decay; //! Phi of identified Pi0Decay gamma
82 TH2F * fhEtaPi0Decay; //! eta of identified Pi0Decay gamma
84 TH1F * fhPtOtherDecay; //! Number of identified OtherDecay gamma
85 TH2F * fhPhiOtherDecay; //! Phi of identified OtherDecay gamma
86 TH2F * fhEtaOtherDecay; //! eta of identified OtherDecay gamma
88 TH1F * fhPtConversion; //! Number of identified Conversion gamma
89 TH2F * fhPhiConversion; //! Phi of identified Conversion gamma
90 TH2F * fhEtaConversion; //! eta of identified Conversion gamma
92 TH1F * fhPtUnknown; //! Number of identified Unknown gamma
93 TH2F * fhPhiUnknown; //! Phi of identified Unknown gamma
94 TH2F * fhEtaUnknown; //! eta of identified Unknown gamma
96 ClassDef(AliAnaPhoton,2)
101 #endif//ALIANAPHOTON_H