AliPhysics  e6d2b2b (e6d2b2b)
AliAnalysisTaskGammaConvCalo.h
Go to the documentation of this file.
1 #ifndef ALIANLYSISTASKGAMMACONVCALO_cxx
2 #define ALIANLYSISTASKGAMMACONVCALO_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 "AliAnalysisManager.h"
15 #include "TProfile2D.h"
16 #include "TH3.h"
17 #include "TH3F.h"
18 #include "THnSparse.h"
19 #include <vector>
20 #include <map>
21 
23  public:
24 
26  AliAnalysisTaskGammaConvCalo(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  // Function to set correction task setting
41 
42  // base functions for selecting photon and meson candidates in reconstructed data
43  void ProcessClusters();
46 
47  // MC functions
48  void SetIsMC ( Int_t isMC) { fIsMC = isMC ;}
49  void ProcessMCParticles ();
50  void ProcessAODMCParticles ();
52  void ProcessTruePhotonCandidates ( AliAODConversionPhoton* TruePhotonCandidate);
53  void ProcessTrueClusterCandidates ( AliAODConversionPhoton* TruePhotonCandidate,
54  Float_t clusM02);
56  Float_t clusM02);
57  void ProcessTruePhotonCandidatesAOD ( AliAODConversionPhoton* TruePhotonCandidate);
59  AliAODConversionPhoton *TrueGammaCandidate0,
60  AliAODConversionPhoton *TrueGammaCandidate1,
61  Bool_t matched);
63  AliAODConversionPhoton *TrueGammaCandidate0,
64  AliAODConversionPhoton *TrueGammaCandidate1,
65  Bool_t matched);
68 
69  // switches for additional analysis streams or outputs
71  void SetLightOutput ( Bool_t flag ) { fDoLightOutput = flag ;}
72  void SetDoMesonAnalysis ( Bool_t flag ) { fDoMesonAnalysis = flag ;}
73  void SetDoMesonQA ( Int_t flag ) { fDoMesonQA = flag ;}
74  void SetDoPhotonQA ( Int_t flag ) { fDoPhotonQA = flag ;}
75  void SetDoClusterQA ( Int_t flag ) { fDoClusterQA = flag ;}
76  void SetUseTHnSparse ( Bool_t flag ) { fDoTHnSparse = flag ;}
77  void SetPlotHistsExtQA ( Bool_t flag ) { fSetPlotHistsExtQA = flag ;}
80  void SetAllowOverlapHeaders ( Bool_t allowOverlapHeader ) { fAllowOverlapHeaders = allowOverlapHeader ;}
81 
82  // Setting the cut lists for the conversion photons
83  void SetEventCutList ( Int_t nCuts,
84  TList *CutArray) {
85  fnCuts = nCuts ;
86  fEventCutArray = CutArray ;
87  }
88 
89  // Setting the cut lists for the conversion photons
91  TList *CutArray) {
92  fnCuts = nCuts ;
93  fCutArray = CutArray ;
94  }
95 
96  // Setting the cut lists for the calo photons
97  void SetCaloCutList ( Int_t nCuts,
98  TList *CutArray) {
99  fnCuts = nCuts ;
100  fClusterCutArray = CutArray ;
101  }
102 
103  // Setting the cut lists for the meson
104  void SetMesonCutList ( Int_t nCuts,
105  TList *CutArray) {
106  fnCuts = nCuts ;
107  fMesonCutArray = CutArray ;
108  }
109 
110  // BG HandlerSettings
111  void CalculateBackground ();
112  void CalculateBackgroundRP ();
113  void RotateParticle ( AliAODConversionPhoton *gamma );
115  Double_t previousEventEP,
116  Double_t thisEventEP );
119  Int_t pdgCode[] );
122  void UpdateEventByEventData ();
123 
124  // Additional functions for convenience
125  void SetLogBinningXTH2 ( TH2* histoRebin );
127  Int_t pdgCode );
128  Bool_t CheckVectorOnly ( vector<Int_t> &vec,
129  Int_t tobechecked );
130  Bool_t CheckVectorForDoubleCount ( vector<Int_t> &vec,
131  Int_t tobechecked );
132 
133  void FillMultipleCountMap ( map<Int_t,Int_t> &ma,
134  Int_t tobechecked );
136  Int_t> &ma,
137  TH1F* hist );
138 
139  // Function to enable MC label sorting
140  void SetEnableSortingOfMCClusLabels (Bool_t enableSort) { fEnableSortForClusMC = enableSort;}
141 
143 
144  protected:
145  AliV0ReaderV1* fV0Reader; // basic photon Selection Task
147  TString fCorrTaskSetting; // Correction Task Special Name
148  AliGammaConversionAODBGHandler** fBGHandler; // BG handler for Conversion
149  AliConversionAODBGHandlerRP** fBGHandlerRP; // BG handler for Conversion (possibility to mix with respect to RP)
150  AliGammaConversionAODBGHandler** fBGClusHandler; // BG handler for Cluster
151  AliConversionAODBGHandlerRP** fBGClusHandlerRP; // BG handler for Cluster (possibility to mix with respect to RP)
152  AliVEvent* fInputEvent; // current event
153  AliMCEvent* fMCEvent; // corresponding MC event
154  TList** fCutFolder; // Array of lists for containers belonging to cut
155  TList** fESDList; // Array of lists with histograms with reconstructed properties
156  TList** fBackList; // Array of lists with BG THnSparseF
157  TList** fMotherList; // Array of lists with Signal THnSparseF
158  TList** fGammaERM02; // Array of lists with conv photon shower shape trees
159  TList** fInvMassShowerShape; // Array of lists with invMass shower shape trees
160  TList** fTrueList; // Array of lists with histograms with MC validated reconstructed properties
161  TList** fMCList; // Array of lists with histograms with pure MC information
163  TList* fOutputContainer; // Output container
164  TClonesArray* fReaderGammas; // Array with conversion photons selected by V0Reader Cut
165  TList* fGammaCandidates; // current list of photon candidates
167  TList* fEventCutArray; // List with Event Cuts
168  AliConvEventCuts* fEventCuts; // EventCutObject
169  TList* fCutArray; // List with Conversion Cuts
170  AliConversionPhotonCuts* fConversionCuts; // ConversionCutObject
171  TList* fClusterCutArray; // List with Cluster Cuts
172  AliCaloPhotonCuts* fCaloPhotonCuts; // CaloPhotonCutObject
173  TList* fMesonCutArray; // List with Meson Cuts
174  AliConversionMesonCuts* fMesonCuts; // MesonCutObject
175 
176  //histograms for Conversions reconstructed quantities
181  UChar_t fCharCatPhoton;
183  // 0: garbage,
184  // 1: background
185  // 2: secondary photon not from eta or k0s,
186  // 3: secondary photon from eta,
187  // 4: secondary photon from k0s,
188  // 5: dalitz
189  // 6: primary gamma
200 
215 
216  //histograms for mesons reconstructed quantities
233 
234  // histograms for rec photons tagged by Calo
237  // histograms for rec photon clusters
243 
244  //histograms for pure MC quantities
246  //histograms for pure MC quantities for gamma part
259 
260  //histograms for pure MC quantities for mesaon analysis
261  TH1F** fHistoMCPi0Pt;
264  TH1F** fHistoMCEtaPt;
285 
286  // histograms for pure MC quantites for dir gamma analysis part
295 
296  // MC validated reconstructed quantities mesons
349 
350  // MC validated reconstructed quantities photons
360 
383 
384  // MC validated reconstructed quantities for direct photon reco
395 
396  // variable to keep track of multiple & missing reco
397  vector<Int_t> fVectorRecTruePi0s;
398  vector<Int_t> fVectorRecTrueEtas;
411  map<Int_t,Int_t> fMapMultipleCountTruePi0s;
412  map<Int_t,Int_t> fMapMultipleCountTrueEtas;
415 
416  // further QA and calibration hist for Calo clusters
421 
422  // event histograms
423  TH1F** fHistoNEvents;
426  TH1F** fHistoVertexZ;
427  TH1F** fHistoVertexX;
428  TH1F** fHistoVertexY;
433  TProfile** fProfileEtaShift;
436 
437  // hists for nonlineartiy calibration
438 // TH2F** fHistoTruePi0NonLinearity; //! E_truth/E_rec vs E_rec for TruePi0s
439 // TH2F** fHistoTrueEtaNonLinearity; //! E_truth/E_rec vs E_rec for TrueEtas
440 
441  // additional variables
442  Double_t fEventPlaneAngle; // EventPlaneAngle
443  TRandom3 fRandom; // random
444  Int_t fNGammaCandidates; // number of gamma candidates in event
445  Double_t* fUnsmearedPx; //[fNGammaCandidates]
446  Double_t* fUnsmearedPy; //[fNGammaCandidates]
447  Double_t* fUnsmearedPz; //[fNGammaCandidates]
448  Double_t* fUnsmearedE; //[fNGammaCandidates]
449  Int_t* fMCEventPos; //[fNGammaCandidates]
450  Int_t* fMCEventNeg; //[fNGammaCandidates]
451  Int_t* fESDArrayPos; //[fNGammaCandidates]
452  Int_t* fESDArrayNeg; //[fNGammaCandidates]
453  Int_t fnCuts; // number of cuts to be analysed in parallel
454  Int_t fiCut; // current cut
455  Bool_t fMoveParticleAccordingToVertex; // boolean for BG calculation
456  Int_t fIsHeavyIon; // switch for pp = 0, PbPb = 1, pPb = 2
457  Bool_t fDoLightOutput; // switch for running light output, kFALSE -> normal mode, kTRUE -> light mode
458  Bool_t fDoMesonAnalysis; // flag for meson analysis
459  Int_t fDoMesonQA; // flag for meson QA
460  Int_t fDoPhotonQA; // flag for photon 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  Double_t fWeightJetJetMC; // weight for Jet-Jet MC
468  Bool_t fDoConvGammaShowerShapeTree; // flag for tree with conv gamma R vs energy vs shower shape
469  Bool_t fEnableSortForClusMC; // switch on sorting for MC labels in cluster
470  Bool_t fDoPrimaryTrackMatching; // switch for basic track matching for primaries
471  Bool_t fDoInvMassShowerShapeTree; // flag for producing tree tESDInvMassShowerShape
472  TTree* tBrokenFiles; // tree for keeping track of broken files
473  TObjString* fFileNameBroken; // string object for broken file name
474  Bool_t fAllowOverlapHeaders; // enable overlapping headers for cluster selection
475  Int_t fTrackMatcherRunningMode; // CaloTrackMatcher running mode
476 
477  private:
478  AliAnalysisTaskGammaConvCalo(const AliAnalysisTaskGammaConvCalo&); // Prevent copy-construction
480 
481  ClassDef(AliAnalysisTaskGammaConvCalo, 47);
482 };
483 
484 #endif
Float_t tESDIMClusterM02
energy of clus gamma for tree
TH1F ** fHistoTruePrimaryConvGammaPt
array of histos with combinatorial BG, pt, source
TH2F ** fHistoMotherInvMassECalib
array of histograms with invariant mass cut of 0.45 && pi0cand->M() < 0.65 ,eta/phi of conversion pho...
TH2F ** fHistoDoubleCountTrueEtaInvMassPt
array of histos with double counted pi0s, invMass, pT
TH2F ** fHistoTruePi0CaloConvertedPhotonInvMassPt
array of histos with validated eta, photon leading, invMass, pt
TH1F ** fHistoClusGammaE
array of histos with cluster, pt
TH1F ** fHistoTrueK0sWithPi0DaughterMCPt
array of histos with validated secondary mothers from K0s, invMass, pt
TH2F ** fHistoTruePi0InvMassPt
array of histos with secondary pi0, pT gamma 2, source in acceptance
void ProcessTrueMesonCandidatesAOD(AliAODConversionMother *Pi0Candidate, AliAODConversionPhoton *TrueGammaCandidate0, AliAODConversionPhoton *TrueGammaCandidate1, Bool_t matched)
TH2F ** fHistoMCSecPi0PtGamma1vsSource
array of histos with unweighted pi0, pT gamma, different legs
void SetEventCutList(Int_t nCuts, TList *CutArray)
void ProcessTrueClusterCandidatesAOD(AliAODConversionPhoton *TruePhotonCandidate, Float_t clusM02)
double Double_t
Definition: External.C:58
TH2F ** fHistoMotherPi0PtAlpha
array of histograms with invariant mass cut of 0.45 && pi0cand->M() < 0.65, pt, Y ...
Bool_t CheckVectorOnly(vector< Int_t > &vec, Int_t tobechecked)
TH2F ** fHistoTruePrimaryPi0W0WeightingInvMassPt
array of histos with validated weighted primary mothers, invMass, pt
TProfile2D ** fProfileTruePrimaryEtaWeightsInvMassPt
array of profiles with weights for validated primary mothers, invMass, pt
void FillMultipleCountHistoAndClear(map< Int_t, Int_t > &ma, TH1F *hist)
TH2F ** fHistoTruePi0PureGammaInvMassECalib
array of histogram with pure pi0 signal inv Mass, energy of cluster
Definition: External.C:236
TH1F ** fHistoTrueClusDalitzMergedPt
array of histos with validated Dalitz decay, pt
TH1F ** fHistoNGoodESDTracks
array of histos with event information without event weights
TH2F ** fHistoTruePi0CaloConvPhotonConvRPt
array of histos with validated pi0 matched with conv photon, converted photon leading, invMass, pt
Float_t tESDGammaConvR
energy of conv gamma for tree
TH2F ** fHistoTrueEtaCaloConvPhotonConvRPt
array of histos with validated eta matched with conv photon, converted photon leading, invMass, pt
TH1F ** fHistoMCDecayGammaRhoPt
array of histos with decay gamma from pi0, pT
TH2F ** fHistoMCEtaPtJetPt
array of histos with weighted pi0, pT, hardest jet pt
TProfile ** fProfileEtaShift
array of histos with V0 counts
TH1F ** fHistoClusRejectedHeadersGammaPt
array of histos with cluster, pt all headers
AliGammaConversionAODBGHandler ** fBGClusHandler
Int_t tESDIMClusterClassification
leading cellID of cluster
map< Long_t, Int_t > tESDmapIsClusterAcceptedWithoutTrackMatch
sum of Et of tracks within R<0.2
Float_t tESDClusterMaxECell
NCells of matched cluster for tree.
TH1F ** fHistoMCDecayGammaOmegaPt
array of histos with decay gamma from eta, pT
TH1F ** fHistoMCSecEtaPt
array of histos with secondary pi0, pT, source in acceptance
TH1F ** fHistoMultipleCountTruePi0
vector containing labels of validated cluster photons
TList * fOutputContainer
Array of lists of output histograms for cluster photons.
TH2F ** fHistoTrueEtaCaloMergedClusterPartConvInvMassPt
array of histos with validated mothers, merged cluster part conv, invMass, pt
TH2F ** fHistoTrueSecondaryConvGammaPt
array of histos with validated primary conversion photon, rec pt, mc pt conversion photon...
TH2F ** fHistoNGoodESDTracksVsNGammaCandidates
array of histos with number of gamma candidates per event
TH2F ** fHistoTruePrimaryEtaW0WeightingInvMassPt
array of histos with validated unweighted primary mothers, invMass, pt
vector< Int_t > fVectorDoubleCountTrueEtas
vector containing labels of validated pi0
map< Int_t, Int_t > fMapMultipleCountTruePi0s
array of histos how often TrueClusterGammas are counted
TH2F ** fHistoTruePi0InvMassECalib
array of histos with TruePi0s: cluster E vs M02
TH2F ** fHistoTruePrimaryEtaInvMassPt
array of histos with validated weighted primary mothers, invMass, pt
Float_t tESDClusterNCells
Phi of matched cluster for tree.
TH2F ** fHistoTruePrimaryConvGammaESDPtMCPt
array of histos with validated primary
TH2F ** fHistoTrueBckGGInvMassPt
array of histos with lambda with reconstructed pi0 as daughter, pt
TH2F ** fHistoMCPi0WOWeightInAccPtGammaLeg
array of histos with weighted pi0, pT gamma, different legs
TH2F ** fHistoTrueMotherCaloEMNonLeadingInvMassPt
array of histos with validated mothers, merged cluster invMass, pt
TH1F ** fHistoMultipleCountTrueEta
array of histos how often TruePi0s are counted
TH2F ** fHistoTrueClusGammaEM02
map containing cluster photon labels that are counted at least twice
TH1F ** fHistoVertexZ
array of histos with number of good tracks (2010 Standard track cuts)
TH1F ** fHistoMCDecayGammaEtapPt
array of histos with decay gamma from omega, pT
vector< Int_t > fVectorRecTruePi0s
array of histos with validated secondary pi0&#39;s vs conversion photon pT, missing vs source ...
Float_t tESDClusterEta
M20 of matched cluster for tree.
virtual void Terminate(const Option_t *)
TH1F ** fHistoTruePrimaryClusConvGammaPt
array of histos with validated primary cluster, photons, rec Pt, MC pt
TH2F ** fHistoTrueEtaPtAlpha
array of histos with validated pi0, pt, alpha
TH2F ** fHistoMotherPi0ConvPhotonEtaPhi
array of histograms with invariant mass cut of 0.45 && pi0cand->M() < 0.65, pt, openAngle ...
TH1F ** fHistoTrueClusGammaPt
array of histos with validated secondary conversion photon from Lambda, rec pt, mc pt conversion phot...
TH2F ** fHistoTrueMotherEtaConvPhotonEtaPhi
array of histograms with invariant mass cut of 0.05 && pi0cand->M() < 0.17 ,eta/phi of conversion pho...
Float_t tESDClusterNLM
MaxEnergyCell of matched cluster for tree.
TH2F ** fHistoPhotonPairMixedEventPtconv
array of histo for pairs vs. pt of converted photon
TH2F ** fHistoTruePi0CaloPhotonInvMassPt
array of histos with rejected eta, invMass, pt
TH2F ** fHistoTrueSecondaryConvGammaFromXFromLambdaMCPtESDPt
array of histos with validated secondary conversion photon from K0l, rec pt, mc pt conversion photon...
TH2F ** fHistoMotherEtaPtY
array of histograms with invariant mass cut of 0.05 && pi0cand->M() < 0.17, pt, Y ...
TTree ** fTreeConvGammaPtDcazCat
histogram conversion photon pT
TH2F ** fHistoTruePi0PtOpenAngle
array of histos with validated eta, pt, alpha
TH2F ** fHistoMCPi0InAccPtGammaLeg
array of histos with unweighted pi0, pT gamma, different legs
TH2F ** fHistoDoubleCountTruePi0InvMassPt
array of strings containing the stack position of the reconstructed validated eta ...
TH2F ** fHistoMCEtaPtAlpha
array of histos with weighted pi0, pT, alpha
void RotateParticleAccordingToEP(AliAODConversionPhoton *gamma, Double_t previousEventEP, Double_t thisEventEP)
UChar_t fCharCatPhoton
dcaz of conversion for tree
TH1F ** fHistoTrueClusDalitzPt
array of histos with validated merged partially converted photons, pt
TH1F ** fHistoMCPi0InAccPt
array of histos without evt weight eta, pT
TH2F ** fHistoTruePi0MatchedInvMassPt
array of histos with validated eta, invMass, pt
TH2F ** fHistoMCPi0PtJetPt
array of histos with secondary eta, source
TH2F ** fHistoMotherPi0PtOpenAngle
array of histograms with invariant mass cut of 0.45 && pi0cand->M() < 0.65, pt, alpha ...
TH1F ** fHistoNEvents
array of histogram with pure pi0 signal (only pure gammas) inv Mass, energy of cluster ...
TH2F ** fHistoTruePrimaryPi0W0WeightsPhotonPairPtconv
array of histos with validated primary pi0&#39;s vs conversion photon pT
TH2F ** fHistoMCPi0WOWeightPtGammaLeg
array of histos with weighted pi0, pT gamma, different legs
TProfile ** fProfileJetJetXSection
array of profiles with eta shift
TH2F ** fHistoMCSecPi0PtvsSource
array of histos with weighted primary particles, pT vs source
TH1F ** fHistoMCConvGammaPt
array of histos with decay gamma from Sigma0, pT
Short_t fDCAzPhoton
pt of conversion for tree
void SetConversionCutList(Int_t nCuts, TList *CutArray)
TH2F ** fHistoTrueMotherPi0ConvPhotonEtaPhi
array of histos with validated weighted primary eta, MCpt, resol pt
TH2F ** fHistoTrueSecondaryPi0FromLambdaPhotonPairPtconv
array of histos with validated secondary pi0&#39;s from K0l vs conversion photon pT
TH1F ** fHistoVertexX
array of histos with vertex z distribution for selected events
AliConversionAODBGHandlerRP ** fBGClusHandlerRP
TH2F ** fHistoTrueSecondaryPi0FromK0lPhotonPairPtconv
array of histos with validated secondary pi0&#39;s from K0s vs conversion photon pT
TH2F ** fHistoMCSecPi0InAccPtGamma2vsSource
array of histos with secondary pi0, pT gamma 2, source
Double_t fEventPlaneAngle
array of histos with ntrials for jetjet
TH2F ** fHistoSPDClusterTrackletBackground
array of histos with number of good tracks vs gamma candidates
THnSparseF ** fSparseMotherInvMassPtZM
array of histogram with signal + BG for same event photon pairs, inv Mass, pt
TH1F ** fHistoMCPi0Pt
array of histos wiht secondary converted gamma, pt
int Int_t
Definition: External.C:63
TH1F ** fHistoTruePrimaryPi0MissingPtconv
array of histos with validated primary pi0&#39;s vs conversion photon pT, double counting ...
TH1F ** fHistoTrueSecondaryClusGammaFromK0sPt
array of histos with validated secondary cluster, photons, pt
TH2F ** fHistoPhotonPairPtconv
array of histogram with BG for mixed event photon pairs, inv Mass, energy of cluster ...
Class handling all kinds of selection cuts for Gamma Calo analysis.
TH1F ** fHistoTrueClusShowerPt
array of histos with validated photon from electron, pt
Definition: External.C:204
TH1F ** fHistoNGammaCandidates
array of histos with vertex y distribution for selected events
float Float_t
Definition: External.C:68
TH1F ** fHistoClusOverlapHeadersGammaPt
array of histos with cluster, E
THnSparseF ** fSparseMotherBackInvMassPtZM
array of histogram with BG for mixed event photon pairs, inv Mass, pt
AliGammaConversionAODBGHandler ** fBGHandler
void SetEnableSortingOfMCClusLabels(Bool_t enableSort)
Float_t tESDIMClusterIsoSumClusterEt
matching residual closest track <-> cluster
TH2F ** fHistoMotherEtaPtAlpha
array of histograms with invariant mass cut of 0.05 && pi0cand->M() < 0.17, pt, alpha ...
TH1F ** fHistoClusGammaPt
array of histo for pairs vs. pt of converted photon
TH2F ** fHistoTrueSecondaryPi0InvMassPt
array of histograms with invariant mass cut of 0.45 && pi0cand->M() < 0.65 ,eta/phi of conversion pho...
TH2F ** fHistoCombinatorialPt
array of histos with validated conversion photon, pt
Float_t tESDIMClusterIsoSumTrackEt
sum of Et of clusters within R<0.2
Float_t tESDClusterPhi
Eta of matched cluster for tree.
TH2F ** fHistoTrueEtaPtY
array of histos with validated pi0, pt, Y
TH2F ** fHistoTruePrimaryClusConvGammaESDPtMCPt
array of histos with validated primary cluster, converted photons, pt
TH2F ** fHistoMCSecondaryConvGammaPt
array of histos with converted gamma, pT
TH2F ** fHistoTrueSecondaryConvGammaMCPt
array of histos with validated secondary conversion photon, rec pt for different sources ...
TH2F ** fHistoTruePi0CaloMergedClusterPartConvInvMassPt
array of histos with validated mothers, EM non leading, invMass, pt
TH2F ** fHistoMCPi0PtGammaLeg
array of histos with weighted eta, pT, hardest jet pt
UShort_t fPtGamma
tree with dca for conversions
UChar_t fCharPhotonMCInfo
category of conversion for tree
TH1F ** fHistoMCPi0WOWeightPt
array of histos with weighted pi0, pT
TH2F ** fHistoTruePrimaryPi0PhotonPairPtconv
array of histos with validated secondary cluster from Lambda, photons, pt
TH1F ** fHistoTrueClusPhotonFromElecMotherPt
array of histos with validated Dalitz decay, more than one decay product in cluster, pt
TH2F ** fHistoTrueBckFullMesonContainedInOneClusterInvMassPt
array of histos with pure gamma gamma combinatorial BG, invMass, pt
TH1F ** fHistoMCDecayGammaPi0Pt
array of histos with all secondary gamma, pT
TH2F ** fHistoTrueSecondaryConvGammaFromXFromK0sMCPtESDPt
array of histos with validated secondary conversion photon, MC pt for different sources ...
TH2F ** fHistoMotherInvMassPtAlpha
array of THnSparseF with BG for same event photon pairs, inv Mass, pt
TH2F ** fHistoMCSecPi0InAccPtGamma1vsSource
array of histos with secondary pi0, pT gamma 1, source
TH1F ** fHistoNV0Tracks
array of histos with SPD tracklets vs SPD clusters for background rejection
Int_t tESDIMClusterLeadCellID
M20 of cluster for tree.
TH2F ** fHistoMCPi0PtAlpha
array of histos with weighted eta, pT, Y
Class handling all kinds of selection cuts for Gamma Conversion analysis.
TH2F ** fHistoTruePrimaryEtaMCPtResolPt
array of histos with validated weighted primary pi0, MCpt, resol pt
TH1F ** fHistoMCPi0WOEvtWeightPt
array of histos with unweighted pi0, pT
TH1F ** fHistoMultipleCountTrueConvGamma
array of histos how often TrueEtas are counted
TH1F ** fHistoTrueEtaWithPi0DaughterMCPt
array of histos with validated secondary mothers from eta, invMass, pt
AliConversionPhotonCuts * fConversionCuts
TH2F ** fHistoDoubleCountTrueClusterGammaPt
array of histos with double counted photons, R, pT
TH1F ** fHistoMCEtaInAccPt
array of histos without evt weight pi0 in acceptance, pT
Int_t mode
Definition: anaM.C:41
TH2F ** fHistoTrueSecondaryPi0FromLambdaInvMassPt
array of histos with eta with reconstructed pi0 as daughter, pt
TH2F ** fHistoTruePi0CaloConvertedPhotonMatchedInvMassPt
array of histos with validated pi0, converted photon leading, invMass, pt
TH2F ** fHistoTrueSecondaryPi0FromK0sPhotonPairPtconv
array of histos with validated secondary pi0&#39;s vs conversion photon pT
TH1F ** fHistoMCSecPi0Source
array of histos with secondary pi0, pT, source
AliConversionAODBGHandlerRP ** fBGHandlerRP
TH2F ** fHistoMCPi0PtY
array of histos without evt weight eta in acceptance, pT
TH2F ** fHistoTrueEtaPtOpenAngle
array of histos with validated pi0, pt, openAngle
TH2F ** fHistoMCSecPi0PtGamma2vsSource
array of histos with secondary pi0, pT gamma 1, source in acceptance
TH2F ** fHistoTrueEtaCaloConvertedPhotonMatchedInvMassPt
array of histos with validated eta, converted photon leading, invMass, pt
Float_t tESDIMMesonInvMass
tree with cluster shower shape for meson cand
TH2F ** fHistoMCAllSecondaryGammaPt
array of histos with all gamma in EMCAL acceptance, pT
void SetMesonCutList(Int_t nCuts, TList *CutArray)
short Short_t
Definition: External.C:23
TH2F ** fHistoMotherInvMassPt
needed for filling of tree -> compute cluster isolation
Float_t tESDIMClusTrackDeltaEta
pT of closest matched track
TH2F ** fHistoMotherEtaConvPhotonEtaPhi
array of histograms with invariant mass cut of 0.05 && pi0cand->M() < 0.17 ,eta/phi of conversion pho...
TH2F ** fHistoMotherPi0PtY
array of histograms with alpha cut of 0.1 for inv mass vs pt
Float_t tESDIMClusterM20
M02 of cluster for tree.
TH2F ** fHistoTrueSecondaryPi0DCPtconvSource
array of histos with validated secondary pi0&#39;s from Lambda vs conversion photon pT ...
TH1F ** fHistoTruePrimaryClusGammaPt
array of histos with number of labels in cluster
TH2F ** fHistoTrueSecondaryConvGammaFromXFromK0lMCPtESDPt
array of histos with validated secondary conversion photon from K0s, rec pt, mc pt conversion photon...
TH2F ** fHistoTruePi0PtY
array of histos with contamination BG, invMass, pt
void FillPhotonCombinatorialBackgroundHist(AliAODConversionPhoton *TruePhotonCandidate, Int_t pdgCode[])
Bool_t isMC
TH1F ** fHistoTrueClusMergedPartConvGammaPt
array of histos with validated merged photons, electrons, dalitz, pt
TTree ** tESDGammaERM02
MC info of conversion for tree.
TH1F ** fHistoMCPi0WOEvtWeightInAccPt
array of histos without weight pi0 in acceptance, pT
TH1F ** fHistoTrueConvGammaPt
array of histos with validated eta, pt, openAngle
TH1F ** fHistoMCDecayGammaPhiPt
array of histos with decay gamma from eta&#39;, pT
TH1F ** fHistoTrueClusElectronPt
array of histos with validated cluster (electron or photon), pt
Float_t tESDIMClusTrackDeltaPhi
matching residual closest track <-> cluster
void RotateParticle(AliAODConversionPhoton *gamma)
TH1F ** fHistoClusAllHeadersGammaPt
array of histos with cluster, pt overlapping with other headers
TH1F ** fHistoTrueClusMergedGammaPt
array of histos with validated converted photon, fully contained, pt
TH2F ** fHistoMCPrimaryPtvsSource
array of histos with weighted eta, pT, alpha
void ProcessTrueClusterCandidates(AliAODConversionPhoton *TruePhotonCandidate, Float_t clusM02)
TList * fEventCutArray
current list of cluster candidates
TH1F ** fHistoTrueClusNMothers
array of histos with pi0/eta/eta_prime in subleading contribution
TH2F ** fHistoTrueBckAsymEClustersInvMassPt
array of histos with pi0 fully contained in one cluster, invMass, pt
TH1F ** fHistoMCEtaWOEvtWeightPt
array of histos with unweighted eta, pT
Definition: External.C:220
TH1F ** fHistoVertexY
array of histos with vertex x distribution for selected events
TH2F ** fHistoTrueNLabelsInClusPt
array of histos with cluster with largest energy by hadron
Class handling all kinds of selection cuts for Gamma Conversion analysis.
TH2F ** fHistoMCEtaPtY
array of histos with weighted pi0, pT, Y
TH2F ** fHistoTruePi0PtAlpha
array of histos with validated eta, pt, Y
TH2F ** fHistoMotherBackInvMassECalib
array of histogram with signal + BG for same event photon pairs, inv Mass, energy of cluster ...
Float_t tESDClusE
tree with E_gamma vs R_conv vs M02 vs M20
TH2F ** fHistoTruePi0CaloMergedClusterInvMassPt
array of histos with validated mothers, electron leading, invMass, pt
TH1F ** fHistoTrueClusEMNonLeadingPt
array of histos with number of different particles (pi0/eta/eta_prime) contributing to cluster ...
Float_t tESDIMMesonPt
invMass of meson cand
TH1F ** fHistoTruePrimaryPi0DCPtconv
array of histos with validated primary pi0&#39;s vs conversion photon pT
vector< Int_t > fVectorDoubleCountTrueConvGammas
vector containing labels of validated eta
TProfile2D ** fProfileTruePrimaryPi0WeightsInvMassPt
array of histos with validated unweighted primary mothers, invMass, pt
Int_t GetSourceClassification(Int_t daughter, Int_t pdgCode)
Float_t tESDClusterM02
conv R of conv gamma for tree
TH1F ** fHistoTrueClusSubLeadingPt
array of histos with validated shower, pt
map< Int_t, Int_t > fMapMultipleCountTrueConvGammas
map containing eta labels that are counted at least twice
TH2F ** fHistoTrueSecondaryPi0FromK0lInvMassPt
array of histos with K0s with reconstructed pi0 as daughter, pt
TH1F ** fHistoMultipleCountTrueClusterGamma
array of histos how often TrueConvGammas are counted
TH2F ** fHistoMCSecPi0InAccPtvsSource
array of histos with secondary pi0, source
TH1F ** fHistoMCEtaPt
array of histos without event weights pi0, pT
vector< Int_t > fVectorDoubleCountTruePi0s
array of histos with double counted cluster photons
TH1F ** fHistoMCEtaWOWeightPt
array of histos with weighted eta, pT
Float_t tESDIMClusMatchedTrackPt
classification of cluster in MC
void ProcessTruePhotonCandidates(AliAODConversionPhoton *TruePhotonCandidate)
TH2F ** fHistoTrueEtaMatchedInvMassPt
array of histos with rejected pi0, invMass, pt
TH2F ** fHistoTrueSecondaryPi0MissingPtconvSource
array of histos with validated secondary pi0&#39;s vs conversion photon pT, double counting vs source ...
Class handling all kinds of selection cuts for Gamma Conversion analysis.
TH2F ** fHistoTruePrimaryPi0InvMassPt
array of histos with validated mothers, merged cluster part conv, invMass, pt
TH1F ** fHistoMCEtaWOWeightInAccPt
array of histos with weighted eta in acceptance, pT
TH1F ** fHistoMCPi0WOWeightInAccPt
array of histos with weighted pi0 in acceptance, pT
void ProcessTrueMesonCandidates(AliAODConversionMother *Pi0Candidate, AliAODConversionPhoton *TrueGammaCandidate0, AliAODConversionPhoton *TrueGammaCandidate1, Bool_t matched)
unsigned short UShort_t
Definition: External.C:28
TH1F ** fHistoMCAllGammaPt
array of histos for header names
TH2F ** fHistoTrueEtaCaloMergedClusterInvMassPt
array of histos with validated mothers, merged cluster invMass, pt
const char Option_t
Definition: External.C:48
void ProcessTruePhotonCandidatesAOD(AliAODConversionPhoton *TruePhotonCandidate)
map< Int_t, Int_t > fMapMultipleCountTrueClusterGammas
map containing photon labels that are counted at least twice
TH1F ** fHistoTrueK0lWithPi0DaughterMCPt
array of histos with validated secondary mothers from K0l, invMass, pt
TH1F ** fHistoTrueSecondaryClusGammaFromLambdaPt
array of histos with validated secondary cluster from K0l, photons, pt
TH2F ** fHistoTruePrimaryClusGammaESDPtMCPt
array of histos with validated primary cluster, photons, pt
void FillMultipleCountMap(map< Int_t, Int_t > &ma, Int_t tobechecked)
TH2F ** fHistoMotherMatchedInvMassPt
array of histogram with signal + BG for same event photon pairs, inv Mass, pt
void SetCorrectionTaskSetting(TString setting)
TH2F ** fHistoTrueSecondaryPi0FromEtaInvMassPt
array of histos with K0l with reconstructed pi0 as daughter, pt
TH2F ** fHistoTrueSecondaryPi0FromK0sInvMassPt
array of histos with validated secondary mothers, invMass, pt
TH1F ** fHistoMCAllGammaEMCALAccPt
array of histos with all gamma, pT
void MoveParticleAccordingToVertex(AliAODConversionPhoton *particle, const AliGammaConversionAODBGHandler::GammaConversionVertex *vertex)
TH2F ** fHistoTrueBckContInvMassPt
array of histos with asymmetry energy distributions of clusters, invMass, pt
bool Bool_t
Definition: External.C:53
Bool_t CheckVectorForDoubleCount(vector< Int_t > &vec, Int_t tobechecked)
TH1I ** fHistoMCHeaders
array of histos with cluster, pt rejected headers
TH1F ** fHistoTrueSecondaryClusGammaPt
array of histos with validated primary cluster, converted photons, rec Pt, MC pt
TH1F ** fHistoTrueLambdaWithPi0DaughterMCPt
array of histos with validated secondary mothers from Lambda, invMass, pt
TH1F ** fHistoTrueSecondaryClusGammaFromK0lPt
array of histos with validated secondary cluster from K0s, photons, pt
TH2F ** fHistoTrueSecondaryPi0PhotonPairPtconv
array of histos with validated primary pi0&#39;s vs conversion photon pT, missing
void SetCaloCutList(Int_t nCuts, TList *CutArray)
vector< Int_t > fVectorDoubleCountTrueClusterGammas
vector containing labels of validated photons
TH2F ** fHistoTrueEtaCaloPhotonInvMassPt
array of histos with validated pi0, photon leading, invMass, pt
TH1F ** fHistoMCEtaWOEvtWeightInAccPt
array of histos without weight eta in acceptance, pT
TTree ** tESDInvMassShowerShape
NLM of matched cluster for tree.
Float_t tESDClusterM20
M02 of matched cluster for tree.
TH1F ** fHistoMCDecayGammaSigmaPt
array of histos with decay gamma from phi, pT
TH1F ** fHistoNEventsWOWeight
array of histos with event information
void SetAllowOverlapHeaders(Bool_t allowOverlapHeader)
TH2F ** fHistoMotherEtaPtOpenAngle
array of histograms with invariant mass cut of 0.05 && pi0cand->M() < 0.17, pt, openAngle ...
TH2F ** fHistoTruePrimaryPi0MCPtResolPt
array of profiles with weights for validated primary mothers, invMass, pt
TH2F ** fHistoDoubleCountTrueConvGammaRPt
array of histos with double counted etas, invMass, pT
TH2F ** fHistoTrueEtaCaloElectronInvMassPt
array of histos with validated mothers, electron leading, invMass, pt
TH1F ** fHistoTrueClusConvGammaPt
array of histos with validated electron, pt
TH1F ** fHistoMCDecayGammaEtaPt
array of histos with decay gamma from rho, pT
TH2F ** fHistoMotherBackInvMassPt
array of THnSparseF with signal + BG for same event photon pairs, inv Mass, pt
map< Int_t, Int_t > fMapMultipleCountTrueEtas
map containing pi0 labels that are counted at least twice
TH1F ** fHistoMCSecEtaSource
array of histos with secondary eta, pT
vector< Int_t > fVectorRecTrueEtas
array of strings containing the stack position of the reconstructed validated pi0 ...
TH1F ** fHistoJetJetNTrials
array of profiles with xsection for jetjet
TH2F ** fHistoTrueEtaInvMassPt
array of histos with validated pi0, invMass, pt
TH1F ** fHistoTrueClusConvGammaFullyPt
array of histos with validated converted photon, pt
TH2F ** fHistoTrueClusPi0EM02
array of histos with TruePhotons: cluster E vs M02
AliAnalysisTaskGammaConvCalo & operator=(const AliAnalysisTaskGammaConvCalo &)