AliPhysics  2c6b7ad (2c6b7ad)
AliAnalysisTaskGammaCalo.h
Go to the documentation of this file.
1 #ifndef ALIANLYSISTASKGAMMACALO_cxx
2 #define ALIANLYSISTASKGAMMACALO_cxx
3 
4 #include "AliAnalysisTaskSE.h"
5 #include "AliESDtrack.h"
6 #include "AliV0ReaderV1.h"
10 #include "AliCaloPhotonCuts.h"
11 #include "AliConvEventCuts.h"
13 #include "AliConversionMesonCuts.h"
14 #include "AliAnalysisTaskConvJet.h"
15 #include "AliAnalysisManager.h"
16 #include "TProfile2D.h"
17 #include "TH3.h"
18 #include "TH3F.h"
19 #include <vector>
20 #include <map>
21 
23  public:
24 
26  AliAnalysisTaskGammaCalo(const char *name);
27  virtual ~AliAnalysisTaskGammaCalo();
28 
29  virtual void UserCreateOutputObjects();
30  virtual Bool_t Notify();
31  virtual void UserExec(Option_t *);
32  virtual void Terminate(const Option_t*);
33  void InitBack();
34 
35  void SetV0ReaderName(TString name){fV0ReaderName=name; return;}
36  void SetIsHeavyIon(Int_t flag){
37  fIsHeavyIon = flag;
38  }
39 
40  // base functions for selecting photon and meson candidates in reconstructed data
41  void ProcessClusters();
42  void ProcessJets();
44 
45  // MC functions
47  void ProcessMCParticles();
48  void ProcessAODMCParticles();
49  void ProcessTrueClusterCandidates( AliAODConversionPhoton* TruePhotonCandidate, AliVCluster* clus);
50  void ProcessTrueClusterCandidatesAOD( AliAODConversionPhoton* TruePhotonCandidate, AliVCluster* clus);
51  void ProcessTrueMesonCandidates( AliAODConversionMother *Pi0Candidate, AliAODConversionPhoton *TrueGammaCandidate0, AliAODConversionPhoton *TrueGammaCandidate1);
52  void ProcessTrueMesonCandidatesAOD(AliAODConversionMother *Pi0Candidate, AliAODConversionPhoton *TrueGammaCandidate0, AliAODConversionPhoton *TrueGammaCandidate1);
53 
54  // switches for additional analysis streams or outputs
55  void SetLightOutput(Bool_t flag){fDoLightOutput = flag;}
57  void SetDoMesonQA(Int_t flag){fDoMesonQA = flag;}
58  void SetDoClusterQA(Int_t flag){fDoClusterQA = flag;}
59  void SetDoTHnSparse(Bool_t flag){fDoTHnSparse = flag;}
61  void SetAllowOverlapHeaders( Bool_t allowOverlapHeader ) {fAllowOverlapHeaders = allowOverlapHeader;}
62 
65  return;
66  }
67 
68  // Setting the cut lists for the conversion photons
69  void SetEventCutList(Int_t nCuts, TList *CutArray){
70  fnCuts = nCuts;
71  fEventCutArray = CutArray;
72  }
73 
74  // Setting the cut lists for the calo photons
75  void SetCaloCutList(Int_t nCuts, TList *CutArray){
76  fnCuts = nCuts;
77  fClusterCutArray = CutArray;
78  }
79 
80  // Setting the cut lists for the meson
81  void SetMesonCutList(Int_t nCuts, TList *CutArray){
82  fnCuts = nCuts;
83  fMesonCutArray = CutArray;
84  }
85 
86  // BG HandlerSettings
87  void CalculateBackground();
88  void CalculateBackgroundRP();
90  void RotateParticleAccordingToEP(AliAODConversionPhoton *gamma, Double_t previousEventEP, Double_t thisEventEP);
91  void FillPhotonBackgroundHist(AliAODConversionPhoton *TruePhotonCandidate, Int_t pdgCode);
92  void FillPhotonPlusConversionBackgroundHist(AliAODConversionPhoton *TruePhotonCandidate, Int_t pdgCode);
93  void FillPhotonBackgroundM02Hist(AliAODConversionPhoton *TruePhotonCandidate, AliVCluster* clus, Int_t pdgCode);
94  void FillPhotonPlusConversionBackgroundM02Hist(AliAODConversionPhoton *TruePhotonCandidate, AliVCluster* clus, Int_t pdgCode);
96 
97  // Additional functions for convenience
98  void SetLogBinningXTH2(TH2* histoRebin);
99  Int_t GetSourceClassification(Int_t daughter, Int_t pdgCode);
100 
101  Bool_t CheckVectorForDoubleCount(vector<Int_t> &vec, Int_t tobechecked);
102  void FillMultipleCountMap(map<Int_t,Int_t> &ma, Int_t tobechecked);
103  void FillMultipleCountHistoAndClear(map<Int_t,Int_t> &ma, TH1F* hist);
104 
105  // set method to enable EOverP tree
107 
108  // Function to enable MC label sorting
109  void SetEnableSortingOfMCClusLabels(Bool_t enableSort) { fEnableSortForClusMC = enableSort; }
110 
111  // Function to enable local debugging mode
113 
114  // Function to set correction task setting
116 
117  void EventDebugMethod();
120 
122 
123  void SetSoftAnalysis(Bool_t DoSoft) {fDoSoftAnalysis = DoSoft;}
124 
125  protected:
126  AliV0ReaderV1* fV0Reader; // basic photon Selection Task
129  AliGammaConversionAODBGHandler** fBGHandler; // BG handler for Conversion
130  AliVEvent* fInputEvent; // current event
131  AliMCEvent* fMCEvent; // corresponding MC event
132  TList** fCutFolder; // Array of lists for containers belonging to cut
133  TList** fESDList; // Array of lists with histograms with reconstructed properties
134  TList** fBackList; // Array of lists with BG THnSparseF
135  TList** fMotherList; // Array of lists with Signal THnSparseF
136  TList** fTrueList; // Array of lists with histograms with MC validated reconstructed properties
137  TList** fMCList; // Array of lists with histograms with pure MC information
138  TList** fTreeList; // Array of lists with tree for validated MC
139  TList** fClusterTreeList; // Array of lists with tree for EoverP
140  TList* fOutputContainer; // Output container
142  TList* fEventCutArray; // List with Event Cuts
143  AliConvEventCuts* fEventCuts; // EventCutObject
144  TList* fClusterCutArray; // List with Cluster Cuts
145  AliCaloPhotonCuts* fCaloPhotonCuts; // CaloPhotonCutObject
146  TList* fMesonCutArray; // List with Meson Cuts
147  AliConversionMesonCuts* fMesonCuts; // MesonCutObject
149  Bool_t fDoJetAnalysis; // Bool to produce Jet Plots
150  Bool_t fDoJetQA; // Bool to produce Jet QA Plots
151  TList** fJetHistograms; // Jet Histograms
152  TList** fTrueJetHistograms; // True Jet Histograms
153 
154  //histograms for mesons reconstructed quantities
171 
172  // histograms for rec photon clusters
179  //histograms for pure MC quantities
190  TH1F** fHistoMCPi0Pt;
193  TH1F** fHistoMCEtaPt;
212 
213  // MC validated reconstructed quantities mesons
271  // MC validated reconstructed quantities photons
331 
332  // event histograms
333  TH1F** fHistoNEvents;
336  TH1F** fHistoVertexZ;
342  TProfile** fProfileEtaShift;
347 
348  TH1F** fHistoPtJet; // Histogram of Jet Pt
349  TH1F** fHistoJetEta; // Histogram of Jet Eta
350  TH1F** fHistoJetPhi; // Histogram of Jet Phi
351  TH1F** fHistoJetArea; // Histogram of Jet Area
352  TH1F** fHistoNJets; // Histogram of number of jets
353  TH1F** fHistoEventwJets; // Histogram of number of events with jets > 0
354  TH1F** fHistoJetPi0PtRatio; // Histogram of PtPi0/PtJet
355  TH1F** fHistoDoubleCounting; // Histogram if NM candidates are defined within multiple jets
356  TH2F** fHistoJetMotherInvMassPt; // Histogram of NM candidates with a jet in the event
357  TH2F** fHistoPi0InJetMotherInvMassPt; // Histogram of NM candidates that are inside a jet
358  TH2F** fHistoMotherBackJetInvMassPt; // Histogram of Backgrouns candidates that are involved with jets
359  TH2F** fHistoRJetPi0Cand; // Histogram of RJetPi0Cand vs Pt
360  TH2F** fHistoEtaPhiJetPi0Cand; // Histogram of delta eta and delta phi distr between jet and NM candidates
361  TH2F** fHistoEtaPhiJetWithPi0Cand; // Histogram of delta eta and delta phi distr when pi0 is inside a jet
362  TH2F** fHistoJetFragmFunc; // Histogram to determine fragmentation function
363  TH2F** fHistoTruevsRecJetPt; // Histogram of true jet pt vs reconstructed jet pt
364  TH2F** fHistoTruePi0JetMotherInvMassPt; // Histogram of true pi0s in an event with a jet
365  TH2F** fHistoTruePi0InJetMotherInvMassPt; // Histogram of true pi0s in a jet
366  TH2F** fHistoTruePrimaryPi0JetInvMassPt; // Histogram of true primary pi0s in an event with a jet
367  TH2F** fHistoTruePrimaryPi0inJetInvMassPt; // Histogram of true primary pi0s in a jet
368  TH1F** fHistoTrueDoubleCountingPi0Jet; // Histogram of when a true pi0 is defined to be in multiple jets
369  TH2F** fHistoTrueEtaJetMotherInvMassPt; // Histogram of true etas in an event with a jet
370  TH2F** fHistoTrueEtaInJetMotherInvMassPt; // Histogram of true etas in a jet
371  TH2F** fHistoTruePrimaryEtaJetInvMassPt; // Histogram of true primary etas in an event with a jet
372  TH2F** fHistoTruePrimaryEtainJetInvMassPt; // Histogram of true primary etas in a jet
373  TH1F** fHistoTrueDoubleCountingEtaJet; // Histogram of when a true eta is defined to be in multiple jets
374  TH2F** fHistoTruePi0JetFragmFunc; // Histogram to determine true pi0 fragmentation function
375  TH2F** fHistoTrueEtaJetFragmFunc; // Histogram to determine true eta fragmentation function
376  TH1F** fHistoMCPi0JetInAccPt; // Histogram with weighted pi0 in a jet event in acceptance, pT
377  TH1F** fHistoMCPi0inJetInAccPt; // Histogram with weighted pi0 in a jet in acceptance, pT
378  TH1F** fHistoMCEtaJetInAccPt; // Histogram with weighted eta in a jet event in acceptance, pT
379  TH1F** fHistoMCEtainJetInAccPt; // Histogram with weighted eta in a jet in acceptance, pT
380  TH2F** fHistoTrueSecondaryPi0FromK0sJetInvMassPt; // Histogram with validated secondary mothers from K0s in an event with a jet, invMass, pt
381  TH2F** fHistoTrueSecondaryPi0FromK0sinJetInvMassPt; // Histogram with validated secondary mothers from K0s in a jet, invMass, pt
382  TH2F** fHistoTrueSecondaryPi0FromLambdaJetInvMassPt; // Histogram with validated secondary mothers from lambda in an event with a jet, invMass, pt
383  TH2F** fHistoTrueSecondaryPi0FromLambdainJetInvMassPt; // Histogram with validated secondary mothers from lambda in a jet, invMass, pt
384  TH2F** fHistoTrueSecondaryPi0FromK0lJetInvMassPt; // Histogram with validated secondary mothers from K0l in an event with a jet, invMass, pt
385  TH2F** fHistoTrueSecondaryPi0FromK0linJetInvMassPt; // Histogram with validated secondary mothers from K0l in a jet, invMass, pt
386  TH2F** fHistoTrueSecondaryPi0InvJetMassPt; // Histogram with validated secondary mothers in an event with a jet, invMass, pt
387  TH2F** fHistoTrueSecondaryPi0InvinJetMassPt; // Histogram with validated secondary mothers in a jet, invMass, pt
388 
389  vector<Double_t> fVectorJetPt; // Vector of JetPt
390  vector<Double_t> fVectorJetPx; // Vector of JetPx
391  vector<Double_t> fVectorJetPy; // Vector of JetPy
392  vector<Double_t> fVectorJetPz; // Vector of JetPz
393  vector<Double_t> fVectorJetEta; // Vector of JetEta
394  vector<Double_t> fVectorJetPhi; // Vector of JetPhi
395  vector<Double_t> fVectorJetArea; // Vector of JetArea
396  vector<Double_t> fTrueVectorJetPt; // Vector of True JetPt
397  vector<Double_t> fTrueVectorJetPx; // Vector of True JetPx
398  vector<Double_t> fTrueVectorJetPy; // Vector of True JetPy
399  vector<Double_t> fTrueVectorJetPz; // Vector of True JetPz
400  vector<Double_t> fTrueVectorJetEta; // Vector of True JetEta
401  vector<Double_t> fTrueVectorJetPhi; // Vector of True JetPhi
402 
403  // tree for identified particle properties
410  UChar_t iFlag;
411 
412  // tree for alpha/opening angle studies
422 
423  // tree for E/p studies
440 
441  //tree for Jet-pi0 correlation studies
447 
448  // hists for nonlineartiy calibration
449 // TH2F** fHistoTruePi0NonLinearity; //! E_truth/E_rec vs E_rec for TruePi0s
450 // TH2F** fHistoTrueEtaNonLinearity; //! E_truth/E_rec vs E_rec for TrueEtas
451 
452  // additional variables
453  Double_t fEventPlaneAngle; // EventPlaneAngle
454  TRandom3 fRandom; // random
455  Int_t fnCuts; // number of cuts to be analysed in parallel
456  Int_t fiCut; // current cut
457  Int_t fIsHeavyIon; // switch for pp = 0, PbPb = 1, pPb = 2
458  Bool_t fDoLightOutput; // switch for running light output, kFALSE -> normal mode, kTRUE -> light mode
459  Bool_t fDoMesonAnalysis; // flag for meson analysis
460  Int_t fDoMesonQA; // flag for meson QA
461  Int_t fDoClusterQA; // flag for cluster QA
462  Bool_t fIsFromDesiredHeader; // flag for MC headers
463  Bool_t fIsOverlappingWithOtherHeader; // flag for particles in MC overlapping between headers
464  Int_t fIsMC; // flag for MC information
465  Bool_t fDoTHnSparse; // flag for using THnSparses for background estimation
466  Bool_t fSetPlotHistsExtQA; // flag for extended QA hists
467  Bool_t fDoSoftAnalysis; // bool for Sphericity analysis without jets
468  Double_t fWeightJetJetMC; // weight for Jet-Jet MC
469  Bool_t fDoInOutTimingCluster; // manual timing cut for cluster to combine cluster within timing cut and without
470  Double_t fMinTimingCluster; // corresponding ranges, min
471  Double_t fMaxTimingCluster; // corresponding ranges, max
472  Bool_t fEnableSortForClusMC; // switch on sorting for MC labels in cluster
473  Bool_t fProduceCellIDPlots; // switch to produce CellID plots for fDoClusterQA==2
474  Bool_t fProduceTreeEOverP; // flag for producing tree for E/p studies
475  TTree* tBrokenFiles; // tree for keeping track of broken files
476  TObjString* fFileNameBroken; // string object for broken file name
477  TTree* tClusterQATree; // tree for specific cluster QA
478  TObjString* fCloseHighPtClusters; // file name to indicate clusters with high pT (>15 GeV/c) very close to each other (<17 mrad)
479 
480  Int_t fLocalDebugFlag; // debug flag for local running, must be '0' for grid running
481  Bool_t fAllowOverlapHeaders; // enable overlapping headers for cluster selection
482  Int_t fNCurrentClusterBasic; // current number of cluster without minE
483  Int_t fTrackMatcherRunningMode; // CaloTrackMatcher running mode
484  private:
485  AliAnalysisTaskGammaCalo(const AliAnalysisTaskGammaCalo&); // Prevent copy-construction
486  AliAnalysisTaskGammaCalo &operator=(const AliAnalysisTaskGammaCalo&); // Prevent assignment
487 
488  ClassDef(AliAnalysisTaskGammaCalo, 53);
489 };
490 
491 #endif
TH2F ** fHistoTrueEtaCategory7
array of histos with validated pi0, 1 electron from conversion, 2 electrons from other conversion mer...
TH1F ** fHistoMCSecPi0Source
array of histos with secondary pi0, pT, source
TH2F ** fHistoTrueSecondaryClusGammaPt
array of histos with validated primary conv photon cluster, rec Pt, MC pt
Float_t fPt
InvMass at R=375 cm,.
TH2F ** fHistoMCEtaPtAlpha
array of histos with weighted pi0, pT, alpha
Float_t fClusterM02
cluster energy
TH2F ** fHistoTrueBckGGInvMassPt
array of histos with lambda with reconstructed pi0 as daughter, pt
TH1F ** fHistoMCDecayGammaOmegaPt
array of histos with decay gamma from eta, pT
TH1F ** fHistoMCEtaInAccPt
array of histos with weighted pi0 in acceptance, pT
Int_t fClusterLeadCellID
cluster-track E/p
map< Int_t, Int_t > fMapMultipleCountTrueClusterGammas
array of histos how often TrueClusterGammas are counted
TH2F ** fHistoTruePi0InvMassPtAlpha
map containing cluster photon labels that are counted at least twice
double Double_t
Definition: External.C:58
TH2F ** fHistoTrueEtaCategory8
array of histos with validated pi0, 2 electron from conversion merged, 2 electrons from other convers...
TH2F ** fHistoTrueSecondaryClusConvGammaPt
array of histos with validated secondary photon cluster, pt
TH2F ** fHistoTruePi0Category8
array of histos with validated eta, 1 electron from conversion, 2 electrons from other conversion mer...
Float_t fDeltaPhi
matching residual track <-> cluster
Float_t fDeltaEta
classification of cluster in MC
Definition: External.C:236
TH2F ** fHistoTrueSecondaryClusGammaFromXFromK0sMCPtESDPt
array of histos with validated secondary converted photon cluster, MC pt
void RotateParticle(AliAODConversionPhoton *gamma)
TProfile2D ** fProfileTruePrimaryEtaWeightsInvMassPt
array of profiles with weights for validated primary mothers, invMass, pt
TH2F ** fHistoMotherPi0PtOpenAngle
array of histograms with invariant mass cut of 0.45 && pi0cand->M() < 0.65, pt, alpha ...
Float_t fClusterE
array of trees with tree for E/p studies
void DebugMethod(AliAODConversionMother *pi0cand, AliAODConversionPhoton *gamma0, AliAODConversionPhoton *gamma1)
TH2F ** fHistoTrueEtaCategory2
array of histos with validated pi0, 1 real photon, 1 merged converted photon
Bool_t CheckVectorForDoubleCount(vector< Int_t > &vec, Int_t tobechecked)
TH2F ** fHistoTruePi0InvMassPt
array of histos with weighted eta, pT, hardest jet pt
TH2F ** fHistoTrueBckContInvMassPt
array of histos with asymmetry energy distributions of clusters, invMass, pt
void DebugMethodPrint1(AliAODConversionMother *pi0cand, AliAODConversionPhoton *gamma0, AliAODConversionPhoton *gamma1)
TH2F ** fHistoTrueClusGammaPtM02
array of histos with validated unconverted photon, pt
TH1F ** fHistoTruePrimaryClusConvGammaPt
array of histos with validated primary photon cluster, rec Pt, MC pt
TH2F ** fHistoTruePrimaryPi0InvMassPt
array of histos with validated eta, 2 electron from conversion merged, 2 electrons from other convers...
TH2F ** fHistoMotherInvMassECalib
array of histograms with invariant mass cut of 0.45 && pi0cand->M() < 0.65, ngoodtrakcs, pt
TH2F ** fHistoTruePi0Category1
array of histos with validated mothers, merged cluster invMass, pt
TH2F ** fHistoMCAllSecondaryGammaPt
array of histos with all gamma, pT
TH2F ** fHistoClustPhotonKaonBGPtM02
array of histos with cluster photon BG pion, M02 vs. pt, source
TH2F ** fHistoClustPhotonPlusConvPionBGPtM02
array of histos with cluster photon plus conv BG electron, M02 vs. pt, source
TH2F ** fHistoTruePi0PtAlpha
array of histos with validated eta, pt, Y
TH1F ** fHistoClusGammaPt
array of histogram with BG for mixed event photon pairs with alpha cut of 0.1, inv mass...
TH2F ** fHistoTruePrimaryPi0MCPtResolPt
array of profiles with weights for validated primary mothers, invMass, pt
TH1F ** fHistoTrueEtaWithPi0DaughterMCPt
array of histos with validated secondary mothers from eta, invMass, pt
TH1F ** fHistoMCPi0Pt
array of histos with decay gamma from Sigma0, pT
TH2F ** fHistoTrueEtaInvMassPt
array of histos with validated mothers, invMass, pt
TH2F ** fHistoTrueEtaCategory5
array of histos with validated pi0, 2 electrons from different conversions, 2 electrons (unseen) ...
TH2F ** fHistoClustPhotonK0lBGPtM02
array of histos with cluster photon BG kaon, M02 vs. pt, source
Int_t GetSourceClassification(Int_t daughter, Int_t pdgCode)
Float_t fClusterIsoSumClusterEt
track PID P
TH1F ** fHistoTrueClusConvGammaPt
array of histos with validated electron, pt
TH1F ** fHistoTrueClusPhotonFromElecMotherPt
array of histos with validated Dalitz decay, more than one decay product in cluster, pt
TH2F ** fHistoMCEtaPtJetPt
array of histos with weighted pi0, pT, hardest jet pt
void SetLogBinningXTH2(TH2 *histoRebin)
void SetInOutTimingCluster(Double_t min, Double_t max)
TH2F ** fHistoNGoodESDTracksVsNGammaCandidates
array of histos with number of gamma candidates per event for basic cluster cut
TH1F ** fHistoNEventsWOWeight
array of histos with event information
TH2F ** fHistoMotherPi0PtY
array of THnSparseF with BG for same event photon pairs, inv Mass, pt
TH2F ** fHistoTruePi0NonMergedElectronPhotonInvMassPt
array of histos with validated mothers, merged cluster part conv, invMass, pt
void FillMultipleCountMap(map< Int_t, Int_t > &ma, Int_t tobechecked)
TH2F ** fHistoClusPhotonPlusConvBGPt
array of histos with cluster photon BG, pt, source
TH2F ** fHistoTruePi0NonMergedElectronMergedPhotonInvMassPt
array of histos with validated mothers, merged cluster invMass, pt
TH2F ** fHistoTrueSecondaryPi0FromK0sInvMassPt
array of histos with validated secondary mothers, invMass, pt
TH1F ** fHistoMCDecayGammaRhoPt
array of histos with decay gamma from pi0, pT
TH1F ** fHistoMCDecayGammaEtaPt
array of histos with decay gamma from rho, pT
TH2F ** fHistoTrueBckFullMesonContainedInOneClusterInvMassPt
array of histos with pure gamma gamma combinatorial BG, invMass, pt
TH2F ** fHistoMCEtaPtY
array of histos with weighted pi0, pT, Y
TH2F ** fHistoTrueSecondaryClusConvGammaMCPt
array of histos with validated secondary photon cluster, MC pt
TH2F ** fHistoTruePrimaryEtaInvMassPt
array of histos with validated weighted primary mothers, invMass, pt
virtual void Terminate(const Option_t *)
TH1F ** fHistoMCDecayGammaSigmaPt
array of histos with decay gamma from phi, pT
TH2F ** fHistoTruePi0PureGammaInvMassPtAlpha
array of histogram with pure pi0 signal inv Mass, energy of cluster
THnSparseF ** fSparseMotherBackInvMassPtZM
array of histogram with BG for mixed event photon pairs, inv Mass, pt
TTree ** tTreeJetPi0Correlations
sum of Et of tracks within R<0.2
TH2F ** fHistoTrueEtaPtAlpha
array of histos with validated pi0, pt, alpha
TH2F ** fHistoTrueSecondaryPi0FromEtaInvMassPt
array of histos with K0l with reconstructed pi0 as daughter, pt
TH2F ** fHistoTrueEtaCaloMergedClusterInvMassPt
array of histos with validated mothers, merged cluster invMass, pt
void FillPhotonBackgroundHist(AliAODConversionPhoton *TruePhotonCandidate, Int_t pdgCode)
TH2F ** fHistoTrueSecondaryPi0FromK0lInvMassPt
array of histos with K0s with reconstructed pi0 as daughter, pt
TH2F ** fHistoTrueEtaCaloConvertedPhotonInvMassPt
array of histos with validated pi0, converted photon leading, invMass, pt
TH1F ** fHistoMCPi0WOEvtWeightInAccPt
array of histos with weighted eta in acceptance, pT
TH1F ** fHistoTrueClusGammaPt
array of histos with cluster photon plus conv BG rest, M02 vs. pt, source
TH2F ** fHistoClustPhotonPlusConvNeutronBGPtM02
array of histos with cluster photon plus conv BG k0l, M02 vs. pt, source
TH2F ** fHistoTrueEtaCaloMergedClusterPartConvInvMassPt
array of histos with validated mothers, merged cluster part conv, invMass, pt
TH2F ** fHistoTrueEtaCategory1
array of histos with validated pi0, pure real photons
TH2F ** fHistoTruePi0CaloConvertedPhotonInvMassPt
array of histos with validated mothers, photon leading, invMass, pt
TH2F ** fHistoTruePrimaryEtaMCPtResolPt
array of histos with validated weighted primary pi0, MCpt, resol pt
TH2F ** fHistoMCSecPi0InAccPtvsSource
array of histos with secondary pi0, source
TH2F ** fHistoClustPhotonPlusConvKaonBGPtM02
array of histos with cluster photon plus conv BG pion, M02 vs. pt, source
TH2F ** fHistoTruePi0CaloMixedPhotonConvPhotonInvMassPt
array of histos with validated eta, converted photon leading, invMass, pt
TH1F ** fHistoMCPi0WOWeightPt
array of histos with weighted pi0, pT
void FillMultipleCountHistoAndClear(map< Int_t, Int_t > &ma, TH1F *hist)
TH1F ** fHistoNV0Tracks
array of histos with SPD tracklets vs SPD clusters for background rejection
TH1F ** fHistoNGammaCandidates
array of histos with vertex z distribution for selected events
Int_t fClusterClassification
cellID of leading cell in cluster
TH2F ** fHistoTruePi0Category4_6
array of histos with validated eta, 1 real photon, 1 electron from conversion unmerged ...
TH1F ** fHistoTrueNLabelsInClus
array of histos with cluster with largest energy by hadron
void SetAllowOverlapHeaders(Bool_t allowOverlapHeader)
TH2F ** fHistoTrueSecondaryClusGammaMCPt
array of histos with validated secondary converted photon cluster, pt
TH2F ** fHistoTrueEtaCategory4_6
array of histos with validated pi0, 2 electrons from same conversion
TH1F ** fHistoMCPi0InAccPt
array of histos without event weights eta, pT
TH2F ** fHistoTrueEtaPtY
array of histos with validated pi0, pt, Y
TH1F ** fHistoMCPi0WOEvtWeightPt
array of histos with unweighted pi0, pT
TH2F ** fHistoDoubleCountTruePi0InvMassPt
array of histos with validated secondary converted photon cluster from X from Lambda, MC pt, rec pt
Float_t fTrueJetPt
pt of pi0-tagged jet
TH2F ** fHistoClustPhotonPlusConvRestBGPtM02
array of histos with cluster photon plus conv BG neutron, M02 vs. pt, source
int Int_t
Definition: External.C:63
TH1F ** fHistoTrueClusEMNonLeadingPt
array of histos with number of different particles (pi0/eta/eta_prime) contributing to cluster ...
TH1F ** fHistoTrueLambdaWithPi0DaughterMCPt
array of histos with validated secondary mothers from Lambda, invMass, pt
Class handling all kinds of selection cuts for Gamma Calo analysis.
TH2F ** fHistoTruePrimaryEtaW0WeightingInvMassPt
array of histos with validated unweighted primary mothers, invMass, pt
TProfile ** fProfileEtaShift
array of histos with V0 counts
Definition: External.C:204
TH2F ** fHistoTrueEtaPtOpenAngle
array of histos with validated pi0, pt, openAngle
TH1F ** fHistoTrueClusUnConvGammaMCPt
array of histos with validated unconverted photon, pt
float Float_t
Definition: External.C:68
TH1F ** fHistoTrueClusDalitzMergedPt
array of histos with validated Dalitz decay, pt
TH2F ** fHistoTrueSecondaryPi0FromLambdaInvMassPt
array of histos with eta with reconstructed pi0 as daughter, pt
TH2F ** fHistCellIDvsClusterEnergy
array of histogram with pure pi0 signal (only pure gammas) inv Mass, energy of cluster ...
void ProcessTrueClusterCandidates(AliAODConversionPhoton *TruePhotonCandidate, AliVCluster *clus)
TH1F ** fHistoTrueClusMergedPartConvGammaPt
array of histos with validated merged photons, electrons, dalitz, pt
Float_t fPi0InvMass
pt of pi0 inside jet
TH1F ** fHistoTrueK0sWithPi0DaughterMCPt
array of histos with validated secondary mothers from K0s, invMass, pt
TH2F ** fHistoMotherPtOpenAngleBck
array of histograms pt, openAngle
TH2F ** fHistoTrueEtaCaloPhotonInvMassPt
array of histos with validated mothers, photon leading, invMass, pt
TH2F ** fHistoTrueSecondaryPi0InvMassPt
array of histos with validated weighted primary eta, MCpt, resol pt
TH1F ** fHistoClusOverlapHeadersGammaPt
array of histos with cluster, E
void ProcessTrueMesonCandidates(AliAODConversionMother *Pi0Candidate, AliAODConversionPhoton *TrueGammaCandidate0, AliAODConversionPhoton *TrueGammaCandidate1)
TH1F ** fHistoTruePrimaryClusGammaPt
array of histos with number of labels in cluster
TH2F ** fHistoTrueSecondaryClusConvGammaFromXFromK0lMCPtESDPt
array of histos with validated secondary photon cluster from X from K0l, MC pt, rec pt ...
TH2F ** fHistoTrueSecondaryClusGammaFromXFromK0lMCPtESDPt
array of histos with validated secondary converted photon cluster from X from K0s, MC pt, rec pt
TH2F ** fHistoTruePi0Category7
array of histos with validated eta, 2 electrons from different conversions, 2 electrons (unseen) ...
TH1F ** fHistoTrueClusNParticles
array of histos with pi0/eta/eta_prime in subleading contribution
void SetCaloCutList(Int_t nCuts, TList *CutArray)
Double_t fEventPlaneAngle
mass of pi0 inside jet
void FillPhotonPlusConversionBackgroundM02Hist(AliAODConversionPhoton *TruePhotonCandidate, AliVCluster *clus, Int_t pdgCode)
TH2F ** fHistoTruePi0CaloMergedClusterInvMassPt
array of histos with validated mothers, electron leading, invMass, pt
TH1F ** fHistoMCEtaPt
array of histos without event weights pi0, pT
THnSparseF ** fSparseMotherInvMassPtZM
array of histogram with signal + BG for same event photon pairs, inv Mass, pt
TH1F ** fHistoNGammaCandidatesBasic
array of histos with number of gamma candidates per event
TH1F ** fHistoTrueClusShowerPt
array of histos with validated photon from electron, pt
TH1F ** fHistoMCSecEtaPt
array of histos with secondary pi0 in acceptance, pT, source
TH2F ** fHistoTruePi0PtY
array of histos with contamination BG, invMass, pt
void SetCorrectionTaskSetting(TString setting)
TH2F ** fHistoMotherBackInvMassECalib
array of histogram with alpha cut of 0.1 for inv mass vs energy of cluster
TH2F ** fHistoMCPi0PtY
array of histos without evt weight eta in acceptance, pT
void ProcessTrueClusterCandidatesAOD(AliAODConversionPhoton *TruePhotonCandidate, AliVCluster *clus)
Int_t mode
Definition: anaM.C:41
TH2F ** fHistoTruePi0CaloPhotonInvMassPt
array of histos with validated mothers, invMass, pt
Float_t fClusterIsoSumTrackEt
sum of Et of clusters within R<0.2
TH2F ** fHistoTrueBckAsymEClustersInvMassPt
array of histos with pi0 fully contained in one cluster, invMass, pt
TH2F ** fHistoEventSphericityvsNtracks
array of histos with event Sphericity
TH2F ** fHistoMCPi0PtJetPt
array of histos with secondary eta, source
Float_t fInvMassTreeInvMass
array of trees
TH2F ** fHistoTrueEtaCategory3
array of histos with validated pi0, 1 real photon, 1 electron from conversion unmerged ...
TH2F ** fHistoClustPhotonPlusConvElectronBGPtM02
array of histos with cluster photon BG rest, M02 vs. pt, source
TH2F ** fHistoTruePi0CaloMergedClusterPartConvInvMassPt
array of histos with validated mothers, merged cluster invMass, pt
TH1F ** fHistoMCEtaWOEvtWeightPt
array of histos with unweighted eta, pT
TH2F ** fHistoClustPhotonRestBGPtM02
array of histos with cluster photon BG neutron, M02 vs. pt, source
TH1F ** fHistoEventSphericity
array of histos with ntrials for jetjet
TH2F ** fHistoTrueSecondaryClusConvGammaFromXFromK0sMCPtESDPt
array of histos with validated secondary photon cluster from X from K0s, MC pt, rec pt ...
TH1F ** fHistoJetJetNTrials
array of profiles with xsection for jetjet
TH1F ** fHistoClusGammaE
array of histos with cluster, pt
TH2F ** fHistoClusGammaPtM02
array of histos with cluster, pt rejected with other headers
TH1F ** fHistoMultipleCountTrueClusterGamma
vector containing labels of validated cluster photons
TH1F ** fHistoClusRejectedHeadersGammaPt
array of histos with cluster, pt all headers
TTree ** tSigInvMassPtAlphaTheta
flag (0 = gamma, 1 = pi0, 2 = eta)
TH1F ** fHistoNGoodESDTracks
array of histos with event information without event weights
TH2F ** fHistoMotherPi0NGoodESDTracksPt
array of histograms pt, openAngle - for Background from eventmixing
Float_t fPi0Pt
true pt of pi0-tagged jet
Bool_t isMC
TH2F ** fHistoTruePi0Category5
array of histos with validated eta, 2 electrons from same conversion
vector< Int_t > fVectorDoubleCountTruePi0s
array of histos with double counted cluster photons
void SetEnableSortingOfMCClusLabels(Bool_t enableSort)
TH1F ** fHistoMCEtaWOEvtWeightInAccPt
array of histos without evt weight pi0 in acceptance, pT
TTree ** tBckInvMassPtAlphaTheta
array of trees
TH2F ** fHistoClustPhotonElectronBGPtM02
array of histos with cluster photon plus conv BG, pt, source
Float_t fInvMass
array of trees with
TH2F ** fHistoTrueEtaCaloMixedPhotonConvPhotonInvMassPt
array of histos with validated mothers, converted photon leading, invMass, pt
TH2F ** fHistoMotherBackInvMassPt
array of THnSparseF with signal + BG for same event photon pairs, inv Mass, pt
TH2F ** fHistoMotherEtaPtAlpha
array of histograms with invariant mass cut of 0.05 && pi0cand->M() < 0.17, pt, alpha ...
TList * fEventCutArray
current list of cluster candidates
void SetEventCutList(Int_t nCuts, TList *CutArray)
TH2F ** fHistoTrueEtaCaloElectronInvMassPt
array of histos with validated mothers, electron leading, invMass, pt
TH2F ** fHistoTruePrimaryClusGammaESDPtMCPt
array of histos with validated primary photon cluster, pt
TH2F ** fHistoSPDClusterTrackletBackground
array of histos with number of good tracks vs gamma candidates
Definition: External.C:220
TH2F ** fHistoClustPhotonPionBGPtM02
array of histos with cluster photon BG electron, M02 vs. pt, source
void RotateParticleAccordingToEP(AliAODConversionPhoton *gamma, Double_t previousEventEP, Double_t thisEventEP)
Class handling all kinds of selection cuts for Gamma Conversion analysis.
AliAnalysisTaskConvJet * fConvJetReader
void FillPhotonPlusConversionBackgroundHist(AliAODConversionPhoton *TruePhotonCandidate, Int_t pdgCode)
TH2F ** fHistoMotherEtaNGoodESDTracksPt
array of histograms with invariant mass cut of 0.05 && pi0cand->M() < 0.17, ngoodtrakcs, pt
AliConversionMesonCuts * fMesonCuts
TH1F ** fHistoMCSecEtaSource
array of histos with secondary eta, pT
AliAnalysisTaskGammaCalo & operator=(const AliAnalysisTaskGammaCalo &)
TH2F ** fHistoMotherPi0PtAlpha
array of histograms with invariant mass cut of 0.45 && pi0cand->M() < 0.65, pt, Y ...
TH2F ** fHistoMCPrimaryPtvsSource
array of histos with weighted eta, pT, alpha
TH2F ** fHistoTruePi0CaloElectronInvMassPt
array of histos with validated mothers, converted photon leading, invMass, pt
TH1F ** fHistoMCEtaWOWeightPt
array of histos with weighted eta, pT
void FillPhotonBackgroundM02Hist(AliAODConversionPhoton *TruePhotonCandidate, AliVCluster *clus, Int_t pdgCode)
Class handling all kinds of selection cuts for Gamma Conversion analysis.
TH1F ** fHistoMCAllGammaPt
array of histos for header names
TH1F ** fHistoTrueClusSubLeadingPt
array of histos with validated shower, pt
TH2F ** fHistoTruePi0Category2
array of histos with validated eta, pure real photons
void SetMesonCutList(Int_t nCuts, TList *CutArray)
TH2F ** fHistoMCSecPi0PtvsSource
array of histos with weighted primary particles, pT vs source
const char Option_t
Definition: External.C:48
TH1F ** fHistoPtJet
array of histos with event Sphericity vs Ntracks
TH1F ** fHistoTrueClusMergedGammaPt
array of histos with validated converted photon, fully contained, pt
TH2F ** fHistoTruePrimaryClusConvGammaESDPtMCPt
array of histos with validated primary conv photon cluster, pt
TH1F ** fHistoMCDecayGammaPi0Pt
array of histos with all secondary gamma, pT
TH1F ** fHistoVertexZ
array of histos with number of good tracks (2010 Standard track cuts)
vector< Int_t > fVectorDoubleCountTrueClusterGammas
vector containing labels of validated eta
TH2F ** fHistoClustPhotonPlusConvK0lBGPtM02
array of histos with cluster photon plus conv BG kaon, M02 vs. pt, source
TH1F ** fHistoTrueClusConvGammaFullyPt
array of histos with validated converted photon, pt
TH1F ** fHistoTrueClusElectronPt
array of histos with validated unconverted photon, M02 vs pt
bool Bool_t
Definition: External.C:53
TH2F ** fHistoMotherEtaPtOpenAngle
array of histograms with invariant mass cut of 0.05 && pi0cand->M() < 0.17, pt, openAngle ...
Implementation of a sample jet analysis task.
TH1I ** fHistoMCHeaders
array of histos with cluster M02 vs. pt
void ProcessTrueMesonCandidatesAOD(AliAODConversionMother *Pi0Candidate, AliAODConversionPhoton *TrueGammaCandidate0, AliAODConversionPhoton *TrueGammaCandidate1)
TH2F ** fHistoClustPhotonNeutronBGPtM02
array of histos with cluster photon BG k0l, M02 vs. pt, source
TH1F ** fHistoNEvents
array of histogram with leading cell ID vs maximum cluster energy in event
Float_t fTrackPt
matching residual track <-> cluster
TH2F ** fHistoClusPhotonBGPt
array of histos with validated eta, pt, openAngle
TH2F ** fHistoTruePi0Category3
array of histos with validated eta, 1 real photon, 1 merged converted photon
TH1F ** fHistoClusAllHeadersGammaPt
array of histos with cluster, pt overlapping with other headers
TH2F ** fHistoTrueSecondaryClusConvGammaFromXFromLambdaMCPtESDPt
array of histos with validated secondary photon cluster from X from Lambda, MC pt, rec pt
TH2F ** fHistoMotherPtOpenAngle
array of histograms with invariant mass cut of 0.45 && pi0cand->M() < 0.65, pt, openAngle ...
TH1F ** fHistoTrueClusUnConvGammaPt
array of histos with validated cluster (electron or photon), pt
TProfile ** fProfileJetJetXSection
array of profiles with eta shift
TH2F ** fHistoTrueSecondaryClusGammaFromXFromLambdaMCPtESDPt
array of histos with validated secondary converted photon cluster from X from K0l, MC pt, rec pt
TH1F ** fHistoMCDecayGammaPhiPt
array of histos with decay gamma from eta&#39;, pT
TH2F ** fHistoMotherEtaPtY
array of histograms with invariant mass cut of 0.05 && pi0cand->M() < 0.17, pt, Y ...
TH1F ** fHistoTrueK0lWithPi0DaughterMCPt
array of histos with validated secondary mothers from K0l, invMass, pt
TH2F ** fHistoTrueClusUnConvGammaPtM02
array of histos with validated cluster (electron or photon), M02 vs pt
TH2F ** fHistoDoubleCountTrueClusterGammaPt
array of histos with double counted etas, invMass, pT
TH1F ** fHistoTrueClusConvGammaMCPt
array of histos with validated converted photon, pt
TH2F ** fHistCellIDvsClusterEnergyMax
array of histogram with leading cell ID vs cluster Energy
TH2F ** fHistoTruePi0PtOpenAngle
array of histos with validated eta, pt, alpha
TH2F ** fHistoMCPi0PtAlpha
array of histos with weighted eta, pT, Y
TProfile2D ** fProfileTruePrimaryPi0WeightsInvMassPt
array of histos with validated unweighted primary mothers, invMass, pt
TH2F ** fHistoDoubleCountTrueEtaInvMassPt
array of histos with double counted pi0s, invMass, pT
void SetTrackMatcherRunningMode(Int_t mode)
TH2F ** fHistoTruePrimaryPi0W0WeightingInvMassPt
array of histos with validated weighted primary mothers, invMass, pt
vector< Int_t > fVectorDoubleCountTrueEtas
vector containing labels of validated pi0
AliGammaConversionAODBGHandler ** fBGHandler
TH1F ** fHistoMCDecayGammaEtapPt
array of histos with decay gamma from omega, pT
TH1F ** fHistoTrueClusDalitzPt
array of histos with validated merged partially converted photons, pt
Float_t fInvMassRTOF
opening angle at R = 0,
virtual void UserExec(Option_t *)