2 // See implementation or Doxygen comments for more information
4 #ifndef ALIAODCENTRALMULT_H
5 #define ALIAODCENTRALMULT_H
10 * Class that contains the central multiplicity data per event
12 * This class contains a histogram of
14 * \frac{d^2N_{ch}}{d\eta d\phi}\quad,
16 * as well as a trigger mask for each analysed event.
18 * The eta acceptance of the event is stored in the underflow bins of
19 * the histogram. So to build the final histogram, one needs to
20 * correct for this acceptance (properly weighted by the events), and
21 * the vertex efficiency. This simply boils down to defining a 2D
22 * histogram and summing the event histograms in that histogram. One
23 * should of course also do proper book-keeping of the accepted event.
26 class AliAODCentralMult : public TObject
33 * Used by ROOT I/O sub-system - do not use
39 * @param isMC Whether this was from MC or not
41 AliAODCentralMult(Bool_t isMC);
45 virtual ~AliAODCentralMult() {} // Destructor
49 * @param etaAxis Pseudo-rapidity axis
51 void Init(const TAxis& etaAxis);
53 * Get the @f$ d^2N_{ch}/d\eta d\phi@f$ histogram,
55 * @return @f$ d^2N_{ch}/d\eta d\phi@f$ histogram,
57 const TH2D& GetHistogram() const { return fHist; } // Get histogram
59 * Get the @f$ d^2N_{ch}/d\eta d\phi@f$ histogram,
61 * @return @f$ d^2N_{ch}/d\eta d\phi@f$ histogram,
63 TH2D& GetHistogram() { return fHist; } // Get histogram
65 * Clear Object between events
69 void Clear(Option_t*);
75 void Browse(TBrowser* b);
81 Bool_t IsFolder() const { return kTRUE; } // Always true
85 * @param option Passed verbatim to TH2::Print
87 void Print(Option_t* option="") const;
90 * Get the name of the object
92 * @return Name of object
94 const Char_t* GetName() const { return (fIsMC ? "CentralClustersMC" : "CentralClusters"); }
97 Bool_t fIsMC; // Whether this is from MC
98 TH2D fHist; // Histogram of d^2N_{ch}/(deta dphi) for this event
100 ClassDef(AliAODCentralMult,1); // AOD forward multiplicity