]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG4/PartCorrDep/AliAnaPhoton.h
1)AliAODParticleCorrelation.h: Data member fIsolation changed from float to bool
[u/mrichter/AliRoot.git] / PWG4 / PartCorrDep / AliAnaPhoton.h
CommitLineData
1c5acb87 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 ---
17class TH2F ;
18class TString ;
19
20// --- ANALYSIS system ---
21#include "AliAnaPartCorrBaseClass.h"
22
23class TList ;
24
25class AliAnaPhoton : public AliAnaPartCorrBaseClass {
26
27public:
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
6639984f 36 void Init();
37
1c5acb87 38 void MakeAnalysisFillAOD() ;
39
40 void MakeAnalysisFillHistograms() ;
41
42 void Print(const Option_t * opt)const;
43
44 TString GetCalorimeter() const {return fCalorimeter ; }
45 void SetCalorimeter(TString det) {fCalorimeter = det ; }
46
47 void InitParameters();
48
49 void SetMinDistanceToBadChannel(Float_t m1, Float_t m2, Float_t m3) {
50 fMinDist = m1;
51 fMinDist2 = m2;
52 fMinDist3 = m3;
53 }
54
55 private:
56
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
61
62 //Histograms
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
66
67 //MC
68 TH1F * fhPtPrompt; //! Number of identified prompt gamma
69 TH2F * fhPhiPrompt; //! Phi of identified prompt gamma
70 TH2F * fhEtaPrompt; //! eta of identified prompt gamma
71
72 TH1F * fhPtFragmentation; //! Number of identified fragmentation gamma
73 TH2F * fhPhiFragmentation; //! Phi of identified fragmentation gamma
74 TH2F * fhEtaFragmentation; //! eta of identified fragmentation gamma
75
6639984f 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
79
1c5acb87 80 TH1F * fhPtPi0Decay; //! Number of identified Pi0Decay gamma
81 TH2F * fhPhiPi0Decay; //! Phi of identified Pi0Decay gamma
82 TH2F * fhEtaPi0Decay; //! eta of identified Pi0Decay gamma
83
84 TH1F * fhPtOtherDecay; //! Number of identified OtherDecay gamma
85 TH2F * fhPhiOtherDecay; //! Phi of identified OtherDecay gamma
86 TH2F * fhEtaOtherDecay; //! eta of identified OtherDecay gamma
87
88 TH1F * fhPtConversion; //! Number of identified Conversion gamma
89 TH2F * fhPhiConversion; //! Phi of identified Conversion gamma
90 TH2F * fhEtaConversion; //! eta of identified Conversion gamma
91
92 TH1F * fhPtUnknown; //! Number of identified Unknown gamma
93 TH2F * fhPhiUnknown; //! Phi of identified Unknown gamma
94 TH2F * fhEtaUnknown; //! eta of identified Unknown gamma
95
6639984f 96 ClassDef(AliAnaPhoton,2)
97
1c5acb87 98} ;
99
100
101#endif//ALIANAPHOTON_H
102
103
104