]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG4/PartCorrDep/AliAnaPhoton.h
Including appropriate header
[u/mrichter/AliRoot.git] / PWG4 / PartCorrDep / AliAnaPhoton.h
1 #ifndef ALIANAPHOTON_H
2 #define ALIANAPHOTON_H
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 $ */
6
7 //_________________________________________________________________________
8 //
9 // Class for the photon identification.
10 // Clusters from calorimeters are identified as photons
11 // and kept in the AOD. Few histograms produced.
12 //
13
14 //-- Author: Gustavo Conesa (INFN-LNF)
15
16 // --- ROOT system ---
17 class TH2F ;
18 class TString ;
19
20 // --- ANALYSIS system ---
21 #include "AliAnaPartCorrBaseClass.h"
22
23 class TList ;
24
25 class AliAnaPhoton : public AliAnaPartCorrBaseClass {
26
27 public: 
28
29   AliAnaPhoton() ; // default ctor
30   AliAnaPhoton(const AliAnaPhoton & g) ; // cpy ctor
31   AliAnaPhoton & operator = (const AliAnaPhoton & g) ;//cpy assignment
32   virtual ~AliAnaPhoton() ; //virtual dtor
33   
34   TList *  GetCreateOutputObjects();
35
36   void MakeAnalysisFillAOD()  ;
37   
38   void MakeAnalysisFillHistograms() ; 
39   
40   void Print(const Option_t * opt)const;
41   
42   TString GetCalorimeter()   const {return fCalorimeter ; }
43   void SetCalorimeter(TString det)    {fCalorimeter = det ; }
44
45   void InitParameters();
46  
47   void SetMinDistanceToBadChannel(Float_t m1, Float_t m2, Float_t m3) {
48     fMinDist = m1;
49     fMinDist2 = m2;
50     fMinDist3 = m3;
51   }
52  
53   private:
54  
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
59   
60   //Histograms  
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 
64                 
65   //MC
66   TH1F * fhPtPrompt;   //! Number of identified prompt gamma 
67   TH2F * fhPhiPrompt;  //! Phi of identified  prompt gamma
68   TH2F * fhEtaPrompt;  //! eta of identified  prompt gamma
69
70   TH1F * fhPtFragmentation;   //! Number of identified fragmentation gamma 
71   TH2F * fhPhiFragmentation;  //! Phi of identified  fragmentation gamma
72   TH2F * fhEtaFragmentation;  //! eta of identified  fragmentation gamma
73
74   TH1F * fhPtPi0Decay;   //! Number of identified Pi0Decay gamma 
75   TH2F * fhPhiPi0Decay;  //! Phi of identified  Pi0Decay gamma
76   TH2F * fhEtaPi0Decay;  //! eta of identified  Pi0Decay gamma
77
78   TH1F * fhPtOtherDecay;   //! Number of identified OtherDecay gamma 
79   TH2F * fhPhiOtherDecay;  //! Phi of identified  OtherDecay gamma
80   TH2F * fhEtaOtherDecay;  //! eta of identified  OtherDecay gamma
81
82   TH1F * fhPtConversion;   //! Number of identified Conversion gamma 
83   TH2F * fhPhiConversion;  //! Phi of identified  Conversion gamma
84   TH2F * fhEtaConversion;  //! eta of identified  Conversion gamma
85
86   TH1F * fhPtUnknown;   //! Number of identified Unknown gamma 
87   TH2F * fhPhiUnknown;  //! Phi of identified  Unknown gamma
88   TH2F * fhEtaUnknown;  //! eta of identified  Unknown gamma
89
90   ClassDef(AliAnaPhoton,1)
91 } ;
92  
93
94 #endif//ALIANAPHOTON_H
95
96
97