AliPhysics  914d8ff (914d8ff)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliAnaCaloTrackCorrMaker.h
Go to the documentation of this file.
1 #ifndef ALIANACALOTRACKCORRMAKER_H
2 #define ALIANACALOTRACKCORRMAKER_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice */
5 
6 //_____________________________________________________________________________
23 //_____________________________________________________________________________
24 
25 // --- ROOT system ---
26 class TList;
27 class TClonesArray;
28 #include<TObject.h>
29 class TH1F;
30 
31 // --- Analysis system ---
32 #include "AliCaloTrackReader.h"
33 #include "AliCalorimeterUtils.h"
34 
36 
37  public:
38 
39  AliAnaCaloTrackCorrMaker() ; // default ctor
40 
41  virtual ~AliAnaCaloTrackCorrMaker() ; // virtual dtor
42 
43  AliAnaCaloTrackCorrMaker(const AliAnaCaloTrackCorrMaker & maker) ; // cpy ctor
44 
45  // Setters and Getters
46 
47  void AddAnalysis(TObject* ana, Int_t n) ;
48 
49  void FillControlHistograms();
50 
52 
54 
56 
58 
60 
61  Int_t GetAnaDebug() const { return fAnaDebug ; }
62  void SetAnaDebug(Int_t d) { fAnaDebug = d ; }
63 
64  Bool_t AreHistogramsMade() const { return fMakeHisto ; }
65  void SwitchOnHistogramsMaker() { fMakeHisto = kTRUE ; }
66  void SwitchOffHistogramsMaker() { fMakeHisto = kFALSE ; }
67 
68  Bool_t AreAODsMade() const { return fMakeAOD ; }
69  void SwitchOnAODsMaker() { fMakeAOD = kTRUE ; }
70  void SwitchOffAODsMaker() { fMakeAOD = kFALSE ; }
71 
74 
75  void SwitchOnSumw2Histograms() { fSumw2 = kTRUE ; }
76  void SwitchOffSumw2Histograms() { fSumw2 = kFALSE ; }
77 
79  void SwitchOffPtHardHistogram() { fCheckPtHard = kFALSE ; }
80 
81  void SetScaleFactor(Double_t scale) { fScaleFactor = scale ; }
82 
84  void SetReader(AliCaloTrackReader * re) { fReader = re ; }
85 
86 
88  return fReader ; }
89 
91  return fCaloUtils ; }
92 
93 
94  // Main general methods
95 
96  void Init();
97 
98  void InitParameters();
99 
100  void Print(const Option_t * opt) const;
101 
102  void ProcessEvent(Int_t iEntry, const char * currentFileName) ;
103 
104  void Terminate(TList * outputList);
105 
106  private:
107 
108  // General Data members
109 
111 
113 
115 
117 
119 
121 
123 
125 
127 
129 
131 
133 
134  // Control histograms
135 
136  TH1F * fhNEventsIn;
137  TH1F * fhNEvents;
142 
143  TH1F * fhXVertex;
144  TH1F * fhYVertex;
145  TH1F * fhZVertex;
149 
150  TH1F * fhPtHard;
152 
155 
156  TH1F * fhTrackMult;
157  TH1F * fhCentrality;
159 
164 
165  TH1F * fhNMergedFiles;
166  TH1F * fhScaleFactor;
167 
168  TH1F * fhEMCalBCEvent;
170  TH1F * fhTrackBCEvent;
176 
183 
190 
193 
194 
199 
202 
204  ClassDef(AliAnaCaloTrackCorrMaker,26) ;
206 
207 } ;
208 
209 #endif //ALIANACALOTRACKCORRMAKER_H
210 
211 
212 
TH2F * fhClusterTriggerBCExoticEventBCUnMatch
! Correlate the found BC in the exotic trigger and the event BC, when there was no match with the tri...
TH1F * fhTimeStampFraction
! event fraction depending on Time Stamp, only if activated on reader.
TH1F * fhNEvents
! Number of acepted events counter histogram.
TH2F * fhClusterTriggerBCEventBC
! Correlate the found BC in the trigger and the event BC.
TH1F * fhEMCalBCEventCut
! N events depending on the existence of a cluster above acceptance and E cut in a given bunch crossi...
void ana(Int_t mode=mGRID)
Definition: ana.C:87
TH1F * fhClusterTriggerBCUnMatchReMatch[3]
! Number of events triggered, depending on BC of the cluster, not matched, open cuts and rematch...
double Double_t
Definition: External.C:58
TH2F * fhClusterTriggerBCExoticEventBC
! Correlate the found BC in the exotic trigger and the event BC.
TList * fCuts
! List with analysis cuts.
TH1F * fhClusterTriggerBCBadClusterUnMatch
! Number of events triggered, depending on BC of the cluster.
Definition: External.C:236
TH1F * fhPtHardWeighted
! pt of parton, only for MC generation (pythia jet-jet/gamma-jet), weighted by cross section ...
TH1F * fhZVertexExotic
! Z Vertex distribution of exotic event.
TH1F * fhNPileUpVertTracks
! Number of pile-up vertices from tracks.
TH1F * fhClusterTriggerBCBadCell
! Number of events triggered, depending on BC of the cluster.
TH1F * fhNEventsIn
! Number of input events counter histogram.
void InitParameters()
Init data members.
TH1F * fhClusterTriggerBCBadCluster
! Number of events triggered, depending on BC of the cluster.
AliCalorimeterUtils * fCaloUtils
Pointer to AliCalorimeterUtils.
TH1F * fhScaleFactor
! Factor to scale histograms.
TH1F * fhTrackBCEventCut
! N events depending on the existence of a track above acceptance and pt cut in a given bunch crossin...
Int_t fFillDataControlHisto
Fill histograms only interesting with data. 0 not filled; 1 basic control; 2+ trigger related...
void AddAnalysis(TObject *ana, Int_t n)
Add analysis depending on AliAnaCaloTrackCorrBaseClass to list.
TH1F * fhClusterTriggerBCBadCellExoticUnMatch
! Number of events triggered, depending on BC of the cluster.
TH1F * fhNEventsWeighted
! Number of acepted events counter histogram. After centrality weight.
TH1F * fhEMCalBCEvent
! N events depending on the existence of a cluster in a given bunch crossing.
Double_t fScaleFactor
Scaling factor needed for normalization.
TH1F * fhXVertexExotic
! X Vertex distribution of exotic event.
TH2F * fhClusterTriggerBCEventBCUnMatch
! Correlate the found BC in the trigger and the event BC, when there was no match with the trigger BC...
void FillTriggerControlHistograms()
Fill here EMCal triggered events control histograms.
TH1F * fhTrackBCEvent
! N events depending on the existence of a track in a given bunch crossing.
TH1F * fhNPileUpEventsTriggerBC0
! N events pasing pile up cut.
TH1F * fhNMergedFiles
! Number of files merged.
TH1F * fhXVertex
! X Vertex distribution of accepted event.
TH1F * fhClusterTriggerBC
! Number of events triggered, depending on BC of the cluster.
TH1F * fhClusterTriggerBCBadClusterExoticUnMatch
! Number of events triggered, depending on BC of the cluster.
void SetScaleFactor(Double_t scale)
int Int_t
Definition: External.C:63
AliAnaCaloTrackCorrMaker & operator=(const AliAnaCaloTrackCorrMaker &)
Assignment operator not implemented.
void SwitchOnDataControlHistograms(Int_t lev=1)
TH1F * fhTrackMultWeighted
! Number of tracks per event histogram. After centrality weight.
Bool_t fMakeHisto
If true makes final analysis with histograms as output.
Bool_t fSumw2
Call the histograms method Sumw2() after initialization, off by default, too large memory booking...
TH1F * fhNExoticEvents
! Number of events triggered by exotic, counter histogram.
TH1F * fhClusterTriggerBCExoticUnMatch
! Number of events triggered, depending on BC of the cluster.
Base class for event, clusters and tracks filtering and preparation for the analysis.
TH1F * fhYVertex
! Y Vertex distribution of accepted event.
TH1F * fhPileUpClusterMult
! N clusters with high time.
TH1F * fhTrackMult
! Number of tracks per event histogram.
void ProcessEvent(Int_t iEntry, const char *currentFileName)
TH1F * fhClusterTriggerBCBadCellExotic
! Number of events triggered, depending on BC of the cluster.
TH1F * fhNPileUpEvents
! N events pasing pile up cut.
Bool_t fCheckPtHard
For MC done in pT-Hard bins, plot specific histogram.
void SetReader(AliCaloTrackReader *re)
TH1F * fhClusterTriggerBCBadCellUnMatch
! Number of events triggered, depending on BC of the cluster.
TH1F * fhNEventsNoTriggerFound
! Number of events where whatever was done, no trigger is found.
virtual ~AliAnaCaloTrackCorrMaker()
Destructor. Remove only owned pointers.
TH1F * fhEventPlaneAngle
! Histogram with Event plane angle.
TH1F * fhClusterTriggerBCExotic
! Number of events triggered, depending on BC of the cluster.
TH1F * fhCentrality
! Histogram with centrality bins.
TH1F * fhZVertex
! Z Vertex distribution of accepted event.
const char Option_t
Definition: External.C:48
TH1F * fhClusterTriggerBCExoticUnMatchReMatch[3]
! Number of events triggered by exotic, depending on BC of the clusterm not matched, open cuts and rematch.
TH1F * fhClusterTriggerBCBadClusterExotic
! Number of events triggered, depending on BC of the cluster.
void FillControlHistograms()
Fill here event control histograms.
void Print(const Option_t *opt) const
Print some relevant parameters set for the analysis.
bool Bool_t
Definition: External.C:53
TH1F * fhYVertexExotic
! Y Vertex distribution of exotic event.
TH1F * fhPtHard
! pt of parton, only for MC generation (pythia jet-jet/gamma-jet)
Class with utils specific to calorimeter clusters/cells.
AliCaloTrackReader * GetReader()
AliCalorimeterUtils * GetCaloUtils()
TH1F * fhCentralityWeighted
! Histogram with centrality bins. After centrality weight.
Bool_t fMakeAOD
If true makes analysis generating AODs.
TH1F * fhPrimaryVertexBC
! Primary vertex BC.
TList * fOutputContainer
! Output histograms container.
TH1F * fhPileUpClusterMultAndSPDPileUp
! N clusters with high time in events tagged as pile-up by SPD.
AliCaloTrackReader * fReader
Pointer to AliCaloTrackReader.
TList * fAnalysisContainer
List with analysis pointers.
TH1F * fhNPileUpVertSPD
! Number of pile-up vertices from SPD.
TH1F * fhClusterTriggerBCUnMatch
! Number of events triggered, depending on BC of the cluster.
void SetCaloUtils(AliCalorimeterUtils *cu)
TH1F * fhEventPlaneAngleWeighted
! Histogram with Event plane angle. After centrality weight.
Steering class of package CaloTrackCorrelartions.