AliPhysics  59e0e03 (59e0e03)
AliHistogramRanges.cxx
Go to the documentation of this file.
1 /**************************************************************************
2  * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3  * *
4  * Author: The ALICE Off-line Project. *
5  * Contributors are mentioned in the code where appropriate. *
6  * *
7  * Permission to use, copy, modify and distribute this software and its *
8  * documentation strictly for non-commercial purposes is hereby granted *
9  * without fee, provided that the above copyright notice appears in all *
10  * copies and that both the copyright notice and this permission notice *
11  * appear in the supporting documentation. The authors make no claims *
12  * about the suitability of this software for any purpose. It is *
13  * provided "as is" without express or implied warranty. *
14  **************************************************************************/
15 
16 #include "TMath.h"
17 
18 #include "AliHistogramRanges.h"
19 
21 ClassImp(AliHistogramRanges) ;
23 
24 //_______________________________________________
26 //_______________________________________________
28 TObject(),
29 fHistoPtBins(0), fHistoPtMax(0.), fHistoPtMin(0.),
30 fHistoPhiBins(0), fHistoPhiMax(0.), fHistoPhiMin(0.),
31 fHistoEtaBins(0), fHistoEtaMax(0.), fHistoEtaMin(0.),
32 fHistoDeltaPhiBins(0), fHistoDeltaPhiMax(0.), fHistoDeltaPhiMin(0.),
33 fHistoDeltaEtaBins(0), fHistoDeltaEtaMax(0.), fHistoDeltaEtaMin(0.),
34 fHistoMassBins(0), fHistoMassMax(0.), fHistoMassMin(0.),
35 fHistoAsymBins(0), fHistoAsymMax(0.), fHistoAsymMin(0.),
36 fHistoV0SBins(0), fHistoV0SMax(0), fHistoV0SMin(0),
37 fHistoV0MBins(0), fHistoV0MMax(0), fHistoV0MMin(0),
38 fHistoTrMBins(0), fHistoTrMMax(0), fHistoTrMMin(0),
39 fHistoFinePtBins(1000), fHistoFinePtMax(5.), fHistoFinePtMin(0.),
40 fHistoPOverEBins(100), fHistoPOverEMax(100.), fHistoPOverEMin(0.),
41 fHistodEdxBins(100), fHistodEdxMax(100.), fHistodEdxMin(0.),
42 fHistodRBins(100), fHistodRMax(100.), fHistodRMin(0.),
43 fHistoTimeBins(100), fHistoTimeMax(100.), fHistoTimeMin(0.),
44 fHistoNClusCellBins(100), fHistoNClusCellMax(100), fHistoNClusCellMin(0),
45 fHistoNCellsBins(100), fHistoNCellsMax(100), fHistoNCellsMin(0),
46 fHistoNClustersBins(100), fHistoNClustersMax(100), fHistoNClustersMin(0),
47 fHistoRatioBins(100), fHistoRatioMax(100.), fHistoRatioMin(0.),
48 fHistoEDiffBins(100), fHistoEDiffMax(100.), fHistoEDiffMin(-100.),
49 fHistoHBPBins(100), fHistoHBPMax(100.), fHistoHBPMin(0.),
50 fHistoVertexDistBins(100), fHistoVertexDistMax(100.), fHistoVertexDistMin(0.),
51 fHistoRBins(100), fHistoRMax(1000), fHistoRMin(-1000),
52 fHistoXBins(100), fHistoXMax(1000), fHistoXMin(-1000),
53 fHistoYBins(100), fHistoYMax(1000), fHistoYMin(-1000),
54 fHistoZBins(100), fHistoZMax(1000), fHistoZMin(-1000),
55 fHistoSSBins(0), fHistoSSMax(0), fHistoSSMin(0),
56 fHistoDiffTimeBins(0), fHistoDiffTimeMax(0), fHistoDiffTimeMin(0),
57 fHistoTrackResidualEtaBins(0),fHistoTrackResidualEtaMax(0),fHistoTrackResidualEtaMin(0),
58 fHistoTrackResidualPhiBins(0),fHistoTrackResidualPhiMax(0),fHistoTrackResidualPhiMin(0),
59 fHistoNPtSumBins(0), fHistoPtSumMax(0.), fHistoPtSumMin(0.),
60 fHistoNPtInConeBins(0), fHistoPtInConeMax(0.), fHistoPtInConeMin(0.),
61 fHistoOpAngleBins(200), fHistoOpAngleMax(0.7), fHistoOpAngleMin(0.)
62 {
64 }
65 
66 //_______________________________________
68 //_______________________________________
70 {
71  fHistoPtBins = 240 ; fHistoPtMax = 120 ; fHistoPtMin = 0. ;
72  fHistoPhiBins = 120 ; fHistoPhiMax = TMath::TwoPi(); fHistoPhiMin = 0. ;
73  fHistoEtaBins = 100 ; fHistoEtaMax = 1 ; fHistoEtaMin = -1 ;
76  fHistoMassBins = 200 ; fHistoMassMax = 1. ; fHistoMassMin = 0. ;
77  fHistoAsymBins = 10 ; fHistoAsymMax = 1. ; fHistoAsymMin = 0. ;
78  fHistoV0SBins = 100 ; fHistoV0SMax = 10000 ; fHistoV0SMin = 0 ;
79  fHistoV0MBins = 100; fHistoV0MMax = 10000 ; fHistoV0MMin = 0 ;
80  fHistoTrMBins = 200 ; fHistoTrMMax = 200 ; fHistoTrMMin = 0 ;
81  fHistoPOverEBins = 100 ; fHistoPOverEMax = 10. ; fHistoPOverEMin = 0. ;
82  fHistodEdxBins = 200 ; fHistodEdxMax = 400. ; fHistodEdxMin = 0. ;
83  fHistodRBins = 300 ; fHistodRMax = 3.15 ; fHistodRMin = 0. ;
84  fHistoTimeBins = 200; fHistoTimeMax = 200 ; fHistoTimeMin =-200.;//ns
88  fHistoRatioBins = 200 ; fHistoRatioMax = 2 ; fHistoRatioMin = 0. ;
89  fHistoEDiffBins = 200 ; fHistoEDiffMax = 10 ; fHistoEDiffMin =-10. ;
90  fHistoHBPBins = 200 ; fHistoHBPMax = 10 ; fHistoHBPMin = 0. ;
92  fHistoRBins = 100 ; fHistoRMax = 500 ; fHistoRMin = -500;//cm
93  fHistoXBins = 100 ; fHistoXMax = 500 ; fHistoXMin = -500;//cm
94  fHistoYBins = 100 ; fHistoYMax = 500 ; fHistoYMin = -500;//cm
95  fHistoZBins = 100 ; fHistoZMax = 600 ; fHistoZMin = -500;//cm
96  fHistoSSBins = 500 ; fHistoSSMax = 5 ; fHistoSSMin = 0 ;
97  fHistoDiffTimeBins = 400 ; fHistoDiffTimeMax = 400 ; fHistoDiffTimeMin = -400;// ns
98  fHistoNPtSumBins = 100 ; fHistoPtSumMax = 50 ; fHistoPtSumMin = 0. ;
101 
104 }
105 
106 //________________________________________________________
107 // Print histogram parameters
108 //________________________________________________________
109 void AliHistogramRanges::Print(const Option_t * /*opt*/) const
110 {
111  printf("Histograms: %3.1f < pT < %3.1f, Nbin = %d\n" , fHistoPtMin, fHistoPtMax, fHistoPtBins);
112  printf("Histograms: %3.1f < phi < %3.1f, Nbin = %d\n" , fHistoPhiMin, fHistoPhiMax, fHistoPhiBins);
113  printf("Histograms: %3.1f < eta < %3.1f, Nbin = %d\n" , fHistoEtaMin, fHistoEtaMax, fHistoEtaBins);
114  printf("Histograms: %3.1f < delta phi < %3.1f, Nbin = %d\n" , fHistoDeltaPhiMin, fHistoDeltaPhiMax, fHistoDeltaPhiBins);
115  printf("Histograms: %3.1f < delta eta < %3.1f, Nbin = %d\n" , fHistoDeltaEtaMin, fHistoDeltaEtaMax, fHistoDeltaEtaBins);
116  printf("Histograms: %3.1f < mass < %3.1f, Nbin = %d\n" , fHistoMassMin, fHistoMassMax, fHistoMassBins);
117  printf("Histograms: %3.1f < asymmetry < %3.1f, Nbin = %d\n" , fHistoAsymMin, fHistoAsymMax, fHistoAsymBins);
118  printf("Histograms: %d < V0 Signal < %d, Nbin = %d\n" , fHistoV0SMin, fHistoV0SMax, fHistoV0SBins);
119  printf("Histograms: %d < V0 Mult < %d, Nbin = %d\n" , fHistoV0MMin, fHistoV0MMax, fHistoV0MBins);
120  printf("Histograms: %d < Track Mult < %d, Nbin = %d\n" , fHistoTrMMin, fHistoTrMMax, fHistoTrMBins);
121  printf("Histograms: %3.1f < p/E < %3.1f, Nbin = %d\n" , fHistoPOverEMin, fHistoPOverEMax, fHistoPOverEBins);
122  printf("Histograms: %3.1f < dEdx < %3.1f, Nbin = %d\n" , fHistodEdxMin, fHistodEdxMax, fHistodEdxBins);
123  printf("Histograms: %3.1f < dR (track cluster)< %3.1f, Nbin = %d\n", fHistodRMin, fHistodRMax, fHistodRBins);
124  printf("Histograms: %3.1f < R=sqrt{x^2+y^2} < %3.1f, Nbin = %d\n", fHistoRMin, fHistoRMax, fHistoRBins);
125  printf("Histograms: %3.1f < X < %3.1f, Nbin = %d\n" , fHistoXMin, fHistoXMax, fHistoXBins);
126  printf("Histograms: %3.1f < Y < %3.1f, Nbin = %d\n" , fHistoYMin, fHistoYMax, fHistoYBins);
127  printf("Histograms: %3.1f < Z < %3.1f, Nbin = %d\n" , fHistoZMin, fHistoZMax, fHistoZBins);
128  printf("Histograms: %g < Time < %g, Nbin = %d\n" , fHistoTimeMin, fHistoTimeMax, fHistoTimeBins);
129  printf("Histograms: %d < N cells per cluster < %d, Nbin = %d\n" , fHistoNClusCellMin, fHistoNClusCellMax, fHistoNClusCellBins);
130  printf("Histograms: %d < N cells < %d, Nbin = %d\n" , fHistoNCellsMin, fHistoNCellsMax, fHistoNCellsBins);
131  printf("Histograms: %d < N clusters < %d, Nbin = %d\n" , fHistoNClustersMin, fHistoNClustersMax, fHistoNClustersBins);
132  printf("Histograms: %3.1f < Ratio< %3.1f, Nbin = %d\n" , fHistoRatioMin, fHistoRatioMax, fHistoRatioBins);
133  printf("Histograms: %3.1f < En diff< %3.1f, Nbin = %d\n" , fHistoEDiffMin, fHistoEDiffMax, fHistoEDiffBins);
134  printf("Histograms: %3.1f < HBP< %3.1f, Nbin = %d\n" , fHistoHBPMin, fHistoHBPMax, fHistoHBPBins);
135  printf("Histograms: %3.1f < Vertex Distance < %3.1f, Nbin = %d\n", fHistoVertexDistMin, fHistoVertexDistMax, fHistoVertexDistBins);
136  printf("Histograms: %3.1f < pT sum < %3.1f, Nbin = %d\n" , fHistoPtSumMin, fHistoPtSumMax, fHistoNPtSumBins );
137  printf("Histograms: %3.1f < pT in cone < %3.1f, Nbin = %d\n" , fHistoPtInConeMin, fHistoPtInConeMax, fHistoNPtInConeBins);
138  printf("Histograms: %3.1f < Op. angle < %3.1f, Nbin = %d\n" , fHistoOpAngleMin, fHistoOpAngleMax, fHistoOpAngleBins);
139  printf("Histograms: %2.2f < Residual Eta(Z) < %2.2f, Nbin = %d\n", fHistoTrackResidualEtaMin, fHistoTrackResidualEtaMax,fHistoTrackResidualEtaBins);
140  printf("Histograms: %2.2f < Residual Phi(R,X) < %2.2f, Nbin = %d\n", fHistoTrackResidualPhiMin, fHistoTrackResidualPhiMax,fHistoTrackResidualPhiBins);
141 
142  printf(" \n") ;
143 }
144 
145 
146 
Float_t fHistoHBPMin
Hump-backed plateau minimum value.
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 fHistodEdxBins
dEdx histogram number of bins.
Float_t fHistoAsymMax
Maximum value of asymmetry histogram range.
Float_t fHistoPtSumMax
Isolation PtSum maximum in histogram.
Int_t fHistoNCellsMin
Number of cells minimum value.
Float_t fHistodRMin
dR minimum value.
Int_t fHistoSSBins
Shower Shape parameter histogram number of bins.
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.
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 fHistoDeltaPhiBins
Number of bins in delta phi axis.
Float_t fHistoPtInConeMin
Isolation PtInCone maximum in histogram.
Int_t fHistoTrMMax
Maximum value of track multiplicity histogram range.
Float_t fHistoVertexDistMax
Vertex distance maximum value.
Int_t fHistoPhiBins
Number of bins in phi axis.
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.
Int_t fHistoNPtInConeBins
Number of bins in Isolation PtInCone histogram.
Float_t fHistoTrackResidualPhiMax
Maximum value of dPhi (cluster-track) histogram range.
Int_t fHistoNClusCellMax
Number of cells per cluster maximum value.
Int_t fHistoNCellsMax
Number of cells maximum value.
Float_t fHistoPtInConeMax
Isolation PtInCone maximum in histogram.
Float_t fHistoAsymMin
Minimum value of asymmetry histogram range.
Float_t fHistoTrackResidualEtaMax
Maximum value of dEta (cluster-track) histogram range.
Float_t fHistoTimeMax
Cell time maximum value.
AliHistogramRanges()
Default constructor. Initialize parameters.
Float_t fHistoEtaMax
Maximum value of eta histogram range.
Float_t fHistoPOverEMax
p/E maximum value.
Int_t fHistoTrackResidualEtaBins
Number of bins in dEta (cluster-track) axis.
Float_t fHistoPhiMin
Minimum value of phi histogram range.
Float_t fHistoOpAngleMax
Maximum value of pair opening angle histogram range.
Int_t fHistoPOverEBins
p/E histogram number of bins.
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.
Int_t fHistoVertexDistBins
Vertex distance histogram number of bins.
Int_t fHistoTrMBins
Number of bins in V0 multiplicity axis.
Float_t fHistodRMax
dR maximum value.
Float_t fHistoPtSumMin
Isolation PtSum minimum in histogram.
Int_t fHistoAsymBins
Number of bins in asymmetry axis.
Float_t fHistoTimeMin
Cell time minimum value.
Int_t fHistoNCellsBins
Number of cells histogram number of bins.
Int_t fHistoTrackResidualPhiBins
Number of bins in dPhi axis.
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.
Float_t fHistoDiffTimeMax
Difference cluster pair time parameter position maximum value.
Float_t fHistoTrackResidualPhiMin
Minimum value of dPhi (cluster-track) histogram range.
Int_t fHistoRatioBins
Ratio histogram number of bins.
Int_t fHistoHBPBins
Hump-backed plateau histogram number of bins.
Float_t fHistoDeltaEtaMax
Maximum value of delta eta histogram range.
Float_t fHistoOpAngleMin
Minimum value of pair opening angle histogram range.
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.
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.
Class containing more common histogram axis types.
Float_t fHistoZMax
z (cm) position maximum value.
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 fHistoEtaBins
Number of bins in eta axis.
Float_t fHistoEDiffMin
Energy difference minimum value.
Float_t fHistoRMin
r =sqrt(x^2+y^2+z^2) (cm) minimum value.
Float_t fHistoXMax
x (cm) position maximum value.
Int_t fHistoV0MMin
Minimum value of V0 multiplicity histogram range.
Float_t fHistoZMin
z (cm) position minimum value.
Float_t fHistoSSMax
Shower Shape parameter position maximum value.
Float_t fHistoVertexDistMin
Vertex distance minimum value.
Float_t fHistoEtaMin
Minimum value of eta histogram range.
Int_t fHistoV0SBins
Number of bins in V0 signal axis.
Int_t fHistoNClustersMin
Number of clusters minimum value.
Int_t fHistoNClusCellBins
Number of cells per cluster histogram number of bins.
Int_t fHistoNClustersMax
Number of clusters maximum value.
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.
Int_t fHistoTimeBins
Cell time histogram number of bins.
Int_t fHistoV0SMin
Minimum value of V0 signal histogram range.
Float_t fHistodEdxMin
dEdx minimum value.
Float_t fHistoPtMax
Maximum value of pt histogram range.
Int_t fHistoRBins
r =sqrt(x^2+y^2+z^2) (cm) position histogram number of bins.
Int_t fHistoNClustersBins
Number of clusters histogram number of bins.
Float_t fHistoEDiffMax
Energy difference maximum value.
Float_t fHistoHBPMax
Hump-backed plateau maximum value.
Int_t fHistoV0MMax
Maximum value of V0 multiplicity histogram range.
Float_t fHistoPtMin
Minimum value of pt histogram range.
Float_t fHistoMassMin
Minimum value of mass histogram range.