AliPhysics  ec7afe5 (ec7afe5)
 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 //_________________________________________________________________________
23 //_________________________________________________________________________
24 
25 #include <cstdlib>
26 
27 //ROOT
28 #include <TList.h>
29 #include <TObject.h>
30 class TClonesArray ;
31 class TObjArray ;
32 class TObjString;
33 
34 //Analysis
35 #include "AliCaloTrackReader.h"
36 #include "AliCaloPID.h"
37 #include "AliFiducialCut.h"
38 #include "AliIsolationCut.h"
39 #include "AliMCAnalysisUtils.h"
41 #include "AliCalorimeterUtils.h"
42 #include "AliHistogramRanges.h"
43 #include "AliAODPWG4ParticleCorrelation.h"
44 #include "AliMixedEvent.h"
45 class AliVCaloCells;
46 class AliStack ;
47 class AliHeader ;
48 class AliGenEventHeader ;
49 class AliEMCALGeometry;
50 class AliPHOSGeoUtils;
51 class AliCentrality;
52 class AliMultSelection;
53 class AliEventplane;
54 #include "AliAnalysisManager.h"
55 #include "AliLog.h"
56 
57 // Jets
58 class AliAODJetEventBackground;
59 
61 
62 public:
63 
64  AliAnaCaloTrackCorrBaseClass() ; // default ctor
65  virtual ~AliAnaCaloTrackCorrBaseClass() ; // virtual dtor
66 
67  // General methods, to be declared in deriving classes if needed
68 
69  virtual TList * GetCreateOutputObjects() { return (new TList) ; }
70 
71  virtual void Init() { ; }
72  virtual void InitDebug() ;
73  virtual void InitParameters() ;
74 
75  virtual void FillEventMixPool() { ; }
76 
77  virtual void MakeAnalysisFillAOD() { ; }
78 
79  virtual void MakeAnalysisFillHistograms() { ; }
80 
81  virtual void Print(const Option_t * ) const ;
82 
83  virtual void Terminate(TList * /*outputList*/) { ; }
84 
85  // Histograms, cuts
86 
87  virtual void AddToHistogramsName(TString add) { fAddToHistogramsName = add ; }
89 
90  virtual TObjString * GetAnalysisCuts() { return 0x0 ; }
92 
93  // Getters, setters
94 
95  virtual Int_t GetDebug() const { return fDebug ; }
96  virtual void SetDebug(Int_t d) { fDebug = d ; }
97 
98  virtual Int_t GetEventNumber() const ;
99 
100  // Centrality, multiplicity selection
101 
102  virtual Int_t GetTrackMultiplicity() const { return fReader->GetTrackMultiplicity() ; }
103  virtual AliCentrality* GetCentrality() const { return fReader->GetCentrality() ; }
104  virtual AliMultSelection* GetMultSelCen() const { return fReader->GetMultSelCen() ; }
106  return GetTrackMultiplicity();
107  else return fReader->GetEventCentrality(); }
108 
109  // Event plane
110 
111  virtual AliEventplane* GetEventPlane() const { return fReader->GetEventPlane() ; }
112  virtual Double_t GetEventPlaneAngle() const { return fReader->GetEventPlaneAngle() ; }
113  virtual TString GetEventPlaneMethod() const { return fReader->GetEventPlaneMethod() ; }
114 
115  // AOD branch
116 
117  virtual void AddAODParticle(AliAODPWG4Particle part) ;
118 
119  virtual void ConnectInputOutputAODBranches();
120 
121  virtual TClonesArray * GetCreateOutputAODBranch() ;
122 
123  virtual TString GetInputAODName() const { return fInputAODName ; }
124  virtual void SetInputAODName(TString name) { fInputAODName = name ; }
125 
126  virtual TString GetOutputAODName() const { return fOutputAODName ; }
127  virtual void SetOutputAODName(TString name) { fNewAOD = kTRUE ; fOutputAODName = name; }
128 
129  virtual Bool_t NewOutputAOD() const { return fNewAOD ; }
130 
131  virtual TString GetOutputAODClassName() const { return fOutputAODClassName ; }
132  virtual void SetOutputAODClassName(TString name) { fOutputAODClassName = name ; }
133 
134  virtual TString GetAODObjArrayName() const { return fAODObjArrayName ; }
135  virtual void SetAODObjArrayName(TString name) { fAODObjArrayName = name ; }
136 
137  virtual TClonesArray * GetInputAODBranch() const { return fInputAODBranch ; }
138  virtual TClonesArray * GetOutputAODBranch() const { if(fNewAOD) return fOutputAODBranch; else return fInputAODBranch ; }
139  virtual TClonesArray * GetAODBranch(const TString & aodBranchName) const ;
140 
141  // Track cluster arrays access methods
142 
143  virtual TClonesArray* GetAODCaloClusters() const ; // Output AOD clusters, not used?
144  virtual TClonesArray* GetAODTracks() const ; // Output AOD tracks, not used?
145  virtual AliVCaloCells* GetPHOSCells() const { return fReader->GetPHOSCells() ; }
146  virtual AliVCaloCells* GetEMCALCells() const { return fReader->GetEMCALCells() ; }
147  virtual TObjArray* GetCTSTracks() const ;
148  virtual TObjArray* GetEMCALClusters() const ;
149  virtual TObjArray* GetPHOSClusters() const ;
150 
151  // Jets
152 
153  virtual TClonesArray* GetNonStandardJets() const { return fReader->GetNonStandardJets() ;}
154  virtual AliAODJetEventBackground* GetBackgroundJets() const { return fReader->GetBackgroundJets() ;}
155 
156  // Common analysis switchs
157 
159  enum detector
160  {
166  } ;
167 
168  virtual Int_t GetCalorimeter() const { return fCalorimeter ; }
169  virtual TString GetCalorimeterString() const { return fCalorimeterString ; }
170  virtual void SetCalorimeter(TString & calo);
171  virtual void SetCalorimeter(Int_t calo) ;
172 
173  virtual Bool_t IsDataMC() const { return fDataMC ; }
174  virtual void SwitchOnDataMC() { fDataMC = kTRUE ;
175  if(!fMCUtils) fMCUtils = new AliMCAnalysisUtils() ; }
176  virtual void SwitchOffDataMC() { fDataMC = kFALSE ; }
177 
178  virtual Bool_t IsFiducialCutOn() const { return fCheckFidCut ; }
179  virtual void SwitchOnFiducialCut() { fCheckFidCut = kTRUE ;
180  if(!fFidCut) fFidCut = new AliFiducialCut() ; }
181  virtual void SwitchOffFiducialCut() { fCheckFidCut = kFALSE ; }
182 
183  virtual Bool_t IsRealCaloAcceptanceOn() const { return fCheckRealCaloAcc ; }
184  virtual void SwitchOnRealCaloAcceptance() { fCheckRealCaloAcc = kTRUE; }
185  virtual void SwitchOffRealCaloAcceptance() { fCheckRealCaloAcc = kFALSE ; }
186 
187  virtual Bool_t IsCaloPIDOn() const { return fCheckCaloPID ; }
188  virtual void SwitchOnCaloPID() { fCheckCaloPID = kTRUE ;
189  if(!fCaloPID) fCaloPID = new AliCaloPID() ; }
190  virtual void SwitchOffCaloPID() { fCheckCaloPID = kFALSE ; }
191 
192  virtual Bool_t MakePlotsOn() const { return fMakePlots ; }
193  virtual void SwitchOnPlotsMaking() { fMakePlots = kTRUE ; }
194  virtual void SwitchOffPlotsMaking() { fMakePlots = kFALSE ; }
195 
196  virtual Bool_t IsPileUpAnalysisOn() const { return fFillPileUpHistograms ; }
199 
203 
204  // Cluster energy/momentum cut
205 
206  virtual Float_t GetMaxPt() const { return fMaxPt ; }
207  virtual Float_t GetMinPt() const { return fMinPt ; }
208  virtual void SetMaxPt(Float_t pt) { fMaxPt = pt ; }
209  virtual void SetMinPt(Float_t pt) { fMinPt = pt ; }
210  virtual void SetPtCutRange(Double_t mi, Double_t ma) { fMaxPt = ma; fMinPt=mi; }
211 
212  virtual Float_t GetMaxEnergy() const { return fMaxPt ; }
213  virtual Float_t GetMinEnergy() const { return fMinPt ; }
214  virtual void SetMaxEnergy(Float_t e) { fMaxPt = e ; }
215  virtual void SetMinEnergy(Float_t e) { fMinPt = e ; }
216  virtual void SetEnergyCutRange(Double_t mi, Double_t ma) { fMaxPt = ma; fMinPt = mi; }
217 
218  // Cluster Pairs Time cut
219 
220  virtual void SetPairTimeCut(Float_t t) { fPairTimeCut = t ; }
221  virtual Float_t GetPairTimeCut() const { return fPairTimeCut ; }
222 
223  // Number of TRD modules in front of EMCAL (year <=2012)
224 
227 
228  // Getters / Setters for parameters of event buffers
229 
230  virtual Int_t GetNZvertBin() const { return fNZvertBin ; }
231  virtual Int_t GetNRPBin() const { return fNrpBin ; }
232  virtual Int_t GetNCentrBin() const { return fNCentrBin ; }
233  virtual Int_t GetNTrackMultBin() const { return GetNCentrBin(); }
234  virtual Int_t GetNMaxEvMix() const { return fNmaxMixEv ; }
235  virtual Float_t GetZvertexCut() const { return GetReader()->GetZvertexCut();}
236  virtual Int_t GetTrackMultiplicityBin() const ;
237  virtual Int_t GetEventCentralityBin() const ;
238  virtual Int_t GetEventRPBin() const ;
239  virtual Int_t GetEventVzBin() const ;
240  virtual Int_t GetEventMixBin() const ;
241  virtual Int_t GetEventMixBin(Int_t iCen, Int_t iVz, Int_t iRP) const;
242 
243  virtual Double_t GetEventWeight() const { return GetReader()->GetEventWeight() ; }
245  const { return (GetReader()->GetWeightUtils())->GetParticlePtWeight(pt, pdg, genName, igen) ; }
246 
247  virtual void SetNZvertBin(Int_t n = 1 ) { fNZvertBin = n ; if(n < 1) fNZvertBin = 1 ; }
248  virtual void SetNRPBin (Int_t n = 1 ) { fNrpBin = n ; if(n < 1) fNrpBin = 1 ; }
249  virtual void SetNCentrBin(Int_t n = 1 ) { fNCentrBin = n ; if(n < 1) fNCentrBin = 1 ; }
250  virtual void SetNTrackMultBin(Int_t n = 1 ) { SetNCentrBin(n); }
251  virtual void SetNMaxEvMix(Int_t n = 20) { fNmaxMixEv = n ; if(n < 1) fNmaxMixEv = 1 ; }
252  virtual void SetTrackMultiplicityBin(Int_t bin, Int_t mult) { if(bin < 20) fTrackMultBins[bin] = mult ; }
253 
254  virtual void SwitchOnTrackMultBins() { fUseTrackMultBins = kTRUE ; }
255  virtual void SwitchOffTrackMultBins() { fUseTrackMultBins = kFALSE ; }
256 
257  virtual void SwitchOnOwnMix() { fDoOwnMix = kTRUE ; }
258  virtual void SwitchOffOwnMix() { fDoOwnMix = kFALSE ; }
259 
260  virtual Bool_t DoOwnMix() const { return fDoOwnMix ; }
261  virtual Bool_t UseTrackMultBins() const { return fUseTrackMultBins ; }
262 
263  // Mixed event
264 
265  virtual Int_t CheckMixedEventVertex(Int_t caloLabel, Int_t trackLabel) ;
266 
267  virtual AliMixedEvent * GetMixedEvent() const { return GetReader()->GetMixedEvent() ; }
268 
269  virtual Int_t GetNMixedEvent() const { return GetReader()->GetNMixedEvent() ; }
270 
271  // Vertex methods
272 
273  virtual void GetVertex(Double_t vertex[3]) const { GetReader()->GetVertex(vertex) ; }
274 
275  virtual Double_t* GetVertex(Int_t evtIndex) const { return GetReader()->GetVertex(evtIndex) ; }
276 
277  virtual void GetVertex(Double_t vertex[3],
278  Int_t evtIndex) const { GetReader()->GetVertex(vertex,evtIndex) ; }
279  // VZERO
280 
281  virtual Int_t GetV0Signal(Int_t i ) const { return fReader->GetV0Signal(i) ; }
282 
283  virtual Int_t GetV0Multiplicity(Int_t i ) const { return fReader->GetV0Multiplicity(i) ; }
284 
285 
286  // Some utilities dealing with cluster angles
287 
289  Float_t GetPhi (Float_t phi) const { if ( phi < 0 ) phi += TMath::TwoPi() ; return phi ; }
290 
291  Float_t DegToRad(Float_t deg) const { deg *= TMath::DegToRad(); return deg ; }
292 
293  Float_t RadToDeg(Float_t rad) const { rad *= TMath::RadToDeg(); return rad ; }
294 
295  // Calorimeter specific access methods and calculations
296 
297  virtual Bool_t IsTrackMatched(AliVCluster * cluster, AliVEvent* event)
298  { return GetCaloPID()->IsTrackMatched(cluster, fCaloUtils, event) ; }
299 
300  virtual Int_t GetModuleNumberCellIndexes(Int_t absId, Int_t calo, Int_t & icol, Int_t & irow, Int_t &iRCU) const
301  { return fCaloUtils->GetModuleNumberCellIndexes(absId, calo, icol, irow,iRCU) ; }
302 
304  Int_t & icol, Int_t & irow, Int_t &iRCU,
305  Int_t & icolAbs, Int_t & irowAbs) const
306  { return fCaloUtils->GetModuleNumberCellIndexesAbsCaloMap(absId, calo, icol, irow,iRCU,icolAbs,irowAbs) ; }
307 
308  virtual Int_t GetModuleNumber(AliAODPWG4Particle * part) const
309  { return fCaloUtils->GetModuleNumber(part, fReader->GetInputEvent()) ; }
310 
311  virtual Int_t GetModuleNumber(AliVCluster * cluster) const
312  { return fCaloUtils->GetModuleNumber(cluster) ; }
313 
314  virtual AliVCluster* FindCluster(TObjArray* clusters, Int_t clId, Int_t & iclus, Int_t first = 0 ) ;
315 
316 
317  // MC event acces methods
318 
319  virtual AliStack * GetMCStack() const ;
320 
321  virtual AliHeader* GetMCHeader() const ;
322 
323  virtual AliGenEventHeader * GetMCGenEventHeader() const ;
324 
325  // Analysis helpers classes pointers setters and getters
326 
327  virtual AliCaloPID * GetCaloPID() { if(!fCaloPID) fCaloPID = new AliCaloPID(); return fCaloPID ; }
328 
329  virtual AliCalorimeterUtils * GetCaloUtils() const { return fCaloUtils ; }
330 
331  virtual AliFiducialCut * GetFiducialCut() { if(!fFidCut) fFidCut = new AliFiducialCut(); return fFidCut ; }
332 
334 
335  virtual AliIsolationCut * GetIsolationCut() { if(!fIC) fIC = new AliIsolationCut(); return fIC ; }
336 
338 
340 
341  virtual AliCaloTrackReader * GetReader() const { return fReader ; }
342 
343  virtual AliEMCALGeometry * GetEMCALGeometry() const { return fCaloUtils->GetEMCALGeometry() ; }
344 
345  virtual AliPHOSGeoUtils * GetPHOSGeometry() const { return fCaloUtils->GetPHOSGeometry() ; }
346 
347  virtual void SetCaloPID(AliCaloPID * pid) { delete fCaloPID; fCaloPID = pid ; }
348 
349  virtual void SetCaloUtils(AliCalorimeterUtils * caloutils) { fCaloUtils = caloutils ; }
350 
351  virtual void SetFiducialCut(AliFiducialCut * fc) { delete fFidCut; fFidCut = fc ; }
352 
353  virtual void SetHistogramRanges(AliHistogramRanges * hr) { delete fHisto; fHisto = hr ; }
354 
355  virtual void SetIsolationCut(AliIsolationCut * ic) { delete fIC; fIC = ic ; }
356 
357  virtual void SetMCAnalysisUtils(AliMCAnalysisUtils * mcutils) { delete fMCUtils; fMCUtils = mcutils ; }
358 
359  virtual void SetNeutralMesonSelection(AliNeutralMesonSelection * const nms) { delete fNMS; fNMS = nms ; }
360 
361  virtual void SetReader(AliCaloTrackReader * reader) { fReader = reader ; }
362 
363  // Cocktail generator studies
364 
368 
371 
372  void SetCocktailGenNameToCheck(Int_t i, TString v){ if(i < 10) fCocktailGenNames[i] = v ; }
373  TString GetCocktailGenNameToCheck(Int_t i) const { if(i < 10) return fCocktailGenNames[i];
374  else return "" ; }
375  void SetCocktailGenIndexToCheck(Int_t i, Int_t v) { if(i < 10) fCocktailGenIndeces[i] = v ; }
376  Int_t GetCocktailGenIndexToCheck(Int_t i) const { if(i < 10) return fCocktailGenIndeces[i];
377  else return -1 ; }
378 
379  Int_t GetCocktailGeneratorBackgroundTag(AliVCluster * clus, Int_t mctag,
380  TString & genName , Int_t & index,
381  TString & genNameBkg, Int_t & indexBkg);
382 
383 private:
384 
397 
408 
409  TClonesArray* fInputAODBranch ;
411  TClonesArray* fOutputAODBranch ;
417 
418  // Analysis helper classes access pointers
427 
428  // Cocktail generator studies
433 
436 
439 
441  ClassDef(AliAnaCaloTrackCorrBaseClass,28) ;
443 
444 } ;
445 
446 #endif //ALIANACALOTRACKCORRBASECLASS_H
447 
448 
449 
virtual void SetCaloUtils(AliCalorimeterUtils *caloutils)
virtual Float_t GetZvertexCut() const
AliFiducialCut * fFidCut
Acceptance cuts detector dependent.
Int_t pdg
TString fOutputAODName
Name of output AOD branch.
virtual AliHeader * GetMCHeader() const
Int_t GetCocktailGeneratorBackgroundTag(AliVCluster *clus, Int_t mctag, TString &genName, Int_t &index, TString &genNameBkg, Int_t &indexBkg)
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 Double_t GetParticlePtWeight(Float_t pt, Int_t pdg, TString genName, Int_t igen) const
virtual void SetNeutralMesonSelection(AliNeutralMesonSelection *const nms)
double Double_t
Definition: External.C:58
Int_t fNCentrBin
Number of bins in event container for centrality.
void SetCocktailGenIndexToCheck(Int_t i, Int_t v)
virtual void AddToHistogramsName(TString add)
virtual AliVCaloCells * GetEMCALCells() const
virtual TClonesArray * GetNonStandardJets() const
virtual AliVCaloCells * GetPHOSCells() const
virtual AliCentrality * GetCentrality() const
Int_t fCocktailGenIndeces[10]
Array with indeces of generators to study.
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()
Bool_t IsTrackMatched(AliVCluster *cluster, AliCalorimeterUtils *cu, AliVEvent *event)
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()
Int_t GetTrackMultiplicity(Int_t cut=0) const
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)
Int_t GetCocktailGenIndexToCheck(Int_t i) const
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:53
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.
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
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