AliPhysics  8d00e07 (8d00e07)
AliHistogramRanges.h
Go to the documentation of this file.
1 #ifndef ALIHISTOGRAMRANGES_H
2 #define ALIHISTOGRAMRANGES_H
3 
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice */
6 
7 //_________________________________________________________________________
20 //_________________________________________________________________________
21 
22 // ROOT
23 #include <TObject.h>
24 
25 class AliHistogramRanges : public TObject {
26 
27 public:
28 
29  AliHistogramRanges() ; // default ctor
30  virtual ~AliHistogramRanges() { ; } // dtor
31 
32  void InitParameters() ;
33 
34  void Print(const Option_t * ) const ;
35 
36  //Pt, Energy
37 
38  Int_t GetHistoPtBins() const { return fHistoPtBins ; }
39  Float_t GetHistoPtMin() const { return fHistoPtMin ; }
40  Float_t GetHistoPtMax() const { return fHistoPtMax ; }
41 
43  fHistoPtBins = n ; fHistoPtMax = max ; fHistoPtMin = min ; }
44 
45  Int_t GetHistoEnergyBins() const { return fHistoPtBins ; }
46  Float_t GetHistoEnergyMin() const { return fHistoPtMin ; }
47  Float_t GetHistoEnergyMax() const { return fHistoPtMax ; }
48 
50  SetHistoPtRangeAndNBins(min, max, n) ; }
51 
55 
57  fHistoFinePtBins = n ; fHistoFinePtMax = max ; fHistoFinePtMin = min ; }
58 
59  //Azimuthal angle
60 
61  Int_t GetHistoPhiBins() const { return fHistoPhiBins ; }
62  Float_t GetHistoPhiMin() const { return fHistoPhiMin ; }
63  Float_t GetHistoPhiMax() const { return fHistoPhiMax ; }
64 
66  fHistoPhiBins = n ; fHistoPhiMax = max ; fHistoPhiMin = min ; }
67 
68  // Delta azymuthal angle
72 
75 
76 
77 // Delta eta angle
78 
82 
85 
86 
87  //Pseudorapidity-rapidity
88 
89  Int_t GetHistoEtaBins() const { return fHistoEtaBins ; }
90  Float_t GetHistoEtaMin() const { return fHistoEtaMin ; }
91  Float_t GetHistoEtaMax() const { return fHistoEtaMax ; }
92 
94  fHistoEtaBins = n ; fHistoEtaMax = max ; fHistoEtaMin = min ; }
95 
96  //Mass
97 
98  Int_t GetHistoMassBins() const { return fHistoMassBins ; }
99  Float_t GetHistoMassMin() const { return fHistoMassMin ; }
100  Float_t GetHistoMassMax() const { return fHistoMassMax ; }
101 
103  fHistoMassBins = n ; fHistoMassMax = max ; fHistoMassMin = min ; }
104 
105  //Asymetry
106 
110 
112  fHistoAsymBins = n ; fHistoAsymMax = max ; fHistoAsymMin = min ; }
113 
114  //VZero
115 
119 
121  fHistoV0SBins = n ; fHistoV0SMax = max ; fHistoV0SMin = min ; }
122 
126 
128  fHistoV0MBins = n ; fHistoV0MMax = max ; fHistoV0MMin = min ; }
129 
130  // Track multiplicity
131 
135 
137  fHistoTrMBins = n ; fHistoTrMMax = max ; fHistoTrMMin = min ; }
138 
139  // dEdx
140 
141  Int_t GetHistodEdxBins() const { return fHistodEdxBins ; }
142  Float_t GetHistodEdxMin() const { return fHistodEdxMin ; }
143  Float_t GetHistodEdxMax() const { return fHistodEdxMax ; }
144 
146  fHistodEdxBins = n ; fHistodEdxMax = max ; fHistodEdxMin = min ; }
147 
148  // E over p
149 
153 
155  fHistoPOverEBins = n ; fHistoPOverEMax = max ; fHistoPOverEMin = min ; }
156 
157  // Number of cells per clusters
158 
162 
165 
166  // Number of clusters
167 
171 
174 
175  // Number of cells
176 
180 
182  fHistoNCellsBins = n ; fHistoNCellsMax = max ; fHistoNCellsMin = min ; }
183 
184  // dR
185 
186  Int_t GetHistodRBins() const { return fHistodRBins ; }
187  Float_t GetHistodRMin() const { return fHistodRMin ; }
188  Float_t GetHistodRMax() const { return fHistodRMax ; }
189 
191  fHistodRBins = n ; fHistodRMax = max ; fHistodRMin = min ; }
192 
193  // Ratio
194 
198 
200  fHistoRatioBins = n ; fHistoRatioMax = max ; fHistoRatioMin = min ; }
201 
202  // Energy difference
203 
207 
209  fHistoEDiffBins = n ; fHistoEDiffMax = max ; fHistoEDiffMin = min ; }
210 
211  // Hump-Backed Plateau
212 
213  Int_t GetHistoHBPBins() const { return fHistoHBPBins ; }
214  Float_t GetHistoHBPMin() const { return fHistoHBPMin ; }
215  Float_t GetHistoHBPMax() const { return fHistoHBPMax ; }
216 
218  fHistoHBPBins = n ; fHistoHBPMax = max ; fHistoHBPMin = min ; }
219 
220 
221  // Vertex
222 
226 
229 
230 
231  // R =sqrt(x^2+y^2+z^2) (cm)
232 
233  Int_t GetHistoRBins() const { return fHistoRBins ; }
234  Float_t GetHistoRMin() const { return fHistoRMin ; }
235  Float_t GetHistoRMax() const { return fHistoRMax ; }
236 
238  fHistoRBins = n ; fHistoRMax = max ; fHistoRMin = min ; }
239 
240  // X position
241 
242  Int_t GetHistoXBins() const { return fHistoXBins ; }
243  Float_t GetHistoXMin() const { return fHistoXMin ; }
244  Float_t GetHistoXMax() const { return fHistoXMax ; }
245 
247  fHistoXBins = n ; fHistoXMax = max ; fHistoXMin = min ; }
248 
249  // Y position
250 
251  Int_t GetHistoYBins() const { return fHistoYBins ; }
252  Float_t GetHistoYMin() const { return fHistoYMin ; }
253  Float_t GetHistoYMax() const { return fHistoYMax ; }
254 
256  fHistoYBins = n ; fHistoYMax = max ; fHistoYMin = min ; }
257 
258  // Z position
259 
260  Int_t GetHistoZBins() const { return fHistoZBins ; }
261  Float_t GetHistoZMin() const { return fHistoZMin ; }
262  Float_t GetHistoZMax() const { return fHistoZMax ; }
263 
265  fHistoZBins = n ; fHistoZMax = max ; fHistoZMin = min ; }
266 
267  // Shower shape parameters
268 
272 
274  fHistoSSBins = n ; fHistoSSMax = max ; fHistoSSMin = min ; }
275 
276  // Time
277 
278  Int_t GetHistoTimeBins() const { return fHistoTimeBins ; }
279  Float_t GetHistoTimeMin() const { return fHistoTimeMin ; }
280  Float_t GetHistoTimeMax() const { return fHistoTimeMax ; }
281 
283  fHistoTimeBins = n ; fHistoTimeMax = max ; fHistoTimeMin = min ; }
284 
285  // Cluster time difference
286 
290 
293 
294  // Track matching histogrammes setters and getters
295 
299 
302 
306 
309 
310  // Isolation task, sum pt
311 
313  fHistoNPtSumBins = n ; fHistoPtSumMax = max ; fHistoPtSumMin = min ; }
314 
318 
321 
325 
326  // Opening angle
327 
329  fHistoOpAngleBins = n ; fHistoOpAngleMax = max ; fHistoOpAngleMin = min ; }
330 
334 
335 private:
336 
352 
437 
440 
443 
445  ClassDef(AliHistogramRanges,7) ;
447 
448 } ;
449 
450 
451 #endif //ALIHISTOGRAMRANGES_H
452 
453 
454 
Float_t GetHistoZMax() const
Float_t GetHistoPtMax() const
Float_t fHistoHBPMin
Hump-backed plateau minimum value.
AliHistogramRanges & operator=(const AliHistogramRanges &h)
Assignment operator not implemented.
void SetHistoTrackMultiplicityRangeAndNBins(Int_t min, Int_t max, Int_t n)
Float_t fHistoMassMax
Maximum value of mass histogram range.
Float_t fHistoPhiMax
Maximum value of phi histogram range.
Int_t fHistoPtBins
Number of bins in pt axis.
Int_t GetHistoDeltaEtaBins() const
Int_t GetHistoNClusterCellMin() const
Float_t GetHistoPtMin() const
Int_t fHistodEdxBins
dEdx histogram number of bins.
Int_t GetHistoFinePtBins() const
Float_t fHistoAsymMax
Maximum value of asymmetry histogram range.
Float_t fHistoPtSumMax
Isolation PtSum maximum in histogram.
Int_t GetHistoShowerShapeBins() const
Int_t fHistoNCellsMin
Number of cells minimum value.
Float_t fHistodRMin
dR minimum value.
Float_t GetHistodEdxMax() const
void SetHistoMassRangeAndNBins(Float_t min, Float_t max, Int_t n)
Int_t GetHistoNPtInConeBins() const
void SetHistoDeltaPhiRangeAndNBins(Float_t min, Float_t max, Int_t n)
Int_t fHistoSSBins
Shower Shape parameter histogram number of bins.
Int_t GetHistoNCellsMin() const
void SetHistoXRangeAndNBins(Float_t min, Float_t max, Int_t n)
Float_t fHistodEdxMax
dEdx maximum value.
Int_t fHistoNPtSumBins
Number of bins in Isolation PtSum histograms.
Float_t fHistoDiffTimeMin
Difference cluster pair time parameter position minimum value.
Int_t GetHistoEDiffBins() const
Float_t fHistoTrackResidualEtaMin
Minimum value of dEta (cluster-track) histogram range.
Int_t fHistoEDiffBins
Energy difference histogram number of bins.
Int_t fHistoYBins
y (cm) position histogram number of bins.
Int_t GetHistoTrackMultiplicityMax() const
Int_t fHistoDeltaPhiBins
Number of bins in delta phi axis.
Float_t GetHistoVertexDistMin() const
Float_t fHistoPtInConeMin
Isolation PtInCone maximum in histogram.
Int_t fHistoTrMMax
Maximum value of track multiplicity histogram range.
Float_t GetHistoEnergyMax() const
void SetHistoPtRangeAndNBins(Float_t min, Float_t max, Int_t n)
Float_t fHistoVertexDistMax
Vertex distance maximum value.
Int_t fHistoPhiBins
Number of bins in phi axis.
Int_t GetHistoHBPBins() const
Int_t fHistodRBins
dR histogram number of bins.
void InitParameters()
Initialize histogram parameters.
Float_t fHistoRMax
r =sqrt(x^2+y^2+z^2) (cm) maximum value.
Float_t GetHistodRMax() const
Int_t fHistoNPtInConeBins
Number of bins in Isolation PtInCone histogram.
Float_t fHistoTrackResidualPhiMax
Maximum value of dPhi (cluster-track) histogram range.
Float_t GetHistoXMin() const
Float_t GetHistoRatioMax() const
Int_t fHistoNClusCellMax
Number of cells per cluster maximum value.
Int_t GetHistoMassBins() const
Int_t GetHistoPhiBins() const
Int_t fHistoNCellsMax
Number of cells maximum value.
void SetHistodRRangeAndNBins(Float_t min, Float_t max, Int_t n)
Float_t GetHistoMassMin() const
Float_t fHistoPtInConeMax
Isolation PtInCone maximum in histogram.
Float_t fHistoAsymMin
Minimum value of asymmetry histogram range.
Float_t fHistoFinePtMin
minimum pt value for fhAmpId histogram
Int_t GetHistoXBins() const
Int_t GetHistoV0SignalBins() const
Float_t GetHistoPtInConeMax() const
Int_t GetHistoTrackMultiplicityMin() const
Float_t GetHistoTrackResidualPhiMin() const
Float_t fHistoTrackResidualEtaMax
Maximum value of dEta (cluster-track) histogram range.
Float_t fHistoTimeMax
Cell time maximum value.
Int_t GetHistoDeltaPhiBins() const
Float_t GetHistoTrackResidualEtaMin() const
Int_t GetHistoNClusterCellBins() const
AliHistogramRanges()
Default constructor. Initialize parameters.
Float_t GetHistoYMax() const
Float_t GetHistoDiffTimeMin() const
Float_t fHistoEtaMax
Maximum value of eta histogram range.
Int_t GetHistoPOverEBins() const
Float_t fHistoPOverEMax
p/E maximum value.
Float_t GetHistoPhiMin() const
Int_t fHistoTrackResidualEtaBins
Number of bins in dEta (cluster-track) axis.
Float_t GetHistoDiffTimeMax() const
void SetHistoTrackResidualEtaRangeAndNBins(Float_t min, Float_t max, Int_t n)
Int_t GetHistoVertexDistBins() const
Int_t GetHistoZBins() const
Float_t fHistoPhiMin
Minimum value of phi histogram range.
Float_t GetHistoOpeningAngleMax() const
Float_t fHistoOpAngleMax
Maximum value of pair opening angle histogram range.
Int_t fHistoPOverEBins
p/E histogram number of bins.
Float_t GetHistoEDiffMin() const
Float_t GetHistoAsymmetryMax() const
Float_t GetHistoMassMax() const
Float_t GetHistoEDiffMax() const
Float_t fHistoRatioMax
Ratio maximum value.
Float_t fHistoDeltaPhiMax
Maximum value of delta phi histogram range.
Int_t fHistoDeltaEtaBins
Number of bins in delta eta axis.
Int_t fHistoXBins
x (cm) position histogram number of bins.
Float_t fHistoSSMin
Shower Shape parameter position minimum value.
void SetHistoPtInConeRangeAndNBins(Float_t min, Float_t max, Int_t n)
Float_t GetHistodEdxMin() const
void SetHistoPOverERangeAndNBins(Float_t min, Float_t max, Int_t n)
void SetHistoPhiRangeAndNBins(Float_t min, Float_t max, Int_t n)
int Int_t
Definition: External.C:63
Int_t fHistoVertexDistBins
Vertex distance histogram number of bins.
Int_t fHistoTrMBins
Number of bins in V0 multiplicity axis.
Int_t GetHistoNOpeningAngleBins() const
Int_t GetHistoDiffTimeBins() const
void SetHistoPtSumRangeAndNBins(Float_t min, Float_t max, Int_t n)
float Float_t
Definition: External.C:68
Float_t fHistodRMax
dR maximum value.
Float_t GetHistoTrackResidualPhiMax() const
Float_t fHistoPtSumMin
Isolation PtSum minimum in histogram.
Int_t fHistoAsymBins
Number of bins in asymmetry axis.
void SetHistoTrackResidualPhiRangeAndNBins(Float_t min, Float_t max, Int_t n)
Int_t GetHistoAsymmetryBins() const
Float_t fHistoTimeMin
Cell time minimum value.
Int_t fHistoNCellsBins
Number of cells histogram number of bins.
void SetHistoEDiffRangeAndNBins(Float_t min, Float_t max, Int_t n)
Float_t GetHistoRMin() const
Float_t GetHistoRMax() const
Float_t GetHistoHBPMin() const
Int_t fHistoTrackResidualPhiBins
Number of bins in dPhi axis.
Int_t GetHistoEnergyBins() const
Float_t GetHistoDeltaPhiMax() const
Int_t GetHistoV0MultiplicityBins() const
Float_t fHistoDeltaPhiMin
Minimum value of delta phi histogram range.
Int_t fHistoV0SMax
Maximum value of V0 signal histogram range.
Int_t fHistoNClusCellMin
Number of cells per cluster minimum value.
Float_t fHistoRatioMin
Ratio minimum value.
Int_t GetHistoV0SignalMin() const
void SetHistoDeltaEtaRangeAndNBins(Float_t min, Float_t max, Int_t n)
Float_t fHistoDiffTimeMax
Difference cluster pair time parameter position maximum value.
Int_t GetHistoV0MultiplicityMin() const
Float_t GetHistoShowerShapeMin() const
Float_t fHistoTrackResidualPhiMin
Minimum value of dPhi (cluster-track) histogram range.
Float_t GetHistoXMax() const
Int_t GetHistodEdxBins() const
Float_t GetHistoHBPMax() const
Int_t fHistoRatioBins
Ratio histogram number of bins.
Int_t GetHistoNClusterCellMax() const
Int_t fHistoHBPBins
Hump-backed plateau histogram number of bins.
Int_t GetHistoTrackResidualEtaBins() const
void SetHistoNClusterCellRangeAndNBins(Int_t min, Int_t max, Int_t n)
Float_t fHistoDeltaEtaMax
Maximum value of delta eta histogram range.
Float_t fHistoOpAngleMin
Minimum value of pair opening angle histogram range.
Int_t GetHistoTrackResidualPhiBins() const
Float_t fHistoFinePtMax
maximum pt value for fhAmpId histogram
void SetHistoEnergyRangeAndNBins(Float_t min, Float_t max, Int_t n)
void SetHistoYRangeAndNBins(Float_t min, Float_t max, Int_t n)
Int_t GetHistoNPtSumBins() const
void Print(const Option_t *) const
Int_t fHistoOpAngleBins
Number of bins in pair opening angle axis.
Int_t fHistoDiffTimeBins
Difference cluster pair time parameter histogram number of bins.
Int_t GetHistoTrackMultiplicityBins() const
Float_t fHistoXMin
x (cm) position minimum value.
Int_t fHistoV0MBins
Number of bins in V0 multiplicity axis.
Float_t fHistoYMin
y (cm) position minimum value.
Int_t GetHistoRBins() const
Float_t GetHistoEtaMin() const
Class containing more common histogram axis types.
Int_t GetHistoRatioBins() const
Float_t GetHistoPtSumMin() const
Int_t GetHistoNClustersMin() const
Float_t GetHistoRatioMin() const
Float_t fHistoZMax
z (cm) position maximum value.
Float_t GetHistoVertexDistMax() const
Float_t GetHistoZMin() const
Float_t fHistoDeltaEtaMin
Minimum value of delta eta histogram range.
Float_t fHistoPOverEMin
p/E minimum value.
Int_t fHistoZBins
z (cm) position histogram number of bins.
Int_t GetHistoYBins() const
Int_t GetHistoNClustersBins() const
Float_t GetHistoEtaMax() const
void SetHistoNClustersRangeAndNBins(Int_t min, Int_t max, Int_t n)
Float_t GetHistoDeltaEtaMin() const
Float_t GetHistodRMin() const
Int_t GetHistoPtBins() const
Int_t fHistoEtaBins
Number of bins in eta axis.
void SetHistoOpeningAngleRangeAndNBins(Float_t min, Float_t max, Int_t n)
Float_t fHistoEDiffMin
Energy difference minimum value.
Float_t fHistoRMin
r =sqrt(x^2+y^2+z^2) (cm) minimum value.
void SetHistoEtaRangeAndNBins(Float_t min, Float_t max, Int_t n)
Float_t fHistoXMax
x (cm) position maximum value.
Float_t GetHistoPOverEMax() const
void SetHistoNCellsRangeAndNBins(Int_t min, Int_t max, Int_t n)
Int_t fHistoV0MMin
Minimum value of V0 multiplicity histogram range.
void SetHistoAsymmetryRangeAndNBins(Float_t min, Float_t max, Int_t n)
void SetHistoV0MultiplicityRangeAndNBins(Int_t min, Int_t max, Int_t n)
Int_t fHistoFinePtBins
fine binning for fhAmpId histogram
Float_t fHistoZMin
z (cm) position minimum value.
Int_t GetHistoV0MultiplicityMax() const
Float_t fHistoSSMax
Shower Shape parameter position maximum value.
Float_t fHistoVertexDistMin
Vertex distance minimum value.
Float_t GetHistoAsymmetryMin() const
Int_t GetHistoV0SignalMax() const
void SetHistoZRangeAndNBins(Float_t min, Float_t max, Int_t n)
Int_t GetHistoNCellsMax() const
void SetHistoV0SignalRangeAndNBins(Int_t min, Int_t max, Int_t n)
Float_t fHistoEtaMin
Minimum value of eta histogram range.
Int_t fHistoV0SBins
Number of bins in V0 signal axis.
Int_t GetHistoTimeBins() const
void SetHistoTimeRangeAndNBins(Float_t min, Float_t max, Int_t n)
Float_t GetHistoPOverEMin() const
Int_t fHistoNClustersMin
Number of clusters minimum value.
Int_t fHistoNClusCellBins
Number of cells per cluster histogram number of bins.
Float_t GetHistoFinePtMin() const
Int_t fHistoNClustersMax
Number of clusters maximum value.
void SetHistoFinePtRangeAndNBins(Float_t min, Float_t max, Int_t n)
Int_t fHistoMassBins
Number of bins in mass axis.
Int_t fHistoTrMMin
Minimum value of track multiplicity histogram range.
const char Option_t
Definition: External.C:48
Float_t fHistoYMax
y (cm) position maximum value.
Float_t GetHistoTimeMax() const
Float_t GetHistoTimeMin() const
Float_t GetHistoShowerShapeMax() const
Float_t GetHistoOpeningAngleMin() const
void SetHistoShowerShapeRangeAndNBins(Float_t min, Float_t max, Int_t n)
Float_t GetHistoPhiMax() const
Int_t GetHistoNCellsBins() const
Int_t fHistoTimeBins
Cell time histogram number of bins.
void SetHistodEdxRangeAndNBins(Float_t min, Float_t max, Int_t n)
Int_t GetHistoEtaBins() const
Int_t fHistoV0SMin
Minimum value of V0 signal histogram range.
Float_t fHistodEdxMin
dEdx minimum value.
Float_t GetHistoTrackResidualEtaMax() const
Float_t fHistoPtMax
Maximum value of pt histogram range.
Float_t GetHistoFinePtMax() const
void SetHistoHBPRangeAndNBins(Float_t min, Float_t max, Int_t n)
Float_t GetHistoYMin() const
Float_t GetHistoDeltaPhiMin() const
Int_t fHistoRBins
r =sqrt(x^2+y^2+z^2) (cm) position histogram number of bins.
void SetHistoRRangeAndNBins(Float_t min, Float_t max, Int_t n)
Int_t fHistoNClustersBins
Number of clusters histogram number of bins.
void SetHistoVertexDistRangeAndNBins(Float_t min, Float_t max, Int_t n)
Float_t GetHistoPtSumMax() const
void SetHistoDiffTimeRangeAndNBins(Float_t min, Float_t max, Int_t n)
Float_t fHistoEDiffMax
Energy difference maximum value.
Float_t GetHistoPtInConeMin() const
Int_t GetHistodRBins() const
Float_t fHistoHBPMax
Hump-backed plateau maximum value.
Float_t GetHistoEnergyMin() const
Int_t fHistoV0MMax
Maximum value of V0 multiplicity histogram range.
void SetHistoRatioRangeAndNBins(Float_t min, Float_t max, Int_t n)
Int_t GetHistoNClustersMax() const
Float_t fHistoPtMin
Minimum value of pt histogram range.
Float_t GetHistoDeltaEtaMax() const
Float_t fHistoMassMin
Minimum value of mass histogram range.