AliPhysics  4a7363b (4a7363b)
AliAnalysisTaskGammaCaloIso.h
Go to the documentation of this file.
1 #ifndef ALIANLYSISTASKGammaCaloIso_cxx
2 #define ALIANLYSISTASKGammaCaloIso_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  AliAnalysisTaskGammaCaloIso(const char *name);
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();
45 
46  // MC functions
48  void ProcessMCParticles();
49  void ProcessAODMCParticles();
50  void ProcessTrueClusterCandidates( AliAODConversionPhoton* TruePhotonCandidate, AliVCluster* clus);
51  void ProcessTrueClusterCandidatesAOD( AliAODConversionPhoton* TruePhotonCandidate, AliVCluster* clus);
52  void ProcessTrueMesonCandidates( AliAODConversionMother *Pi0Candidate, AliAODConversionPhoton *TrueGammaCandidate0, AliAODConversionPhoton *TrueGammaCandidate1);
53  void ProcessTrueMesonCandidatesAOD(AliAODConversionMother *Pi0Candidate, AliAODConversionPhoton *TrueGammaCandidate0, AliAODConversionPhoton *TrueGammaCandidate1);
54  void ProcessMCParticlesIsolationAOD(AliVCluster *cluster, AliAODConversionPhoton *photoncandidate);
55 
56 
57  // switches for additional analysis streams or outputs
58  void SetLightOutput(Bool_t flag){fDoLightOutput = flag;}
60  void SetDoMesonQA(Int_t flag){fDoMesonQA = flag;}
61  void SetDoClusterQA(Int_t flag){fDoClusterQA = flag;}
62  void SetDoTHnSparse(Bool_t flag){fDoTHnSparse = flag;}
64  void SetAllowOverlapHeaders( Bool_t allowOverlapHeader ) {fAllowOverlapHeaders = allowOverlapHeader;}
65 
68  return;
69  }
70 
71  // Setting the cut lists for the conversion photons
72  void SetEventCutList(Int_t nCuts, TList *CutArray){
73  fnCuts = nCuts;
74  fEventCutArray = CutArray;
75  }
76 
77  // Setting the cut lists for the calo photons
78  void SetCaloCutList(Int_t nCuts, TList *CutArray){
79  fnCuts = nCuts;
80  fClusterCutArray = CutArray;
81  }
82 
83  // Setting the cut lists for the meson
84  void SetMesonCutList(Int_t nCuts, TList *CutArray){
85  fnCuts = nCuts;
86  fMesonCutArray = CutArray;
87  }
88 
89  // BG HandlerSettings
90  void CalculateBackground();
92  void CalculateBackgroundRP();
94  void RotateParticleAccordingToEP(AliAODConversionPhoton *gamma, Double_t previousEventEP, Double_t thisEventEP);
95  void FillPhotonBackgroundHist(AliAODConversionPhoton *TruePhotonCandidate, Int_t pdgCode);
96  void FillPhotonPlusConversionBackgroundHist(AliAODConversionPhoton *TruePhotonCandidate, Int_t pdgCode);
97  void FillPhotonBackgroundM02Hist(AliAODConversionPhoton *TruePhotonCandidate, AliVCluster* clus, Int_t pdgCode);
98  void FillPhotonPlusConversionBackgroundM02Hist(AliAODConversionPhoton *TruePhotonCandidate, AliVCluster* clus, Int_t pdgCode);
100 
101  // Additional functions for convenience
102  void SetLogBinningXTH2(TH2* histoRebin);
103  Int_t GetSourceClassification(Int_t daughter, Int_t pdgCode);
104 
105  Bool_t CheckVectorForDoubleCount(vector<Int_t> &vec, Int_t tobechecked);
106  void FillMultipleCountMap(map<Int_t,Int_t> &ma, Int_t tobechecked);
107  void FillMultipleCountHistoAndClear(map<Int_t,Int_t> &ma, TH1F* hist);
108 
109  // set method to enable EOverP tree
111 
112  // Function to enable MC label sorting
113  void SetEnableSortingOfMCClusLabels(Bool_t enableSort) { fEnableSortForClusMC = enableSort; }
114 
115  // Function to enable local debugging mode
117 
118  // Function to set correction task setting
120 
121  void EventDebugMethod();
124 
126 
127  void SetSoftAnalysis(Bool_t DoSoft) {fDoSoftAnalysis = DoSoft;}
128 
129  protected:
130  AliV0ReaderV1* fV0Reader; // basic photon Selection Task
133  AliGammaConversionAODBGHandler** fBGHandler; // BG handler for Conversion
134  AliVEvent* fInputEvent; // current event
135  AliMCEvent* fMCEvent; // corresponding MC event
136  TList** fCutFolder; // Array of lists for containers belonging to cut
137  TList** fESDList; // Array of lists with histograms with reconstructed properties
138  TList** fIsolation; // Container for Photon Isolation
139  TList** fBackList; // Array of lists with BG THnSparseF
140  TList** fMotherList; // Array of lists with Signal THnSparseF
141  TList** fTrueList; // Array of lists with histograms with MC validated reconstructed properties
142  TList** fMCList; // Array of lists with histograms with pure MC information
143  TList** fTreeList; // Array of lists with tree for validated MC
144  TList** fClusterTreeList; // Array of lists with tree for EoverP
145  TList* fOutputContainer; // Output container
148  TList* fEventCutArray; // List with Event Cuts
149  AliConvEventCuts* fEventCuts; // EventCutObject
150  TList* fClusterCutArray; // List with Cluster Cuts
151  AliCaloPhotonCuts* fCaloPhotonCuts; // CaloPhotonCutObject
152  TList* fMesonCutArray; // List with Meson Cuts
153  AliConversionMesonCuts* fMesonCuts; // MesonCutObject
155  Bool_t fDoJetAnalysis; // Bool to produce Jet Plots
156  Bool_t fDoJetQA; // Bool to produce Jet QA Plots
157  TList** fJetHistograms; // Jet Histograms
158  TList** fTrueJetHistograms; // True Jet Histograms
159 
160  //histograms for mesons reconstructed quantities
179 
180  // histograms for Isolation
194 
195  // histograms for rec photon clusters
202  //histograms for pure MC quantities
213  TH1F** fHistoMCPi0Pt;
216  TH1F** fHistoMCEtaPt;
235 
236  // MC validated reconstructed quantities mesons
294  // MC validated reconstructed quantities photons
354 
355  // event histograms
356  TH1F** fHistoNEvents;
359  TH1F** fHistoVertexZ;
365  TProfile** fProfileEtaShift;
370 
371  TH1F** fHistoPtJet; // Histogram of Jet Pt
372  TH1F** fHistoJetEta; // Histogram of Jet Eta
373  TH1F** fHistoJetPhi; // Histogram of Jet Phi
374  TH1F** fHistoJetArea; // Histogram of Jet Area
375  TH1F** fHistoNJets; // Histogram of number of jets
376  TH1F** fHistoEventwJets; // Histogram of number of events with jets > 0
377  TH1F** fHistoJetPi0PtRatio; // Histogram of PtPi0/PtJet
378  TH1F** fHistoDoubleCounting; // Histogram if NM candidates are defined within multiple jets
379  TH2F** fHistoJetMotherInvMassPt; // Histogram of NM candidates with a jet in the event
380  TH2F** fHistoPi0InJetMotherInvMassPt; // Histogram of NM candidates that are inside a jet
381  TH2F** fHistoMotherBackJetInvMassPt; // Histogram of Backgrouns candidates that are involved with jets
382  TH2F** fHistoRJetPi0Cand; // Histogram of RJetPi0Cand vs Pt
383  TH2F** fHistoEtaPhiJetPi0Cand; // Histogram of delta eta and delta phi distr between jet and NM candidates
384  TH2F** fHistoEtaPhiJetWithPi0Cand; // Histogram of delta eta and delta phi distr when pi0 is inside a jet
385  TH2F** fHistoJetFragmFunc; // Histogram to determine fragmentation function
386  TH2F** fHistoTruevsRecJetPt; // Histogram of true jet pt vs reconstructed jet pt
387  TH2F** fHistoTruePi0JetMotherInvMassPt; // Histogram of true pi0s in an event with a jet
388  TH2F** fHistoTruePi0InJetMotherInvMassPt; // Histogram of true pi0s in a jet
389  TH2F** fHistoTruePrimaryPi0JetInvMassPt; // Histogram of true primary pi0s in an event with a jet
390  TH2F** fHistoTruePrimaryPi0inJetInvMassPt; // Histogram of true primary pi0s in a jet
391  TH1F** fHistoTrueDoubleCountingPi0Jet; // Histogram of when a true pi0 is defined to be in multiple jets
392  TH2F** fHistoTrueEtaJetMotherInvMassPt; // Histogram of true etas in an event with a jet
393  TH2F** fHistoTrueEtaInJetMotherInvMassPt; // Histogram of true etas in a jet
394  TH2F** fHistoTruePrimaryEtaJetInvMassPt; // Histogram of true primary etas in an event with a jet
395  TH2F** fHistoTruePrimaryEtainJetInvMassPt; // Histogram of true primary etas in a jet
396  TH1F** fHistoTrueDoubleCountingEtaJet; // Histogram of when a true eta is defined to be in multiple jets
397  TH2F** fHistoTruePi0JetFragmFunc; // Histogram to determine true pi0 fragmentation function
398  TH2F** fHistoTrueEtaJetFragmFunc; // Histogram to determine true eta fragmentation function
399  TH1F** fHistoMCPi0JetInAccPt; // Histogram with weighted pi0 in a jet event in acceptance, pT
400  TH1F** fHistoMCPi0inJetInAccPt; // Histogram with weighted pi0 in a jet in acceptance, pT
401  TH1F** fHistoMCEtaJetInAccPt; // Histogram with weighted eta in a jet event in acceptance, pT
402  TH1F** fHistoMCEtainJetInAccPt; // Histogram with weighted eta in a jet in acceptance, pT
403  TH2F** fHistoTrueSecondaryPi0FromK0sJetInvMassPt; // Histogram with validated secondary mothers from K0s in an event with a jet, invMass, pt
404  TH2F** fHistoTrueSecondaryPi0FromK0sinJetInvMassPt; // Histogram with validated secondary mothers from K0s in a jet, invMass, pt
405  TH2F** fHistoTrueSecondaryPi0FromLambdaJetInvMassPt; // Histogram with validated secondary mothers from lambda in an event with a jet, invMass, pt
406  TH2F** fHistoTrueSecondaryPi0FromLambdainJetInvMassPt; // Histogram with validated secondary mothers from lambda in a jet, invMass, pt
407  TH2F** fHistoTrueSecondaryPi0FromK0lJetInvMassPt; // Histogram with validated secondary mothers from K0l in an event with a jet, invMass, pt
408  TH2F** fHistoTrueSecondaryPi0FromK0linJetInvMassPt; // Histogram with validated secondary mothers from K0l in a jet, invMass, pt
409  TH2F** fHistoTrueSecondaryPi0InvJetMassPt; // Histogram with validated secondary mothers in an event with a jet, invMass, pt
410  TH2F** fHistoTrueSecondaryPi0InvinJetMassPt; // Histogram with validated secondary mothers in a jet, invMass, pt
411 
412  vector<Double_t> fVectorJetPt; // Vector of JetPt
413  vector<Double_t> fVectorJetPx; // Vector of JetPx
414  vector<Double_t> fVectorJetPy; // Vector of JetPy
415  vector<Double_t> fVectorJetPz; // Vector of JetPz
416  vector<Double_t> fVectorJetEta; // Vector of JetEta
417  vector<Double_t> fVectorJetPhi; // Vector of JetPhi
418  vector<Double_t> fVectorJetArea; // Vector of JetArea
419  vector<Double_t> fTrueVectorJetPt; // Vector of True JetPt
420  vector<Double_t> fTrueVectorJetPx; // Vector of True JetPx
421  vector<Double_t> fTrueVectorJetPy; // Vector of True JetPy
422  vector<Double_t> fTrueVectorJetPz; // Vector of True JetPz
423  vector<Double_t> fTrueVectorJetEta; // Vector of True JetEta
424  vector<Double_t> fTrueVectorJetPhi; // Vector of True JetPhi
425 
426  // tree for identified particle properties
433  UChar_t iFlag;
434 
435  // tree for alpha/opening angle studies
445 
446  // tree for E/p studies
463 
464  //tree for Jet-pi0 correlation studies
470 
471  // hists for nonlineartiy calibration
472 // TH2F** fHistoTruePi0NonLinearity; //! E_truth/E_rec vs E_rec for TruePi0s
473 // TH2F** fHistoTrueEtaNonLinearity; //! E_truth/E_rec vs E_rec for TrueEtas
474 
475  // additional variables
476  Double_t fEventPlaneAngle; // EventPlaneAngle
477  TRandom3 fRandom; // random
478  Int_t fnCuts; // number of cuts to be analysed in parallel
479  Int_t fiCut; // current cut
480  Int_t fIsHeavyIon; // switch for pp = 0, PbPb = 1, pPb = 2
481  Bool_t fDoLightOutput; // switch for running light output, kFALSE -> normal mode, kTRUE -> light mode
482  Bool_t fDoMesonAnalysis; // flag for meson analysis
483  Int_t fDoMesonQA; // flag for meson QA
484  Int_t fDoClusterQA; // flag for cluster QA
485  Bool_t fIsFromDesiredHeader; // flag for MC headers
486  Bool_t fIsOverlappingWithOtherHeader; // flag for particles in MC overlapping between headers
487  Int_t fIsMC; // flag for MC information
488  Bool_t fDoTHnSparse; // flag for using THnSparses for background estimation
489  Bool_t fSetPlotHistsExtQA; // flag for extended QA hists
490  Bool_t fDoSoftAnalysis; // bool for Sphericity analysis without jets
491  Double_t fWeightJetJetMC; // weight for Jet-Jet MC
492  Bool_t fDoInOutTimingCluster; // manual timing cut for cluster to combine cluster within timing cut and without
493  Double_t fMinTimingCluster; // corresponding ranges, min
494  Double_t fMaxTimingCluster; // corresponding ranges, max
495  Bool_t fEnableSortForClusMC; // switch on sorting for MC labels in cluster
496  Bool_t fProduceCellIDPlots; // switch to produce CellID plots for fDoClusterQA==2
497  Bool_t fProduceTreeEOverP; // flag for producing tree for E/p studies
498  TTree* tBrokenFiles; // tree for keeping track of broken files
499  TObjString* fFileNameBroken; // string object for broken file name
500  TTree* tClusterQATree; // tree for specific cluster QA
501  TObjString* fCloseHighPtClusters; // file name to indicate clusters with high pT (>15 GeV/c) very close to each other (<17 mrad)
502 
503  Int_t fLocalDebugFlag; // debug flag for local running, must be '0' for grid running
504  Bool_t fAllowOverlapHeaders; // enable overlapping headers for cluster selection
505  Int_t fNCurrentClusterBasic; // current number of cluster without minE
506  Int_t fTrackMatcherRunningMode; // CaloTrackMatcher running mode
507  private:
508  AliAnalysisTaskGammaCaloIso(const AliAnalysisTaskGammaCaloIso&); // Prevent copy-construction
510 
511  ClassDef(AliAnalysisTaskGammaCaloIso, 53);
512 };
513 
514 #endif
TH2F ** fHistoTruePrimaryPi0MCPtResolPt
array of profiles with weights for validated primary mothers, invMass, pt
TH1F ** fHistoTrueClusNParticles
array of histos with pi0/eta/eta_prime in subleading contribution
TH2F ** fHistoMCPi0PtJetPt
array of histos with secondary eta, source
TH2F ** fHistoClustPhotonRestBGPtM02
array of histos with cluster photon BG neutron, M02 vs. pt, source
void SetEnableSortingOfMCClusLabels(Bool_t enableSort)
TH2F ** fHistoTrueSecondaryPi0FromLambdaInvMassPt
array of histos with eta with reconstructed pi0 as daughter, pt
TH2F ** fHistoClustPhotonPionBGPtM02
array of histos with cluster photon BG electron, M02 vs. pt, source
TH2F ** fHistoTrueSecondaryClusConvGammaFromXFromLambdaMCPtESDPt
array of histos with validated secondary photon cluster from X from Lambda, MC pt, rec pt
TH1F ** fHistoTrueClusConvGammaPt
array of histos with validated electron, pt
TH1F ** fHistoJetJetNTrials
array of profiles with xsection for jetjet
AliAnalysisTaskConvJet * fConvJetReader
TH2F ** fHistoClustPhotonPlusConvKaonBGPtM02
array of histos with cluster photon plus conv BG pion, M02 vs. pt, source
TH2F ** fHistoTruePi0CaloPhotonInvMassPt
array of histos with validated mothers, invMass, pt
Float_t fDeltaEta
classification of cluster in MC
TH2F ** fHistoMCEtaPtY
array of histos with weighted pi0, pT, Y
TH2F ** fHistoTrueEtaCategory3
array of histos with validated pi0, 1 real photon, 1 electron from conversion unmerged ...
void ProcessTrueClusterCandidatesAOD(AliAODConversionPhoton *TruePhotonCandidate, AliVCluster *clus)
TH2F ** fHistoTruePi0Category1
array of histos with validated mothers, merged cluster invMass, pt
TH2F ** fHistoMotherPi0PtOpenAngle
array of histograms with invariant mass cut of 0.45 && pi0cand->M() < 0.65, pt, alpha ...
AliAnalysisTaskGammaCaloIso & operator=(const AliAnalysisTaskGammaCaloIso &)
TH1F ** fHistoMCDecayGammaSigmaPt
array of histos with decay gamma from phi, pT
double Double_t
Definition: External.C:58
TH2F ** fHistoDoubleCountTrueClusterGammaPt
array of histos with double counted etas, invMass, pT
TTree ** tTreeJetPi0Correlations
sum of Et of tracks within R<0.2
TH2F ** fHistoSPDClusterTrackletBackground
array of histos with number of good tracks vs gamma candidates
TH2F ** fHistoMCEtaPtJetPt
array of histos with weighted pi0, pT, hardest jet pt
TH2F ** fHistoTruePi0NonMergedElectronPhotonInvMassPt
array of histos with validated mothers, merged cluster part conv, invMass, pt
TList * fEventCutArray
current list of isolated cluster candidates
void ProcessTrueMesonCandidates(AliAODConversionMother *Pi0Candidate, AliAODConversionPhoton *TrueGammaCandidate0, AliAODConversionPhoton *TrueGammaCandidate1)
void FillPhotonPlusConversionBackgroundHist(AliAODConversionPhoton *TruePhotonCandidate, Int_t pdgCode)
TH2F ** fHistoTruePi0CaloElectronInvMassPt
array of histos with validated mothers, converted photon leading, invMass, pt
TH2F ** fHistoTrueEtaCaloPhotonInvMassPt
array of histos with validated mothers, photon leading, invMass, pt
Definition: External.C:236
TH2F ** fHistoTrueEtaCategory4_6
array of histos with validated pi0, 2 electrons from same conversion
TH1F ** fHistoTrueEtaWithPi0DaughterMCPt
array of histos with validated secondary mothers from eta, invMass, pt
TH1F ** fHistoMCEtaPt
array of histos without event weights pi0, pT
Float_t fClusterIsoSumTrackEt
sum of Et of clusters within R<0.2
TH2F ** fHistoTruePi0Category5
array of histos with validated eta, 2 electrons from same conversion
TH2F ** fHistoTruePi0NonMergedElectronMergedPhotonInvMassPt
array of histos with validated mothers, merged cluster invMass, pt
TH1F ** fHistoMCSecEtaSource
array of histos with secondary eta, pT
TH2F ** fHistoTruePrimaryPi0W0WeightingInvMassPt
array of histos with validated weighted primary mothers, invMass, pt
TH2F ** fHistoTrueEtaPtAlpha
array of histos with validated pi0, pt, alpha
TProfile ** fProfileJetJetXSection
array of profiles with eta shift
TH2F ** fHistoClustPhotonNeutronBGPtM02
array of histos with cluster photon BG k0l, M02 vs. pt, source
TH2F ** fHistoMotherPi0PtY
array of THnSparseF with BG for same event photon pairs, inv Mass, pt
TH2F ** fHistoTrueSecondaryPi0InvMassPt
array of histos with validated weighted primary eta, MCpt, resol pt
void FillPhotonBackgroundHist(AliAODConversionPhoton *TruePhotonCandidate, Int_t pdgCode)
TH2F ** fHistoTrueEtaInvMassPt
array of histos with validated mothers, invMass, pt
vector< Int_t > fVectorDoubleCountTrueClusterGammas
vector containing labels of validated eta
TH2F ** fHistoTrueSecondaryClusGammaFromXFromK0lMCPtESDPt
array of histos with validated secondary converted photon cluster from X from K0s, MC pt, rec pt
TH1I ** fHistoMCHeaders
array of histos with cluster M02 vs. pt
TH1F ** fHistoTrueK0sWithPi0DaughterMCPt
array of histos with validated secondary mothers from K0s, invMass, pt
TH2F ** fHistoTruePi0PtY
array of histos with contamination BG, invMass, pt
TH1F ** fHistoClusRejectedHeadersGammaPt
array of histos with cluster, pt all headers
void ProcessMCParticlesIsolationAOD(AliVCluster *cluster, AliAODConversionPhoton *photoncandidate)
TH1F ** fHistoTrueClusShowerPt
array of histos with validated photon from electron, pt
TH2F ** fHistoTrueSecondaryClusGammaFromXFromLambdaMCPtESDPt
array of histos with validated secondary converted photon cluster from X from K0l, MC pt, rec pt
TH2F ** fHistoTruePi0PureGammaInvMassPtAlpha
array of histogram with pure pi0 signal inv Mass, energy of cluster
TH2F ** fHistoTrueEtaCategory7
array of histos with validated pi0, 1 electron from conversion, 2 electrons from other conversion mer...
TH2F ** fHistoTruePi0CaloMergedClusterPartConvInvMassPt
array of histos with validated mothers, merged cluster invMass, pt
TH2F ** fHistoIsoMotherPDGtoPt
array of histograms with IsolatedClusterPDG Material Secondaries
TH1F ** fHistoDoubleCountMCIsoInitPhotonCorrectPt
vector containing labels of validated isolated Init photons for the isolation task ...
TH2F ** fHistoIsoClusterPDGtoPtMatSec
array of histograms with IsolatedClusterPDG
TH2F ** fHistoTruePrimaryEtaW0WeightingInvMassPt
array of histos with validated unweighted primary mothers, invMass, pt
Float_t fTrueJetPt
pt of pi0-tagged jet
void SetMesonCutList(Int_t nCuts, TList *CutArray)
TH2F ** fHistoTrueEtaPtOpenAngle
array of histos with validated pi0, pt, openAngle
TH2F ** fHistoTruePi0Category8
array of histos with validated eta, 1 electron from conversion, 2 electrons from other conversion mer...
Int_t fClusterClassification
cellID of leading cell in cluster
TH1F ** fHistoIsoMatSecConversionfromPhoton
array of histograms with IsolatedMotherPDG
TH2F ** fHistoTruePi0Category3
array of histos with validated eta, 1 real photon, 1 merged converted photon
void SetAllowOverlapHeaders(Bool_t allowOverlapHeader)
TH2F ** fHistoMotherPi0NGoodESDTracksPt
array of histograms pt, openAngle - for Background from eventmixing
TH2F ** fHistoTrueEtaCategory2
array of histos with validated pi0, 1 real photon, 1 merged converted photon
void DebugMethodPrint1(AliAODConversionMother *pi0cand, AliAODConversionPhoton *gamma0, AliAODConversionPhoton *gamma1)
TH2F ** fHistoTrueSecondaryClusConvGammaPt
array of histos with validated secondary photon cluster, pt
TH1F ** fHistoTrueClusConvGammaMCPt
array of histos with validated converted photon, pt
Double_t fEventPlaneAngle
mass of pi0 inside jet
TH1F ** fHistoTrueClusConvGammaFullyPt
array of histos with validated converted photon, pt
TH2F ** fHistoTruePi0PtOpenAngle
array of histos with validated eta, pt, alpha
TH1F ** fHistoEventSphericity
array of histos with ntrials for jetjet
Float_t fInvMassTreeInvMass
array of trees
TH2F ** fHistoTruePi0Category2
array of histos with validated eta, pure real photons
TH2F ** fHistoTrueBckGGInvMassPt
array of histos with lambda with reconstructed pi0 as daughter, pt
TH1F ** fHistoMCPi0WOWeightPt
array of histos with weighted pi0, pT
TH1F ** fHistoTrueClusGammaPt
array of histos with cluster photon plus conv BG rest, M02 vs. pt, source
TH2F ** fHistoTruePi0CaloMixedPhotonConvPhotonInvMassPt
array of histos with validated eta, converted photon leading, invMass, pt
void SetEventCutList(Int_t nCuts, TList *CutArray)
TH2F ** fHistoMCEtaPtAlpha
array of histos with weighted pi0, pT, alpha
void SetCaloCutList(Int_t nCuts, TList *CutArray)
TH1F ** fHistoPtJet
array of histos with event Sphericity vs Ntracks
TH2F ** fHistoTrueEtaCaloElectronInvMassPt
array of histos with validated mothers, electron leading, invMass, pt
TH2F ** fHistoMCPi0PtAlpha
array of histos with weighted eta, pT, Y
THnSparseF ** fSparseMotherBackInvMassPtZM
array of histogram with BG for mixed event photon pairs, inv Mass, pt Isolation Method ...
TH2F ** fHistoMCSecPi0InAccPtvsSource
array of histos with secondary pi0, source
TH1F ** fHistoTrueClusEMNonLeadingPt
array of histos with number of different particles (pi0/eta/eta_prime) contributing to cluster ...
TH1F ** fHistoMCDecayGammaEtapPt
array of histos with decay gamma from omega, pT
TH2F ** fHistoTruePi0InvMassPt
array of histos with weighted eta, pT, hardest jet pt
TH2F ** fHistoTruePrimaryClusGammaESDPtMCPt
array of histos with validated primary photon cluster, pt
TH1F ** fHistoClusAllHeadersGammaPt
array of histos with cluster, pt overlapping with other headers
TH2F ** fHistoMotherEtaPtAlpha
array of histograms with invariant mass cut of 0.05 && pi0cand->M() < 0.17, pt, alpha ...
TH1F ** fHistoNEvents
array of histogram with leading cell ID vs maximum cluster energy in event
TH1F ** fHistoTrueK0lWithPi0DaughterMCPt
array of histos with validated secondary mothers from K0l, invMass, pt
TH2F ** fHistoTruePi0InvMassPtAlpha
map containing cluster photon labels that are counted at least twice
TH2F ** fHistoClustPhotonPlusConvPionBGPtM02
array of histos with cluster photon plus conv BG electron, M02 vs. pt, source
TH2F ** fHistoTrueSecondaryClusConvGammaFromXFromK0lMCPtESDPt
array of histos with validated secondary photon cluster from X from K0l, MC pt, rec pt ...
TH1F ** fHistoMultipleCountTrueClusterGamma
vector containing labels of validated cluster photons
TH2F ** fHistoTrueBckContInvMassPt
array of histos with asymmetry energy distributions of clusters, invMass, pt
void ProcessTrueMesonCandidatesAOD(AliAODConversionMother *Pi0Candidate, AliAODConversionPhoton *TrueGammaCandidate0, AliAODConversionPhoton *TrueGammaCandidate1)
vector< Int_t > fVectorDoubleCountMCInitIsoPhotons
array of histograms with isolated MC Init photons + conversion energy correction
int Int_t
Definition: External.C:63
TH2F ** fHistoClustPhotonPlusConvK0lBGPtM02
array of histos with cluster photon plus conv BG kaon, M02 vs. pt, source
TH2F ** fHistoMotherInvMassECalib
array of histograms with invariant mass cut of 0.45 && pi0cand->M() < 0.65, ngoodtrakcs, pt
TH2F ** fHistoTrueBckFullMesonContainedInOneClusterInvMassPt
array of histos with pure gamma gamma combinatorial BG, invMass, pt
TH1F ** fHistoTrueClusUnConvGammaMCPt
array of histos with validated unconverted photon, pt
Class handling all kinds of selection cuts for Gamma Calo analysis.
Definition: External.C:204
Float_t fInvMass
array of trees with
TH2F ** fHistoMotherEtaPtOpenAngle
array of histograms with invariant mass cut of 0.05 && pi0cand->M() < 0.17, pt, openAngle ...
TH1F ** fHistoTrueClusDalitzPt
array of histos with validated merged partially converted photons, pt
TH2F ** fHistoTrueBckAsymEClustersInvMassPt
array of histos with pi0 fully contained in one cluster, invMass, pt
TH1F ** fHistoMCDecayGammaPi0Pt
array of histos with all secondary gamma, pT
float Float_t
Definition: External.C:68
TH2F ** fHistoDoubleCountTruePi0InvMassPt
array of histos with validated secondary converted photon cluster from X from Lambda, MC pt, rec pt
TH2F ** fHistoMotherBackInvMassPt
array of THnSparseF with signal + BG for same event photon pairs, inv Mass, pt
TH2F ** fHistoClustPhotonElectronBGPtM02
array of histos with cluster photon plus conv BG, pt, source
TH1F ** fHistoTrueClusPhotonFromElecMotherPt
array of histos with validated Dalitz decay, more than one decay product in cluster, pt
TList * fIsoCandidates
current list of cluster candidates
TH2F ** fHistoTrueSecondaryClusConvGammaFromXFromK0sMCPtESDPt
array of histos with validated secondary photon cluster from X from K0s, MC pt, rec pt ...
TH2F ** fHistoTrueEtaCaloMergedClusterPartConvInvMassPt
array of histos with validated mothers, merged cluster part conv, invMass, pt
TH1F ** fHistoClusOverlapHeadersGammaPt
array of histos with cluster, E
THnSparseF ** fSparseMotherInvMassPtZM
array of histogram with signal + BG for same event photon pairs, inv Mass, pt
TH1F ** fHistoNV0Tracks
array of histos with SPD tracklets vs SPD clusters for background rejection
TH2F ** fHistoMotherInvMassIsoPt
array of histogram with signal + BG for same event photon pairs, inv Mass, pt
TH1F ** fHistoTrueNLabelsInClus
array of histos with cluster with largest energy by hadron
TH1F ** fHistoDoubleCountMCIsoInitPhotonPt
array of histos with double counted Init isolated photons (MatSec)
TH2F ** fHistoClustPhotonKaonBGPtM02
array of histos with cluster photon BG pion, M02 vs. pt, source
TH1F ** fHistoTrueClusMergedGammaPt
array of histos with validated converted photon, fully contained, pt
TH2F ** fHistoClustPhotonPlusConvNeutronBGPtM02
array of histos with cluster photon plus conv BG k0l, M02 vs. pt, source
TH1F ** fHistoTrueClusUnConvGammaPt
array of histos with validated cluster (electron or photon), pt
TH2F ** fHistoTrueEtaCaloMergedClusterInvMassPt
array of histos with validated mothers, merged cluster invMass, pt
TProfile2D ** fProfileTruePrimaryEtaWeightsInvMassPt
array of profiles with weights for validated primary mothers, invMass, pt
AliGammaConversionAODBGHandler ** fBGHandler
TH1F ** fHistoClusGammaE
array of histos with cluster, pt
Float_t fInvMassRTOF
opening angle at R = 0,
TH2F ** fHistoMotherPi0PtAlpha
array of histograms with invariant mass cut of 0.45 && pi0cand->M() < 0.65, pt, Y ...
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
Float_t fTrackPt
matching residual track <-> cluster
Int_t fClusterLeadCellID
cluster-track E/p
TH1F ** fHistoMCPi0Pt
array of histos with decay gamma from Sigma0, pT
TH2F ** fHistoDoubleCountTrueEtaInvMassPt
array of histos with double counted pi0s, invMass, pT
void FillPhotonPlusConversionBackgroundM02Hist(AliAODConversionPhoton *TruePhotonCandidate, AliVCluster *clus, Int_t pdgCode)
TH2F ** fHistoMotherEtaPtY
array of histograms with invariant mass cut of 0.05 && pi0cand->M() < 0.17, pt, Y ...
void FillPhotonBackgroundM02Hist(AliAODConversionPhoton *TruePhotonCandidate, AliVCluster *clus, Int_t pdgCode)
vector< Int_t > fVectorDoubleCountTrueEtas
vector containing labels of validated pi0
void FillMultipleCountMap(map< Int_t, Int_t > &ma, Int_t tobechecked)
TTree ** tBckInvMassPtAlphaTheta
array of trees
TH2F ** fHistoMotherPtOpenAngleBck
array of histograms pt, openAngle
vector< Int_t > fVectorDoubleCountTruePi0s
array of histos with double counted cluster photons
TH2F ** fHistoTruePi0Category4_6
array of histos with validated eta, 1 real photon, 1 electron from conversion unmerged ...
TH2F ** fHistoTrueEtaCaloConvertedPhotonInvMassPt
array of histos with validated pi0, converted photon leading, invMass, pt
Int_t mode
Definition: anaM.C:41
TH1F ** fHistoMCDecayGammaPhiPt
array of histos with decay gamma from eta&#39;, pT
TH2F ** fHistoTruePi0PtAlpha
array of histos with validated eta, pt, Y
TH1F ** fHistoMCPi0WOEvtWeightPt
array of histos with unweighted pi0, pT
TH2F ** fHistCellIDvsClusterEnergyMax
array of histogram with leading cell ID vs cluster Energy
TH1F ** fHistoMCEtaInAccPt
array of histos with weighted pi0 in acceptance, pT
TH2F ** fHistoMotherBackInvMassIsoPt
array of histogram with BG for mixed event photon pairs, inv Mass, pt
TH2F ** fHistoTruePrimaryClusConvGammaESDPtMCPt
array of histos with validated primary conv photon cluster, pt
TH1F ** fHistoMCEtaWOWeightPt
array of histos with weighted eta, pT
TH2F ** fHistoTrueSecondaryPi0FromK0sInvMassPt
array of histos with validated secondary mothers, invMass, pt
TH2F ** fHistoTrueClusUnConvGammaPtM02
array of histos with validated cluster (electron or photon), M02 vs pt
TH1F ** fHistoClusGammaPt
array of histos with double counted Init isolated photons (MatSec)
TH1F ** fHistoNGammaCandidates
array of histos with vertex z distribution for selected events
Float_t fPi0InvMass
pt of pi0 inside jet
TH2F ** fHistoTrueEtaPtY
array of histos with validated pi0, pt, Y
Float_t fPi0Pt
true pt of pi0-tagged jet
TH2F ** fHistoTruePi0CaloMergedClusterInvMassPt
array of histos with validated mothers, electron leading, invMass, pt
TH2F ** fHistoMotherEtaNGoodESDTracksPt
array of histograms with invariant mass cut of 0.05 && pi0cand->M() < 0.17, ngoodtrakcs, pt
map< Int_t, Int_t > fMapMultipleCountTrueClusterGammas
array of histos how often TrueClusterGammas are counted
Float_t fClusterE
array of trees with tree for E/p studies
TH1F ** fHistoTrueClusElectronPt
array of histos with validated unconverted photon, M02 vs pt
TH2F ** fHistoTrueSecondaryClusConvGammaMCPt
array of histos with validated secondary photon cluster, MC pt
TH2F ** fHistoClustPhotonPlusConvElectronBGPtM02
array of histos with cluster photon BG rest, M02 vs. pt, source
Bool_t CheckVectorForDoubleCount(vector< Int_t > &vec, Int_t tobechecked)
TH1F ** fHistoMCPi0WOEvtWeightInAccPt
array of histos with weighted eta in acceptance, pT
TH1F ** fHistoTrueClusMergedPartConvGammaPt
array of histos with validated merged photons, electrons, dalitz, pt
Bool_t isMC
TH2F ** fHistoTrueEtaCategory1
array of histos with validated pi0, pure real photons
TH2F ** fHistoClustPhotonPlusConvRestBGPtM02
array of histos with cluster photon plus conv BG neutron, M02 vs. pt, source
TH1F ** fHistoMCEtaWOEvtWeightInAccPt
array of histos without evt weight pi0 in acceptance, pT
void RotateParticle(AliAODConversionPhoton *gamma)
TH2F ** fHistoMCPrimaryPtvsSource
array of histos with weighted eta, pT, alpha
TH2F ** fHistoMCSecPi0PtvsSource
array of histos with weighted primary particles, pT vs source
TH1F ** fHistoTrueClusDalitzMergedPt
array of histos with validated Dalitz decay, pt
TH1F ** fHistoClusterCandidates
array of histogram with BG for mixed event photon pairs with alpha cut of 0.1, inv mass...
Definition: External.C:220
TH1F ** fHistoMCSecEtaPt
array of histos with secondary pi0 in acceptance, pT, source
TH2F ** fHistoIsoClusterPDGtoPt
array of histograms with PhotonCandidates failing the isolation cut
Class handling all kinds of selection cuts for Gamma Conversion analysis.
TH1F ** fHistoMCDecayGammaRhoPt
array of histos with decay gamma from pi0, pT
TH1F ** fHistoMCAllGammaPt
array of histos for header names
TH1F ** fHistoNGammaCandidatesBasic
array of histos with number of gamma candidates per event
TH2F ** fHistoTrueEtaCategory8
array of histos with validated pi0, 2 electron from conversion merged, 2 electrons from other convers...
TH2F ** fHistoTruePrimaryPi0InvMassPt
array of histos with validated eta, 2 electron from conversion merged, 2 electrons from other convers...
TH1F ** fHistoIsoInitPhotons
array of histograms with Photons from pi0s
TH1F ** fHistoMCDecayGammaEtaPt
array of histos with decay gamma from rho, pT
TH1F ** fHistoVertexZ
array of histos with number of good tracks (2010 Standard track cuts)
TH1F ** fHistoIsoInitPhotonsConversionCorrection
array of histograms with fragmentation photons
Int_t GetSourceClassification(Int_t daughter, Int_t pdgCode)
TProfile2D ** fProfileTruePrimaryPi0WeightsInvMassPt
array of histos with validated unweighted primary mothers, invMass, pt
TH2F ** fHistoMotherPtOpenAngle
array of histograms with invariant mass cut of 0.45 && pi0cand->M() < 0.65, pt, openAngle ...
void RotateParticleAccordingToEP(AliAODConversionPhoton *gamma, Double_t previousEventEP, Double_t thisEventEP)
Class handling all kinds of selection cuts for Gamma Conversion analysis.
TH2F ** fHistoTruePrimaryEtaMCPtResolPt
array of histos with validated weighted primary pi0, MCpt, resol pt
TH2F ** fHistoClusPhotonPlusConvBGPt
array of histos with cluster photon BG, pt, source
void FillMultipleCountHistoAndClear(map< Int_t, Int_t > &ma, TH1F *hist)
TH1F ** fHistoMCEtaWOEvtWeightPt
array of histos with unweighted eta, pT
TH1F ** fHistoNGoodESDTracks
array of histos with event information without event weights
TH2F ** fHistoMCAllSecondaryGammaPt
array of histos with all gamma, pT
TH2F ** fHistoTruePrimaryEtaInvMassPt
array of histos with validated weighted primary mothers, invMass, pt
TProfile ** fProfileEtaShift
array of histos with V0 counts
const char Option_t
Definition: External.C:48
TH2F ** fHistoTruePi0Category7
array of histos with validated eta, 2 electrons from different conversions, 2 electrons (unseen) ...
TH1F ** fHistoTruePrimaryClusGammaPt
array of histos with number of labels in cluster
TH1F ** fHistoNEventsWOWeight
array of histos with event information
TH2F ** fHistoTrueSecondaryPi0FromK0lInvMassPt
array of histos with K0s with reconstructed pi0 as daughter, pt
TH2F ** fHistoTrueEtaCategory5
array of histos with validated pi0, 2 electrons from different conversions, 2 electrons (unseen) ...
TH2F ** fHistoTrueSecondaryPi0FromEtaInvMassPt
array of histos with K0l with reconstructed pi0 as daughter, pt
TH2F ** fHistoClusGammaPtM02
array of histos with cluster, pt rejected with other headers
bool Bool_t
Definition: External.C:53
Float_t fPt
InvMass at R=375 cm,.
TH1F ** fHistoTruePrimaryClusConvGammaPt
array of histos with validated primary photon cluster, rec Pt, MC pt
TH1F ** fHistoIsoFragPhotons
array of histograms with succesfully isolated Init photons (not Material Secondaries) ...
void ProcessTrueClusterCandidates(AliAODConversionPhoton *TruePhotonCandidate, AliVCluster *clus)
void SetInOutTimingCluster(Double_t min, Double_t max)
TH1F ** fHistoFailIsolationCut
array of histograms with all cluster photons, passing the cuts, isolation cut inclusive ...
TH2F ** fHistoClusPhotonBGPt
array of histos with validated eta, pt, openAngle
Implementation of a sample jet analysis task.
TH1F ** fHistoMCSecPi0Source
array of histos with secondary pi0, pT, source
TH1F ** fHistoMCDecayGammaOmegaPt
array of histos with decay gamma from eta, pT
TH1F ** fHistoMCPi0InAccPt
array of histos without event weights eta, pT
Float_t fDeltaPhi
matching residual track <-> cluster
TH1F ** fHistoIsoPhotonfromPi0
array of histograms with Conversion e-e+ from Photons (Material Secondaries)
TH2F ** fHistoTrueEtaCaloMixedPhotonConvPhotonInvMassPt
array of histos with validated mothers, converted photon leading, invMass, pt
TH2F ** fHistoTruePi0CaloConvertedPhotonInvMassPt
array of histos with validated mothers, photon leading, invMass, pt
TH2F ** fHistoEventSphericityvsNtracks
array of histos with event Sphericity
TH1F ** fHistoTrueClusSubLeadingPt
array of histos with validated shower, pt
TH2F ** fHistoTrueClusGammaPtM02
array of histos with validated unconverted photon, pt
TH1F ** fHistoTrueLambdaWithPi0DaughterMCPt
array of histos with validated secondary mothers from Lambda, invMass, pt
TH2F ** fHistoNGoodESDTracksVsNGammaCandidates
array of histos with number of gamma candidates per event for basic cluster cut
virtual void Terminate(const Option_t *)
void SetCorrectionTaskSetting(TString setting)
TH2F ** fHistoTrueSecondaryClusGammaPt
array of histos with validated primary conv photon cluster, rec Pt, MC pt
TH2F ** fHistoTrueSecondaryClusGammaMCPt
array of histos with validated secondary converted photon cluster, pt
TTree ** tSigInvMassPtAlphaTheta
flag (0 = gamma, 1 = pi0, 2 = eta)
TH2F ** fHistCellIDvsClusterEnergy
array of histogram with pure pi0 signal (only pure gammas) inv Mass, energy of cluster ...
TH2F ** fHistoTrueSecondaryClusGammaFromXFromK0sMCPtESDPt
array of histos with validated secondary converted photon cluster, MC pt
TH2F ** fHistoClustPhotonK0lBGPtM02
array of histos with cluster photon BG kaon, M02 vs. pt, source
void DebugMethod(AliAODConversionMother *pi0cand, AliAODConversionPhoton *gamma0, AliAODConversionPhoton *gamma1)