]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG4/PartCorrDep/AliAnaPi0EbE.h
Changes for the Lambdac (Chiara, Rossella)
[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 ;
22
23// --- ANALYSIS system ---
24#include "AliAnaPartCorrBaseClass.h"
477d6cee 25
26class AliAnaPi0EbE : public AliAnaPartCorrBaseClass {
27
28 public:
477d6cee 29 AliAnaPi0EbE() ; // default ctor
78219bac 30 virtual ~AliAnaPi0EbE() ; //virtual dtor
31 private:
477d6cee 32 AliAnaPi0EbE(const AliAnaPi0EbE & g) ; // cpy ctor
33 AliAnaPi0EbE & operator = (const AliAnaPi0EbE & g) ;//cpy assignment
78219bac 34
35 public:
36
477d6cee 37 enum anaTypes {kIMCalo, kSSCalo, kIMCaloTracks};
38
39 TList * GetCreateOutputObjects();
40
41 void Init();
42 void InitParameters();
43
44 void MakeAnalysisFillAOD() ;
45 void MakeAnalysisFillHistograms() ;
46
47 void MakeInvMassInCalorimeter() ;
48 void MakeInvMassInCalorimeterAndCTS() ;
49 void MakeShowerShapeIdentification() ;
50
51 void Print(const Option_t * opt)const;
52
53 anaTypes GetAnalysisType() const {return fAnaType ; }
54 void SetAnalysisType(anaTypes ana) {fAnaType = ana ; }
55
56 TString GetInputAODGammaConvName() const {return fInputAODGammaConvName ; }
57 void SetInputAODGammaConvName(TString name) {fInputAODGammaConvName = name ; }
58
59 //Only for pi0 SS identification case
60 void SetCalorimeter(TString det) {fCalorimeter = det ; }
61
62 void SetMinDistanceToBadChannel(Float_t m1, Float_t m2, Float_t m3) {
63 fMinDist = m1;
64 fMinDist2 = m2;
65 fMinDist3 = m3;
66 }
67
68 private:
69
70 anaTypes fAnaType; //Select analysis type
71
72 //Only for pi0 SS identification case, kSSCalo
73 TString fCalorimeter ; // Calorimeter where the gamma is searched;
74 Float_t fMinDist ; // Minimal distance to bad channel to accept cluster
75 Float_t fMinDist2; // Cuts on Minimal distance to study acceptance evaluation
76 Float_t fMinDist3; // One more cut on distance used for acceptance-efficiency study
77
78 //Only for combination of calorimeter and conversion photons, kIMCaloTracks
79 TClonesArray * fInputAODGammaConv; //AOD array with conversion photons reconstructed in CTS
80 TString fInputAODGammaConvName; //Name of AOD branch with conversion photons
81
82 //Histograms
83 TH1F * fhPtPi0 ; //! Number of identified pi0
84 TH2F * fhPhiPi0 ; //! Phi of identified pi0
85 TH2F * fhEtaPi0 ; //! eta of identified pi0
86
87 //MC
88 TH1F * fhPtMCNoPi0; //! Number of identified pi0, not coming from pi0
89 TH2F * fhPhiMCNoPi0; //! Phi of identified pi0, not coming from pi0
90 TH2F * fhEtaMCNoPi0; //! eta of identified pi0, not coming from pi0
91 TH1F * fhPtMCPi0; //! Number of identified pi0, coming from pi0
92 TH2F * fhPhiMCPi0; //! Phi of identified pi0, coming from pi0
93 TH2F * fhEtaMCPi0; //! eta of identified pi0, coming from pi0
94
95 ClassDef(AliAnaPi0EbE,1)
96 } ;
97
98
99#endif //ALIANAPI0EBE_H
100
101
102