AliPhysics  cdeda5a (cdeda5a)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliAnaCaloTrackCorrBaseClass.h
Go to the documentation of this file.
1 #ifndef ALIANACALOTRACKCORRBASECLASS_H
2 #define ALIANACALOTRACKCORRBASECLASS_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice */
5 
6 //_________________________________________________________________________
22 //_________________________________________________________________________
23 
24 #include <cstdlib>
25 
26 //ROOT
27 #include <TList.h>
28 #include <TObject.h>
29 class TClonesArray ;
30 class TObjArray ;
31 class TObjString;
32 
33 //Analysis
34 #include "AliCaloTrackReader.h"
35 #include "AliCaloPID.h"
36 #include "AliFiducialCut.h"
37 #include "AliIsolationCut.h"
38 #include "AliMCAnalysisUtils.h"
40 #include "AliCalorimeterUtils.h"
41 #include "AliHistogramRanges.h"
42 #include "AliAODPWG4ParticleCorrelation.h"
43 #include "AliMixedEvent.h"
44 class AliVCaloCells;
45 class AliStack ;
46 class AliHeader ;
47 class AliGenEventHeader ;
48 class AliEMCALGeometry;
49 class AliPHOSGeoUtils;
50 class AliCentrality;
51 class AliMultSelection;
52 class AliEventplane;
53 #include "AliAnalysisManager.h"
54 #include "AliLog.h"
55 
56 // Jets
57 class AliAODJetEventBackground;
58 
60 
61 public:
62 
63  AliAnaCaloTrackCorrBaseClass() ; // default ctor
64  virtual ~AliAnaCaloTrackCorrBaseClass() ; // virtual dtor
65 
66  // General methods, to be declared in deriving classes if needed
67 
68  virtual TList * GetCreateOutputObjects() { return (new TList) ; }
69 
70  virtual void Init() { ; }
71  virtual void InitDebug() ;
72  virtual void InitParameters() ;
73 
74  virtual void FillEventMixPool() { ; }
75 
76  virtual void MakeAnalysisFillAOD() { ; }
77 
78  virtual void MakeAnalysisFillHistograms() { ; }
79 
80  virtual void Print(const Option_t * ) const ;
81 
82  virtual void Terminate(TList * /*outputList*/) { ; }
83 
84  // Histograms, cuts
85 
86  virtual void AddToHistogramsName(TString add) { fAddToHistogramsName = add ; }
88 
89  virtual TObjString * GetAnalysisCuts() { return 0x0 ; }
91 
92  // Getters, setters
93 
94  virtual Int_t GetDebug() const { return fDebug ; }
95  virtual void SetDebug(Int_t d) { fDebug = d ; }
96 
97  virtual Int_t GetEventNumber() const ;
98 
99  // Centrality, multiplicity selection
100 
101  virtual Int_t GetTrackMultiplicity() const { return fReader->GetTrackMultiplicity() ; }
102  virtual AliCentrality* GetCentrality() const { return fReader->GetCentrality() ; }
103  virtual AliMultSelection* GetMultSelCen() const { return fReader->GetMultSelCen() ; }
105  return GetTrackMultiplicity();
106  else return fReader->GetEventCentrality(); }
107 
108  // Event plane
109 
110  virtual AliEventplane* GetEventPlane() const { return fReader->GetEventPlane() ; }
111  virtual Double_t GetEventPlaneAngle() const { return fReader->GetEventPlaneAngle() ; }
112  virtual TString GetEventPlaneMethod() const { return fReader->GetEventPlaneMethod() ; }
113 
114  // AOD branch
115 
116  virtual void AddAODParticle(AliAODPWG4Particle part) ;
117 
118  virtual void ConnectInputOutputAODBranches();
119 
120  virtual TClonesArray * GetCreateOutputAODBranch() ;
121 
122  virtual TString GetInputAODName() const { return fInputAODName ; }
123  virtual void SetInputAODName(TString name) { fInputAODName = name ; }
124 
125  virtual TString GetOutputAODName() const { return fOutputAODName ; }
126  virtual void SetOutputAODName(TString name) { fNewAOD = kTRUE ; fOutputAODName = name; }
127 
128  virtual Bool_t NewOutputAOD() const { return fNewAOD ; }
129 
130  virtual TString GetOutputAODClassName() const { return fOutputAODClassName ; }
131  virtual void SetOutputAODClassName(TString name) { fOutputAODClassName = name ; }
132 
133  virtual TString GetAODObjArrayName() const { return fAODObjArrayName ; }
134  virtual void SetAODObjArrayName(TString name) { fAODObjArrayName = name ; }
135 
136  virtual TClonesArray * GetInputAODBranch() const { return fInputAODBranch ; }
137  virtual TClonesArray * GetOutputAODBranch() const { if(fNewAOD) return fOutputAODBranch; else return fInputAODBranch ; }
138  virtual TClonesArray * GetAODBranch(const TString & aodBranchName) const ;
139 
140  // Track cluster arrays access methods
141 
142  virtual TClonesArray* GetAODCaloClusters() const ; // Output AOD clusters, not used?
143  virtual TClonesArray* GetAODTracks() const ; // Output AOD tracks, not used?
144  virtual AliVCaloCells* GetPHOSCells() const { return fReader->GetPHOSCells() ; }
145  virtual AliVCaloCells* GetEMCALCells() const { return fReader->GetEMCALCells() ; }
146  virtual TObjArray* GetCTSTracks() const ;
147  virtual TObjArray* GetEMCALClusters() const ;
148  virtual TObjArray* GetPHOSClusters() const ;
149 
150  // Jets
151 
152  virtual TClonesArray* GetNonStandardJets() const { return fReader->GetNonStandardJets() ;}
153  virtual AliAODJetEventBackground* GetBackgroundJets() const { return fReader->GetBackgroundJets() ;}
154 
155  // Common analysis switchs
156 
158  enum detector
159  {
165  } ;
166 
167  virtual Int_t GetCalorimeter() const { return fCalorimeter ; }
168  virtual TString GetCalorimeterString() const { return fCalorimeterString ; }
169  virtual void SetCalorimeter(TString & calo);
170  virtual void SetCalorimeter(Int_t calo) ;
171 
172  virtual Bool_t IsDataMC() const { return fDataMC ; }
173  virtual void SwitchOnDataMC() { fDataMC = kTRUE ;
174  if(!fMCUtils) fMCUtils = new AliMCAnalysisUtils() ; }
175  virtual void SwitchOffDataMC() { fDataMC = kFALSE ; }
176 
177  virtual Bool_t IsFiducialCutOn() const { return fCheckFidCut ; }
178  virtual void SwitchOnFiducialCut() { fCheckFidCut = kTRUE ;
179  if(!fFidCut) fFidCut = new AliFiducialCut() ; }
180  virtual void SwitchOffFiducialCut() { fCheckFidCut = kFALSE ; }
181 
182  virtual Bool_t IsRealCaloAcceptanceOn() const { return fCheckRealCaloAcc ; }
183  virtual void SwitchOnRealCaloAcceptance() { fCheckRealCaloAcc = kTRUE; }
184  virtual void SwitchOffRealCaloAcceptance() { fCheckRealCaloAcc = kFALSE ; }
185 
186  virtual Bool_t IsCaloPIDOn() const { return fCheckCaloPID ; }
187  virtual void SwitchOnCaloPID() { fCheckCaloPID = kTRUE ;
188  if(!fCaloPID) fCaloPID = new AliCaloPID() ; }
189  virtual void SwitchOffCaloPID() { fCheckCaloPID = kFALSE ; }
190 
191  virtual Bool_t MakePlotsOn() const { return fMakePlots ; }
192  virtual void SwitchOnPlotsMaking() { fMakePlots = kTRUE ; }
193  virtual void SwitchOffPlotsMaking() { fMakePlots = kFALSE ; }
194 
195  virtual Bool_t IsPileUpAnalysisOn() const { return fFillPileUpHistograms ; }
198 
202 
203  // Cluster energy/momentum cut
204 
205  virtual Float_t GetMaxPt() const { return fMaxPt ; }
206  virtual Float_t GetMinPt() const { return fMinPt ; }
207  virtual void SetMaxPt(Float_t pt) { fMaxPt = pt ; }
208  virtual void SetMinPt(Float_t pt) { fMinPt = pt ; }
209  virtual void SetPtCutRange(Double_t mi, Double_t ma) { fMaxPt = ma; fMinPt=mi; }
210 
211  virtual Float_t GetMaxEnergy() const { return fMaxPt ; }
212  virtual Float_t GetMinEnergy() const { return fMinPt ; }
213  virtual void SetMaxEnergy(Float_t e) { fMaxPt = e ; }
214  virtual void SetMinEnergy(Float_t e) { fMinPt = e ; }
215  virtual void SetEnergyCutRange(Double_t mi, Double_t ma) { fMaxPt = ma; fMinPt = mi; }
216 
217  // Cluster Pairs Time cut
218 
219  virtual void SetPairTimeCut(Float_t t) { fPairTimeCut = t ; }
220  virtual Float_t GetPairTimeCut() const { return fPairTimeCut ; }
221 
222  // Number of TRD modules in front of EMCAL (year <=2012)
223 
226 
227  // Getters / Setters for parameters of event buffers
228 
229  virtual Int_t GetNZvertBin() const { return fNZvertBin ; }
230  virtual Int_t GetNRPBin() const { return fNrpBin ; }
231  virtual Int_t GetNCentrBin() const { return fNCentrBin ; }
232  virtual Int_t GetNTrackMultBin() const { return GetNCentrBin(); }
233  virtual Int_t GetNMaxEvMix() const { return fNmaxMixEv ; }
234  virtual Float_t GetZvertexCut() const { return GetReader()->GetZvertexCut();}
235  virtual Int_t GetTrackMultiplicityBin() const ;
236  virtual Int_t GetEventCentralityBin() const ;
237  virtual Int_t GetEventRPBin() const ;
238  virtual Int_t GetEventVzBin() const ;
239  virtual Int_t GetEventMixBin() const ;
240  virtual Int_t GetEventMixBin(Int_t iCen, Int_t iVz, Int_t iRP) const;
241 
242  virtual Double_t GetEventWeight() const { return GetReader()->GetEventWeight() ; }
243 
244  virtual void SetNZvertBin(Int_t n = 1 ) { fNZvertBin = n ; if(n < 1) fNZvertBin = 1 ; }
245  virtual void SetNRPBin (Int_t n = 1 ) { fNrpBin = n ; if(n < 1) fNrpBin = 1 ; }
246  virtual void SetNCentrBin(Int_t n = 1 ) { fNCentrBin = n ; if(n < 1) fNCentrBin = 1 ; }
247  virtual void SetNTrackMultBin(Int_t n = 1 ) { SetNCentrBin(n); }
248  virtual void SetNMaxEvMix(Int_t n = 20) { fNmaxMixEv = n ; if(n < 1) fNmaxMixEv = 1 ; }
249  virtual void SetTrackMultiplicityBin(Int_t bin, Int_t mult) { if(bin < 20) fTrackMultBins[bin] = mult ; }
250 
251  virtual void SwitchOnTrackMultBins() { fUseTrackMultBins = kTRUE ; }
252  virtual void SwitchOffTrackMultBins() { fUseTrackMultBins = kFALSE ; }
253 
254  virtual void SwitchOnOwnMix() { fDoOwnMix = kTRUE ; }
255  virtual void SwitchOffOwnMix() { fDoOwnMix = kFALSE ; }
256 
257  virtual Bool_t DoOwnMix() const { return fDoOwnMix ; }
258  virtual Bool_t UseTrackMultBins() const { return fUseTrackMultBins ; }
259 
260  // Mixed event
261 
262  virtual Int_t CheckMixedEventVertex(Int_t caloLabel, Int_t trackLabel) ;
263 
264  virtual AliMixedEvent * GetMixedEvent() const { return GetReader()->GetMixedEvent() ; }
265 
266  virtual Int_t GetNMixedEvent() const { return GetReader()->GetNMixedEvent() ; }
267 
268  // Vertex methods
269 
270  virtual void GetVertex(Double_t vertex[3]) const { GetReader()->GetVertex(vertex) ; }
271 
272  virtual Double_t* GetVertex(Int_t evtIndex) const { return GetReader()->GetVertex(evtIndex) ; }
273 
274  virtual void GetVertex(Double_t vertex[3],
275  Int_t evtIndex) const { GetReader()->GetVertex(vertex,evtIndex) ; }
276  // VZERO
277 
278  virtual Int_t GetV0Signal(Int_t i ) const { return fReader->GetV0Signal(i) ; }
279 
280  virtual Int_t GetV0Multiplicity(Int_t i ) const { return fReader->GetV0Multiplicity(i) ; }
281 
282 
283  // Some utilities dealing with cluster angles
284 
286  Float_t GetPhi (Float_t phi) const { if ( phi < 0 ) phi += TMath::TwoPi() ; return phi ; }
287 
288  Float_t DegToRad(Float_t deg) const { deg *= TMath::DegToRad(); return deg ; }
289 
290  Float_t RadToDeg(Float_t rad) const { rad *= TMath::RadToDeg(); return rad ; }
291 
292  // Calorimeter specific access methods and calculations
293 
294  virtual Bool_t IsTrackMatched(AliVCluster * cluster, AliVEvent* event)
295  { return GetCaloPID()->IsTrackMatched(cluster, fCaloUtils, event) ; }
296 
297  virtual Int_t GetModuleNumberCellIndexes(Int_t absId, Int_t calo, Int_t & icol, Int_t & irow, Int_t &iRCU) const
298  { return fCaloUtils->GetModuleNumberCellIndexes(absId, calo, icol, irow,iRCU) ; }
299 
301  Int_t & icol, Int_t & irow, Int_t &iRCU,
302  Int_t & icolAbs, Int_t & irowAbs) const
303  { return fCaloUtils->GetModuleNumberCellIndexesAbsCaloMap(absId, calo, icol, irow,iRCU,icolAbs,irowAbs) ; }
304 
305  virtual Int_t GetModuleNumber(AliAODPWG4Particle * part) const
306  { return fCaloUtils->GetModuleNumber(part, fReader->GetInputEvent()) ; }
307 
308  virtual Int_t GetModuleNumber(AliVCluster * cluster) const
309  { return fCaloUtils->GetModuleNumber(cluster) ; }
310 
311  virtual AliVCluster* FindCluster(TObjArray* clusters, Int_t clId, Int_t & iclus, Int_t first = 0 ) ;
312 
313 
314  // MC event acces methods
315 
316  virtual AliStack * GetMCStack() const ;
317 
318  virtual AliHeader* GetMCHeader() const ;
319 
320  virtual AliGenEventHeader * GetMCGenEventHeader() const ;
321 
322  // Analysis helpers classes pointers setters and getters
323 
324  virtual AliCaloPID * GetCaloPID() { if(!fCaloPID) fCaloPID = new AliCaloPID(); return fCaloPID ; }
325 
326  virtual AliCalorimeterUtils * GetCaloUtils() const { return fCaloUtils ; }
327 
328  virtual AliFiducialCut * GetFiducialCut() { if(!fFidCut) fFidCut = new AliFiducialCut(); return fFidCut ; }
329 
331 
332  virtual AliIsolationCut * GetIsolationCut() { if(!fIC) fIC = new AliIsolationCut(); return fIC ; }
333 
335 
337 
338  virtual AliCaloTrackReader * GetReader() const { return fReader ; }
339 
340  virtual AliEMCALGeometry * GetEMCALGeometry() const { return fCaloUtils->GetEMCALGeometry() ; }
341 
342  virtual AliPHOSGeoUtils * GetPHOSGeometry() const { return fCaloUtils->GetPHOSGeometry() ; }
343 
344  virtual void SetCaloPID(AliCaloPID * pid) { delete fCaloPID; fCaloPID = pid ; }
345 
346  virtual void SetCaloUtils(AliCalorimeterUtils * caloutils) { fCaloUtils = caloutils ; }
347 
348  virtual void SetFiducialCut(AliFiducialCut * fc) { delete fFidCut; fFidCut = fc ; }
349 
350  virtual void SetHistogramRanges(AliHistogramRanges * hr) { delete fHisto; fHisto = hr ; }
351 
352  virtual void SetIsolationCut(AliIsolationCut * ic) { delete fIC; fIC = ic ; }
353 
354  virtual void SetMCAnalysisUtils(AliMCAnalysisUtils * mcutils) { delete fMCUtils; fMCUtils = mcutils ; }
355 
356  virtual void SetNeutralMesonSelection(AliNeutralMesonSelection * const nms) { delete fNMS; fNMS = nms ; }
357 
358  virtual void SetReader(AliCaloTrackReader * reader) { fReader = reader ; }
359 
360  // Cocktail generator studies
361 
365 
368 
369  void SetCocktailGenNameToCheck(Int_t i, TString v){ if(i < 10) fCocktailGenNames[i] = v ; }
370  TString GetCocktailGenNameToCheck(Int_t i) const { if(i < 10) return fCocktailGenNames[i];
371  else return "" ; }
372  Int_t GetCocktailGeneratorBackgroundTag(AliVCluster * clus, TString & genName, TString & genNameBkg);
373 
374 private:
375 
388 
399 
400  TClonesArray* fInputAODBranch ;
402  TClonesArray* fOutputAODBranch ;
408 
409  // Analysis helper classes access pointers
418 
419  // Cocktail generator studies
423 
426 
429 
431  ClassDef(AliAnaCaloTrackCorrBaseClass,28) ;
433 
434 } ;
435 
436 #endif //ALIANACALOTRACKCORRBASECLASS_H
437 
438 
439 
virtual void SetCaloUtils(AliCalorimeterUtils *caloutils)
virtual Float_t GetZvertexCut() const
AliFiducialCut * fFidCut
Acceptance cuts detector dependent.
TString fOutputAODName
Name of output AOD branch.
virtual AliHeader * GetMCHeader() const
virtual void SetMCAnalysisUtils(AliMCAnalysisUtils *mcutils)
virtual ~AliAnaCaloTrackCorrBaseClass()
Destructor.
AliAnaCaloTrackCorrBaseClass & operator=(const AliAnaCaloTrackCorrBaseClass &bc)
Assignment operator not implemented.
virtual TObjArray * GetCTSTracks() const
virtual void InitParameters()
Initialize the parameters of the analysis.
virtual void SetNeutralMesonSelection(AliNeutralMesonSelection *const nms)
double Double_t
Definition: External.C:58
Int_t fNCentrBin
Number of bins in event container for centrality.
virtual void AddToHistogramsName(TString add)
virtual AliVCaloCells * GetEMCALCells() const
virtual TClonesArray * GetNonStandardJets() const
virtual AliVCaloCells * GetPHOSCells() const
virtual AliCentrality * GetCentrality() const
Int_t fTrackMultBins[20]
Multiplicity bins limits. Number of bins set with SetNTrackMult() that calls SetNCentrBin().
Class with utils to perform Isolation Cuts.
virtual Int_t GetModuleNumberCellIndexesAbsCaloMap(Int_t absId, Int_t calo, Int_t &icol, Int_t &irow, Int_t &iRCU, Int_t &icolAbs, Int_t &irowAbs) const
Bool_t fFillPileUpHistograms
Fill pile-up related histograms.
virtual void SetCaloPID(AliCaloPID *pid)
virtual Float_t GetPairTimeCut() const
Time cut in ns.
Bool_t fCheckFidCut
Do analysis for clusters in defined region.
virtual void GetVertex(Double_t vertex[3]) const
Float_t GetPhi(Float_t phi) const
Shift phi angle in case of negative value 360 degrees. Example TLorenzVector::Phi defined in -pi to p...
virtual AliAODJetEventBackground * GetBackgroundJets() const
virtual AliVEvent * GetInputEvent() const
Bool_t fDoOwnMix
Do combinatorial background not the one provided by the frame.
virtual void SetCalorimeter(TString &calo)
Set the calorimeter for the analysis. A string.
virtual void SetInputAODName(TString name)
virtual Int_t GetNTrackMultBin() const
Number of bins in centrality.
Float_t DegToRad(Float_t deg) const
AliPHOSGeoUtils * GetPHOSGeometry() const
virtual AliIsolationCut * GetIsolationCut()
virtual void SetEnergyCutRange(Double_t mi, Double_t ma)
virtual Float_t GetZvertexCut() const
Maximal number of events for mixin.
Int_t GetV0Signal(Int_t i) const
virtual TClonesArray * GetNonStandardJets() const
virtual Double_t GetEventPlaneAngle() const
Bool_t fRecalculateCaloPID
Recalculate PID or use PID weights in calorimeters.
Float_t fPairTimeCut
Maximum difference between time of cluster pairs (ns).
virtual Bool_t IsTrackMatched(AliVCluster *cluster, AliVEvent *event)
AliHistogramRanges * fHisto
Histogram ranges container.
virtual AliMultSelection * GetMultSelCen() const
virtual void SetOutputAODClassName(TString name)
virtual Int_t GetV0Multiplicity(Int_t i) const
virtual AliNeutralMesonSelection * GetNeutralMesonSelection()
Int_t GetCocktailGeneratorBackgroundTag(AliVCluster *clus, TString &genName, TString &genNameBkg)
virtual Int_t GetEventCentrality() const
virtual AliCentrality * GetCentrality() const
virtual AliMixedEvent * GetMixedEvent() const
virtual AliGenEventHeader * GetMCGenEventHeader() const
Float_t RadToDeg(Float_t rad) const
TString fInputAODName
Name of input AOD branch.
TString GetCocktailGenNameToCheck(Int_t i) const
virtual TClonesArray * GetOutputAODBranch() const
virtual void GetVertex(Double_t v[3]) const
TString fCocktailGenNames[10]
Array with name of generators to study, first must be always empty.
AliCaloTrackReader * fReader
Access to ESD/AOD/MC data and other utilities.
TString fCalorimeterString
Calorimeter selection.
virtual void SetOutputAODName(TString name)
virtual TString GetAODObjArrayName() const
Int_t GetModuleNumber(AliAODPWG4Particle *particle, AliVEvent *inputEvent) const
Get the EMCAL/PHOS module number that corresponds to this particle.
virtual void SetNTrackMultBin(Int_t n=1)
Number of bins in centrality.
Int_t fNmaxMixEv
Maximal number of events stored in buffer for mixing.
virtual AliVCaloCells * GetEMCALCells() const
Base class for CaloTrackCorr analysis algorithms.
virtual TString GetCalorimeterString() const
virtual Bool_t IsRealCaloAcceptanceOn() const
AliEMCALGeometry * GetEMCALGeometry() const
virtual AliFiducialCut * GetFiducialCut()
AliCalorimeterUtils * fCaloUtils
Pointer to Calorimeter Utils.
int Int_t
Definition: External.C:63
virtual TClonesArray * GetInputAODBranch() const
virtual AliHistogramRanges * GetHistogramRanges()
float Float_t
Definition: External.C:68
TClonesArray * fInputAODBranch
! Selected input particles branch.
virtual TString GetOutputAODClassName() const
Float_t fMinPt
Maximum pt of (trigger) particles in the analysis.
virtual AliEventplane * GetEventPlane() const
virtual AliEMCALGeometry * GetEMCALGeometry() const
virtual void SetTrackMultiplicityBin(Int_t bin, Int_t mult)
Maximal number of events for mixing.
Bool_t fUseTrackMultBins
Use track multiplicity and not centrality bins in mixing.
virtual TClonesArray * GetAODBranch(const TString &aodBranchName) const
Recover ouput and input AOD pointers for each event in AliCaloTrackMaker.
AliIsolationCut * fIC
Isolation cut utils.
Float_t fMaxPt
Minimum pt of (trigger) particles in the analysis.
virtual AliCalorimeterUtils * GetCaloUtils() const
Base class for event, clusters and tracks filtering and preparation for the analysis.
virtual TString GetEventPlaneMethod() const
Double_t GetEventWeight() const
virtual AliPHOSGeoUtils * GetPHOSGeometry() const
virtual AliEventplane * GetEventPlane() const
virtual Bool_t IsHighMultiplicityAnalysisOn() const
virtual Int_t GetV0Signal(Int_t i) const
Bool_t fCheckRealCaloAcc
When analysis of MC particle kinematics, check their hit in Calorimeter in Real Geometry or use AliFi...
Int_t fTRDSMCovered
From which SM EMCal is covered by TRD.
virtual Double_t GetEventWeight() const
virtual TString GetAddedHistogramsStringToName() const
TString fOutputAODClassName
Type of aod objects to be stored in the TClonesArray (AliAODPWG4Particle, AliAODPWG4ParticleCorrelati...
void SetCocktailGenNameToCheck(Int_t i, TString v)
Int_t GetV0Multiplicity(Int_t i) const
virtual Int_t GetNCentrBin() const
Number of bins in reaction plain.
virtual TObjArray * GetPHOSClusters() const
Class containing more common histogram axis types.
virtual TClonesArray * GetAODCaloClusters() const
virtual Int_t GetNMaxEvMix() const
Number of bins in track multiplicity.
virtual Int_t GetModuleNumber(AliAODPWG4Particle *part) const
virtual void SetNCentrBin(Int_t n=1)
Number of bins in reaction plain.
virtual void SetNRPBin(Int_t n=1)
Number of bins for vertex position.
virtual void SetHistogramRanges(AliHistogramRanges *hr)
virtual void AddAODParticle(AliAODPWG4Particle part)
detector
Set the tag identifing the main detector used in the analysis.
virtual Int_t GetModuleNumber(AliVCluster *cluster) const
virtual void SetReader(AliCaloTrackReader *reader)
virtual Double_t * GetVertex(Int_t evtIndex) const
Bool_t fNewAOD
Flag, new aod branch added to the analysis or not.
virtual AliAODJetEventBackground * GetBackgroundJets() const
virtual void SetFiducialCut(AliFiducialCut *fc)
AliMCAnalysisUtils * fMCUtils
MonteCarlo Analysis utils.
virtual Int_t GetNRPBin() const
Number of bins in vertex.
virtual TClonesArray * GetCreateOutputAODBranch()
Create AOD branch filled in the analysis.
virtual AliMultSelection * GetMultSelCen() const
virtual void SetAODObjArrayName(TString name)
virtual AliMCAnalysisUtils * GetMCAnalysisUtils()
AliCaloPID * fCaloPID
PID calculation utils.
virtual void SetPtCutRange(Double_t mi, Double_t ma)
Int_t fNCocktailGenNames
Number of generators to study.
virtual Int_t GetTrackMultiplicityBin() const
Cut on vertex position.
Int_t fNrpBin
Number of bins in event container for reaction plain.
AliNeutralMesonSelection * fNMS
Neutral Meson Selection utities.
virtual Double_t GetEventPlaneAngle() const
virtual void Print(const Option_t *) const
Print some relevant parameters set for the analysis.
Bool_t fDataMC
Flag to access MC data when using ESD or AOD.
Class that contains methods to select candidate cluster pairs to neutral meson.
TClonesArray * fOutputAODBranch
! Selected output particles branch.
const char Option_t
Definition: External.C:48
Class for PID selection with calorimeters.
Definition: AliCaloPID.h:51
virtual TClonesArray * GetAODTracks() const
virtual AliVCluster * FindCluster(TObjArray *clusters, Int_t clId, Int_t &iclus, Int_t first=0)
virtual void SetNMaxEvMix(Int_t n=20)
Number of bins in track multiplicity.
virtual AliCaloTrackReader * GetReader() const
bool Bool_t
Definition: External.C:53
Int_t fNZvertBin
Number of bins in event container for vertex position.
Bool_t fCheckCaloPID
Do analysis for calorimeters.
Class with utils specific to calorimeter clusters/cells.
Int_t fCalorimeter
Calorimeter selection.
virtual Int_t GetModuleNumberCellIndexes(Int_t absId, Int_t calo, Int_t &icol, Int_t &irow, Int_t &iRCU) const
Bool_t fFillHighMultHistograms
Histograms with centrality and event plane for triggers pT.
TString fAddToHistogramsName
Add this string to histograms name.
Int_t GetTrackMultiplicity() const
virtual Int_t GetNMixedEvent() const
virtual void SetIsolationCut(AliIsolationCut *ic)
Class with analysis utils for simulations.
virtual TObjArray * GetEMCALClusters() const
virtual TString GetEventPlaneMethod() const
DCal, not used so far, just in case.
virtual AliVCaloCells * GetPHOSCells() const
virtual Int_t CheckMixedEventVertex(Int_t caloLabel, Int_t trackLabel)
Bool_t fStudyClusterOverlapsPerGenerator
In case of coctail generators, check the content of the cluster.
Store the acceptance cuts for clusters and tracks or particle objects.
virtual void GetVertex(Double_t vertex[3], Int_t evtIndex) const
TString fAODObjArrayName
Name of ref array kept in a TList in AliAODParticleCorrelation with clusters or track. references.
virtual AliMixedEvent * GetMixedEvent() const
Bool_t IsTrackMatched(AliVCluster *cluster, AliCalorimeterUtils *cu, AliVEvent *event) const
Int_t GetModuleNumberCellIndexes(Int_t absId, Int_t calo, Int_t &icol, Int_t &irow, Int_t &iRCU) const
Get the EMCAL/PHOS module, columns, row and RCU/DDL number that corresponds to this absId...
Int_t GetFirstSMCoveredByTRD() const
Time cut in ns.
Int_t GetModuleNumberCellIndexesAbsCaloMap(Int_t absId, Int_t calo, Int_t &icol, Int_t &irow, Int_t &iRCU, Int_t &icolAbs, Int_t &irowAbs) const