]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG4/PartCorrDep/AliAnaPi0EbE.h
Set the analysis parameters/cuts used in a folder in the output file, in TObjString...
[u/mrichter/AliRoot.git] / PWG4 / PartCorrDep / AliAnaPi0EbE.h
CommitLineData
477d6cee 1#ifndef ALIANAPI0EBE_H
2#define ALIANAPI0EBE_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5/* $Id: AliAnaPi0EbE.h 27413 2008-07-18 13:28:12Z gconesab $ */
6
7//_________________________________________________________________________
8//
9// Class for the analysis of high pT pi0 event by event
10// Pi0 identified by one of the following:
11// -Invariant mass of 2 cluster in calorimeter
12// -Shower shape analysis in calorimeter
13// -Invariant mass of one cluster in calorimeter and one photon reconstructed in TPC (in near future)
14//
15//-- Author: Gustavo Conesa (INFN-LNF) & Raphaelle Ichou (SUBATECH)
16//_________________________________________________________________________
17
18
19// --- ROOT system ---
20class TH2F ;
21class TList ;
0c1383b5 22class TObjString;
477d6cee 23
24// --- ANALYSIS system ---
25#include "AliAnaPartCorrBaseClass.h"
477d6cee 26
27class AliAnaPi0EbE : public AliAnaPartCorrBaseClass {
28
29 public:
477d6cee 30 AliAnaPi0EbE() ; // default ctor
78219bac 31 virtual ~AliAnaPi0EbE() ; //virtual dtor
32 private:
477d6cee 33 AliAnaPi0EbE(const AliAnaPi0EbE & g) ; // cpy ctor
34 AliAnaPi0EbE & operator = (const AliAnaPi0EbE & g) ;//cpy assignment
78219bac 35
36 public:
37
477d6cee 38 enum anaTypes {kIMCalo, kSSCalo, kIMCaloTracks};
0c1383b5 39
40 TObjString * GetAnalysisCuts();
41 TList * GetCreateOutputObjects();
477d6cee 42
43 void Init();
44 void InitParameters();
45
46 void MakeAnalysisFillAOD() ;
47 void MakeAnalysisFillHistograms() ;
48
49 void MakeInvMassInCalorimeter() ;
50 void MakeInvMassInCalorimeterAndCTS() ;
51 void MakeShowerShapeIdentification() ;
52
53 void Print(const Option_t * opt)const;
54
55 anaTypes GetAnalysisType() const {return fAnaType ; }
56 void SetAnalysisType(anaTypes ana) {fAnaType = ana ; }
57
58 TString GetInputAODGammaConvName() const {return fInputAODGammaConvName ; }
59 void SetInputAODGammaConvName(TString name) {fInputAODGammaConvName = name ; }
60
61 //Only for pi0 SS identification case
62 void SetCalorimeter(TString det) {fCalorimeter = det ; }
63
64 void SetMinDistanceToBadChannel(Float_t m1, Float_t m2, Float_t m3) {
65 fMinDist = m1;
66 fMinDist2 = m2;
67 fMinDist3 = m3;
68 }
69
70 private:
71
72 anaTypes fAnaType; //Select analysis type
73
74 //Only for pi0 SS identification case, kSSCalo
75 TString fCalorimeter ; // Calorimeter where the gamma is searched;
76 Float_t fMinDist ; // Minimal distance to bad channel to accept cluster
77 Float_t fMinDist2; // Cuts on Minimal distance to study acceptance evaluation
78 Float_t fMinDist3; // One more cut on distance used for acceptance-efficiency study
79
80 //Only for combination of calorimeter and conversion photons, kIMCaloTracks
81 TClonesArray * fInputAODGammaConv; //AOD array with conversion photons reconstructed in CTS
82 TString fInputAODGammaConvName; //Name of AOD branch with conversion photons
83
84 //Histograms
85 TH1F * fhPtPi0 ; //! Number of identified pi0
86 TH2F * fhPhiPi0 ; //! Phi of identified pi0
87 TH2F * fhEtaPi0 ; //! eta of identified pi0
88
89 //MC
90 TH1F * fhPtMCNoPi0; //! Number of identified pi0, not coming from pi0
91 TH2F * fhPhiMCNoPi0; //! Phi of identified pi0, not coming from pi0
92 TH2F * fhEtaMCNoPi0; //! eta of identified pi0, not coming from pi0
93 TH1F * fhPtMCPi0; //! Number of identified pi0, coming from pi0
94 TH2F * fhPhiMCPi0; //! Phi of identified pi0, coming from pi0
95 TH2F * fhEtaMCPi0; //! eta of identified pi0, coming from pi0
96
97 ClassDef(AliAnaPi0EbE,1)
98 } ;
99
100
101#endif //ALIANAPI0EBE_H
102
103
104