]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGGA/CaloTrackCorrelations/AliAnaClusterPileUp.h
store/access the M02, nMaxima, decay bit in AOD particles proper method
[u/mrichter/AliRoot.git] / PWGGA / CaloTrackCorrelations / AliAnaClusterPileUp.h
CommitLineData
bc41680b 1#ifndef ALIANACLUSTERPILEUP_H
2#define ALIANACLUSTERPILEUP_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6//_________________________________________________________________________
7//
8// Class for the study of Pile-up effect on
9// Calorimeter clusters.
10// Open time cuts in reader.
11//
12//-- Author: Gustavo Conesa (CNRS-LPSC-Grenoble)
13
14// --- ROOT system ---
15class TH2F ;
16class TH1F;
17class TString ;
18class TObjString;
19class TList ;
20
21// --- ANALYSIS system ---
22#include "AliAnaCaloTrackCorrBaseClass.h"
23
24class AliAnaClusterPileUp : public AliAnaCaloTrackCorrBaseClass {
25
26 public:
27 AliAnaClusterPileUp() ; // default ctor
28 virtual ~AliAnaClusterPileUp() { ; } // virtual dtor
29
30 //---------------------------------------
31 // General analysis frame methods
32 //---------------------------------------
33
34 TObjString * GetAnalysisCuts();
35
36 TList * GetCreateOutputObjects();
37
38 void Init();
39
40 void InitParameters();
41
42 void MakeAnalysisFillHistograms() ;
43
44 void Print(const Option_t * opt)const;
45
46 // Analysis parameters setters getters
47
bc41680b 48 void SetNCellCut(Int_t n) { fNCellsCut = n ; }
49 Double_t GetNCellCut() const { return fNCellsCut ; }
50
51private:
52
bc41680b 53 Int_t fNCellsCut ; // Accept for the analysis clusters with more than fNCellsCut cells
54
55 //Histograms
56
57 TH1F * fhPtPileUp[7]; //! pT distribution of clusters before any selection
58 TH1F * fhPtNeutralPileUp[7]; //! pT distribution of track matched clusters
bc41680b 59 TH2F * fhLambda0PileUp[7]; //! E vs M02 distribution of clusters, before any selection
60 TH2F * fhLambda0NeutralPileUp[7]; //! E vs M02 distribution of clusters, track matched clusters
61 TH2F * fhClusterCellTimePileUp[7]; //! E vs Time inside cluster, before any selection, not max cell
62 TH2F * fhClusterTimeDiffPileUp[7]; //! E vs Time difference inside cluster, before any selection
63 TH2F * fhClusterTimeDiffNeutralPileUp[7]; //! E vs Time difference inside cluster for track matched clusters
64 TH2F * fhClusterEFracLongTimePileUp[7]; //! E vs fraction of cluster energy from cells with large time
65 TH2F * fhTimePtNoCut; //! time of cluster vs Pt, no cut
66 TH2F * fhTimePtSPD; //! time of cluster vs Pt, IsSPDPileUp
67 TH2F * fhTimeNPileUpVertSPD; //! time of cluster vs n pile-up vertices from SPD
68 TH2F * fhTimeNPileUpVertTrack; //! time of cluster vs n pile-up vertices from Tracks
69 TH2F * fhTimeNPileUpVertContributors; //! time of cluster vs n pile-up vertex from SPD contributors
70 TH2F * fhTimePileUpMainVertexZDistance; //! time of cluster vs difference of z main vertex and pile-up vertex
71 TH2F * fhTimePileUpMainVertexZDiamond; //! time of cluster vs difference of z diamond and pile-up vertex
72 TH2F * fhClusterMultSPDPileUp[4]; //! E max cluster vs event cluster multiplicity, for tmax-tdiff cuts, pile up event
73 TH2F * fhClusterMultNoPileUp[4]; //! E max cluster vs event cluster multiplicity, for tmax-tdiff cuts, not pile up event
74 TH2F * fhEtaPhiBC0; //! eta/phi of clusters in BC=0
75 TH2F * fhEtaPhiBCPlus; //! eta/phi of clusters in BC>0
76 TH2F * fhEtaPhiBCMinus; //! eta/phi of clusters in BC<0
77 TH2F * fhEtaPhiBC0PileUpSPD; //! eta/phi of clusters in BC=0, SPD pile-up
78 TH2F * fhEtaPhiBCPlusPileUpSPD; //! eta/phi of clusters in BC>0, SPD pile-up
79 TH2F * fhEtaPhiBCMinusPileUpSPD; //! eta/phi of clusters in BC<0, SPD pile-up
80
81 TH2F * fhPtNPileUpSPDVtx; //! cluster pt vs number of spd pile-up vertices
82 TH2F * fhPtNPileUpTrkVtx; //! cluster pt vs number of track pile-up vertices
83 TH2F * fhPtNPileUpSPDVtxTimeCut; //! cluster pt vs number of spd pile-up vertices, time cut +-25 ns
84 TH2F * fhPtNPileUpTrkVtxTimeCut; //! cluster pt vs number of track pile-up vertices, time cut +- 25 ns
85 TH2F * fhPtNPileUpSPDVtxTimeCut2; //! cluster pt vs number of spd pile-up vertices, time cut +-75 ns
86 TH2F * fhPtNPileUpTrkVtxTimeCut2; //! cluster pt vs number of track pile-up vertices, time cut +- 75 ns
87
88 AliAnaClusterPileUp( const AliAnaClusterPileUp & pu) ; // cpy ctor
89 AliAnaClusterPileUp & operator = (const AliAnaClusterPileUp & pu) ; // cpy assignment
90
91 ClassDef(AliAnaClusterPileUp,1)
92
93} ;
94
95#endif//ALIANACLUSTERPILEUP_H
96
97
98