3 // $Id: AliHLTMultiplicityCorrelations.h $
4 #ifndef ALIHLTMULTIPLICITYCORRELATIONS_H
5 #define ALIHLTMULTIPLICITYCORRELATIONS_H
7 /* This file is property of and copyright by the ALICE HLT Project *
8 * ALICE Experiment at CERN, All rights reserved. *
9 * See cxx source for full Copyright notice */
11 /** @file AliHLTMultiplicityCorrelations.h
12 @author Jochen Thaeder
14 @brief Correlation plots for multiplicity studies
17 // see below for class documentation
19 // refer to README to build package
21 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
23 #include "AliHLTLogging.h"
25 #include "AliESDtrackCuts.h"
26 #include "AliESDEvent.h"
27 #include "AliESDVZERO.h"
28 #include "AliESDZDC.h"
36 * @class AliHLTMultiplicityCorrelations
38 * @ingroup alihlt_physics
41 class AliHLTMultiplicityCorrelations : public TObject, public AliHLTLogging {
45 * ---------------------------------------------------------------------------------
46 * Constructor / Destructor
47 * ---------------------------------------------------------------------------------
51 AliHLTMultiplicityCorrelations();
54 ~AliHLTMultiplicityCorrelations();
57 * ---------------------------------------------------------------------------------
58 * Initialize / Setup / Reset - public
59 * ---------------------------------------------------------------------------------
62 /** Initialize class and members */
66 * ---------------------------------------------------------------------------------
68 * ---------------------------------------------------------------------------------
71 /** Set ESD track cuts */
72 void SetESDTrackCuts(AliESDtrackCuts *cuts) { fESDTrackCuts = cuts; }
74 /** Set Binning of VZERO */
75 void SetBinningVzero(Int_t i=1, Float_t f1=0., Float_t f2=1.) {
76 fVzeroBinning = i; fVzeroBinningMin = f1; fVzeroBinningMax = f2;
79 /** Set Binning of TPC */
80 void SetBinningTpc(Int_t i=1, Float_t f1=0., Float_t f2=1.) {
81 fTpcBinning = i; fTpcBinningMin = f1; fTpcBinningMax = f2;
84 /** Set Binning of ZDC */
85 void SetBinningZdc(Int_t i=1, Float_t f1=0., Float_t f2=1.) {
86 fZdcBinning = i; fZdcBinningMin = f1; fZdcBinningMax = f2;
89 /** Set Binning of ZEM */
90 void SetBinningZem(Int_t i=1, Float_t f1=0., Float_t f2=1.) {
91 fZemBinning = i; fZemBinningMin = f1; fZemBinningMax = f2;
94 /** Set Binning of ZNP */
95 void SetBinningZnp(Int_t i=1, Float_t f1=0., Float_t f2=1.) {
96 fZnpBinning = i; fZnpBinningMin = f1; fZnpBinningMax = f2;
100 * ---------------------------------------------------------------------------------
102 * ---------------------------------------------------------------------------------
105 /** Get List of histograms */
106 TList* GetHistList() const { return fHistList; }
109 * ---------------------------------------------------------------------------------
111 * ---------------------------------------------------------------------------------
114 /** Process current event */
115 Int_t ProcessEvent( AliESDEvent *esd );
117 ///////////////////////////////////////////////////////////////////////////////////
121 /** copy constructor prohibited */
122 AliHLTMultiplicityCorrelations(const AliHLTMultiplicityCorrelations&);
124 /** assignment operator prohibited */
125 AliHLTMultiplicityCorrelations& operator=(const AliHLTMultiplicityCorrelations&);
128 * ---------------------------------------------------------------------------------
129 * Initialize / Setup / Reset - private
130 * ---------------------------------------------------------------------------------
134 * param esd Ptr to AliESDEvent
135 * return kTRUE if AliESDEvent and Vertex present
137 Bool_t AddESDEvent( AliESDEvent* esd );
139 /** Setup histograms */
140 Int_t SetupHistograms();
142 /** Setup VZERO histograms */
145 /** Setup ZDC histograms */
148 /** Setup TPC histograms */
151 /** Setup correlation histograms */
152 Int_t SetupCorrelations();
155 * ---------------------------------------------------------------------------------
157 * ---------------------------------------------------------------------------------
160 /** Process current event - TPC */
163 /** Process current event - VZERO */
164 Int_t ProcessVZERO();
166 /** Process current event - ZDC and correlations */
170 * ---------------------------------------------------------------------------------
172 * ---------------------------------------------------------------------------------
175 /** List of histograms */
176 TList *fHistList; // see above
178 /** Ptr to AliESDEvent */
179 AliESDEvent *fESDEvent; //! transient
181 /** Ptr to ZDC object in AliESDEvent*/
182 AliESDZDC *fESDZDC; //! transient
184 /** Ptr to VZERO object in AliESDEvent*/
185 AliESDVZERO *fESDVZERO; //! transient
187 /** Ptr to AliESD track cuts */
188 AliESDtrackCuts *fESDTrackCuts; //! transient
190 // -- -- -- -- -- -- -- -- -- -- -- -- -- --
195 /** N ESD tracks accepted */
201 /** N TPC tracks accepted */
213 /** VZERO flagged mult */
214 Float_t fVzeroMultFlagged;
216 /** VZERO flagged mult A */
217 Float_t fVzeroMultFlaggedA;
219 /** VZERO flagged mult C */
220 Float_t fVzeroMultFlaggedC;
224 /** Binnning VZERO */
226 Float_t fVzeroBinningMin;
227 Float_t fVzeroBinningMax;
231 Float_t fTpcBinningMin;
232 Float_t fTpcBinningMax;
236 Float_t fZdcBinningMin;
237 Float_t fZdcBinningMax;
241 Float_t fZemBinningMin;
242 Float_t fZemBinningMax;
246 Float_t fZnpBinningMin;
247 Float_t fZnpBinningMax;
249 ClassDef(AliHLTMultiplicityCorrelations, 1);