2 // Class that contains the central multiplicity data per event
4 // This class contains a histogram of
6 // \frac{d^2N_{ch}}{d\eta d\phi}\quad,
8 // as well as a trigger mask for each analysed event.
10 // The eta acceptance of the event is stored in the underflow bins of
11 // the histogram. So to build the final histogram, one needs to
12 // correct for this acceptance (properly weighted by the events), and
13 // the vertex efficiency. This simply boils down to defining a 2D
14 // histogram and summing the event histograms in that histogram. One
15 // should of course also do proper book-keeping of the accepted event.
17 #include "AliAODCentralMult.h"
21 #include <TObjString.h>
23 ClassImp(AliAODCentralMult)
28 //____________________________________________________________________
29 AliAODCentralMult::AliAODCentralMult()
38 //____________________________________________________________________
39 AliAODCentralMult::AliAODCentralMult(Bool_t isMC)
41 fHist("centralMult", "d^{2}N_{ch}/d#etad#varphi in the central regions",
42 200, -4, 6, 20, 0, 2*TMath::Pi())
48 // isMC If set to true this is for MC data (effects branch name)
50 fHist.SetXTitle("#eta");
51 fHist.SetYTitle("#varphi [radians]");
52 fHist.SetZTitle("#frac{d^{2}N_{ch}}{d#etad#varphi}");
53 fHist.SetDirectory(0);
56 //____________________________________________________________________
58 AliAODCentralMult::Clear(Option_t*) {
63 //____________________________________________________________________
65 AliAODCentralMult::Init(const TAxis& etaAxis)
67 // Initialize the histogram with an eta axis
70 // etaAxis Eta axis to use
72 fHist.SetBins(etaAxis.GetNbins(), etaAxis.GetXmin(), etaAxis.GetXmax(),
73 20, 0, 2*TMath::Pi());
76 //____________________________________________________________________
78 AliAODCentralMult::Browse(TBrowser* b)
88 //____________________________________________________________________
90 AliAODCentralMult::Print(Option_t* option) const
95 // option Passed to TH1::Print
99 //____________________________________________________________________