AliPhysics  8b695ca (8b695ca)
AliAnalysisTaskGammaConvCaloIso.h
Go to the documentation of this file.
1 #ifndef ALIANLYSISTASKGAMMAConvCaloIso_cxx
2 #define ALIANLYSISTASKGAMMAConvCaloIso_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  AliAnalysisTaskGammaConvCaloIso(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();
47 
48  // MC functions
49  void SetIsMC ( Int_t isMC) { fIsMC = isMC ;}
50  void ProcessMCParticles ();
51  void ProcessAODMCParticles ();
53  void ProcessTruePhotonCandidates ( AliAODConversionPhoton* TruePhotonCandidate);
54  void ProcessTrueClusterCandidates ( AliAODConversionPhoton* TruePhotonCandidate,
55  Float_t clusM02);
57  Float_t clusM02);
58  void ProcessTruePhotonCandidatesAOD ( AliAODConversionPhoton* TruePhotonCandidate);
60  AliAODConversionPhoton *TrueGammaCandidate0,
61  AliAODConversionPhoton *TrueGammaCandidate1,
62  Bool_t matched);
64  AliAODConversionPhoton *TrueGammaCandidate0,
65  AliAODConversionPhoton *TrueGammaCandidate1,
66  Bool_t matched);
69  void ProcessMCParticlesIsolation(AliVCluster *cluster, AliAODConversionPhoton *photoncandidate);
70 
71 
72  // switches for additional analysis streams or outputs
74  void SetLightOutput ( Bool_t flag ) { fDoLightOutput = flag ;}
75  void SetDoMesonAnalysis ( Bool_t flag ) { fDoMesonAnalysis = flag ;}
76  void SetDoMesonQA ( Int_t flag ) { fDoMesonQA = flag ;}
77  void SetDoPhotonQA ( Int_t flag ) { fDoPhotonQA = flag ;}
78  void SetDoClusterQA ( Int_t flag ) { fDoClusterQA = flag ;}
79  void SetUseTHnSparse ( Bool_t flag ) { fDoTHnSparse = flag ;}
80  void SetPlotHistsExtQA ( Bool_t flag ) { fSetPlotHistsExtQA = flag ;}
83  void SetAllowOverlapHeaders ( Bool_t allowOverlapHeader ) { fAllowOverlapHeaders = allowOverlapHeader ;}
84 
85  // Setting the cut lists for the conversion photons
86  void SetEventCutList ( Int_t nCuts,
87  TList *CutArray) {
88  fnCuts = nCuts ;
89  fEventCutArray = CutArray ;
90  }
91 
92  // Setting the cut lists for the conversion photons
94  TList *CutArray) {
95  fnCuts = nCuts ;
96  fCutArray = CutArray ;
97  }
98 
99  // Setting the cut lists for the calo photons
100  void SetCaloCutList ( Int_t nCuts,
101  TList *CutArray) {
102  fnCuts = nCuts ;
103  fClusterCutArray = CutArray ;
104  }
105 
106  // Setting the cut lists for the meson
107  void SetMesonCutList ( Int_t nCuts,
108  TList *CutArray) {
109  fnCuts = nCuts ;
110  fMesonCutArray = CutArray ;
111  }
112  // BG HandlerSettings
113  void CalculateBackground ();
115  void CalculateBackgroundRP ();
116  void RotateParticle ( AliAODConversionPhoton *gamma );
118  Double_t previousEventEP,
119  Double_t thisEventEP );
122  Int_t pdgCode[] );
125  void UpdateEventByEventData ();
126 
127  // Additional functions for convenience
128  void SetLogBinningXTH2 ( TH2* histoRebin );
130  Int_t pdgCode );
131  Bool_t CheckVectorOnly ( vector<Int_t> &vec,
132  Int_t tobechecked );
133  Bool_t CheckVectorForDoubleCount ( vector<Int_t> &vec,
134  Int_t tobechecked );
135 
136  void FillMultipleCountMap ( map<Int_t,Int_t> &ma,
137  Int_t tobechecked );
139  Int_t> &ma,
140  TH1F* hist );
141 
142  // Function to enable MC label sorting
143  void SetEnableSortingOfMCClusLabels (Bool_t enableSort) { fEnableSortForClusMC = enableSort;}
144 
146 
147 
148  protected:
149  AliV0ReaderV1* fV0Reader; // basic photon Selection Task
151  TString fCorrTaskSetting; // Correction Task Special Name
152  AliGammaConversionAODBGHandler** fBGHandler; // BG handler for Conversion
153  AliConversionAODBGHandlerRP** fBGHandlerRP; // BG handler for Conversion (possibility to mix with respect to RP)
154  AliGammaConversionAODBGHandler** fBGClusHandler; // BG handler for Cluster
155  AliConversionAODBGHandlerRP** fBGClusHandlerRP; // BG handler for Cluster (possibility to mix with respect to RP)
156  AliVEvent* fInputEvent; // current event
157  AliMCEvent* fMCEvent; // corresponding MC event
158  TList** fCutFolder; // Array of lists for containers belonging to cut
159  TList** fESDList; // Array of lists with histograms with reconstructed properties
160  TList** fIsolation; // Container for Photon Isolation
161  TList** fBackList; // Array of lists with BG THnSparseF
162  TList** fMotherList; // Array of lists with Signal THnSparseF
163  TList** fPhotonDCAList; // Array of lists with photon dca trees
164  TList** fGammaERM02; // Array of lists with conv photon shower shape trees
165  TList** fInvMassShowerShape; // Array of lists with invMass shower shape trees
166  TList** fTrueList; // Array of lists with histograms with MC validated reconstructed properties
167  TList** fMCList; // Array of lists with histograms with pure MC information
169  TList* fOutputContainer; // Output container
170  TClonesArray* fReaderGammas; // Array with conversion photons selected by V0Reader Cut
171  TList* fGammaCandidates; // current list of photon candidates
173  TList* fIsoCandidates; // current list of isolated cluster candidates
174  TList* fEventCutArray; // List with Event Cuts
175  AliConvEventCuts* fEventCuts; // EventCutObject
176  TList* fCutArray; // List with Conversion Cuts
177  AliConversionPhotonCuts* fConversionCuts; // ConversionCutObject
178  TList* fClusterCutArray; // List with Cluster Cuts
179  AliCaloPhotonCuts* fCaloPhotonCuts; // CaloPhotonCutObject
180  TList* fMesonCutArray; // List with Meson Cuts
181  AliConversionMesonCuts* fMesonCuts; // MesonCutObject
182 
183  //histograms for Conversions reconstructed quantities
188  UChar_t fCharCatPhoton;
190  // 0: garbage,
191  // 1: background
192  // 2: secondary photon not from eta or k0s,
193  // 3: secondary photon from eta,
194  // 4: secondary photon from k0s,
195  // 5: dalitz
196  // 6: primary gamma
207 
222 
223  //histograms for mesons reconstructed quantities
242 
243  // histograms for Isolation
257 
258 
259  // histograms for rec photons tagged by Calo
262  // histograms for rec photon clusters
268 
269  //histograms for pure MC quantities
271  //histograms for pure MC quantities for gamma part
284 
285  //histograms for pure MC quantities for mesaon analysis
286  TH1F** fHistoMCPi0Pt;
289  TH1F** fHistoMCEtaPt;
310 
311  // histograms for pure MC quantites for dir gamma analysis part
320 
321  // MC validated reconstructed quantities mesons
374 
375  // MC validated reconstructed quantities photons
385 
408 
409  // MC validated reconstructed quantities for direct photon reco
420 
421  // variable to keep track of multiple & missing reco
422  vector<Int_t> fVectorRecTruePi0s;
423  vector<Int_t> fVectorRecTrueEtas;
436  map<Int_t,Int_t> fMapMultipleCountTruePi0s;
437  map<Int_t,Int_t> fMapMultipleCountTrueEtas;
440 
441  // further QA and calibration hist for Calo clusters
446 
447  // event histograms
448  TH1F** fHistoNEvents;
451  TH1F** fHistoVertexZ;
452  TH1F** fHistoVertexX;
453  TH1F** fHistoVertexY;
458  TProfile** fProfileEtaShift;
461 
462  // hists for nonlineartiy calibration
463 // TH2F** fHistoTruePi0NonLinearity; //! E_truth/E_rec vs E_rec for TruePi0s
464 // TH2F** fHistoTrueEtaNonLinearity; //! E_truth/E_rec vs E_rec for TrueEtas
465 
466  // additional variables
467  Double_t fEventPlaneAngle; // EventPlaneAngle
468  TRandom3 fRandom; // random
469  Int_t fNGammaCandidates; // number of gamma candidates in event
470  Double_t* fUnsmearedPx; //[fNGammaCandidates]
471  Double_t* fUnsmearedPy; //[fNGammaCandidates]
472  Double_t* fUnsmearedPz; //[fNGammaCandidates]
473  Double_t* fUnsmearedE; //[fNGammaCandidates]
474  Int_t* fMCEventPos; //[fNGammaCandidates]
475  Int_t* fMCEventNeg; //[fNGammaCandidates]
476  Int_t* fESDArrayPos; //[fNGammaCandidates]
477  Int_t* fESDArrayNeg; //[fNGammaCandidates]
478  Int_t fnCuts; // number of cuts to be analysed in parallel
479  Int_t fiCut; // current cut
480  Bool_t fMoveParticleAccordingToVertex; // boolean for BG calculation
481  Int_t fIsHeavyIon; // switch for pp = 0, PbPb = 1, pPb = 2
482  Bool_t fDoLightOutput; // switch for running light output, kFALSE -> normal mode, kTRUE -> light mode
483  Bool_t fDoMesonAnalysis; // flag for meson analysis
484  Int_t fDoMesonQA; // flag for meson QA
485  Int_t fDoPhotonQA; // flag for photon QA
486  Int_t fDoClusterQA; // flag for cluster QA
487  Bool_t fIsFromDesiredHeader; // flag for MC headers
488  Bool_t fIsOverlappingWithOtherHeader; // flag for particles in MC overlapping between headers
489  Int_t fIsMC; // flag for MC information
490  Bool_t fDoTHnSparse; // flag for using THnSparses for background estimation
491  Bool_t fSetPlotHistsExtQA; // flag for extended QA hists
492  Double_t fWeightJetJetMC; // weight for Jet-Jet MC
493  Bool_t fDoConvGammaShowerShapeTree; // flag for tree with conv gamma R vs energy vs shower shape
494  Bool_t fEnableSortForClusMC; // switch on sorting for MC labels in cluster
495  Bool_t fDoPrimaryTrackMatching; // switch for basic track matching for primaries
496  Bool_t fDoInvMassShowerShapeTree; // flag for producing tree tESDInvMassShowerShape
497  TTree* tBrokenFiles; // tree for keeping track of broken files
498  TObjString* fFileNameBroken; // string object for broken file name
499  Bool_t fAllowOverlapHeaders; // enable overlapping headers for cluster selection
500  Int_t fTrackMatcherRunningMode; // CaloTrackMatcher running mode
501 
502 
503  private:
504  AliAnalysisTaskGammaConvCaloIso(const AliAnalysisTaskGammaConvCaloIso&); // Prevent copy-construction
506 
507  ClassDef(AliAnalysisTaskGammaConvCaloIso, 1);
508 };
509 
510 #endif
void SetCaloCutList(Int_t nCuts, TList *CutArray)
TH2F ** fHistoTrueEtaCaloConvPhotonConvRPt
array of histos with validated eta matched with conv photon, converted photon leading, invMass, pt
TH1F ** fHistoMCPi0WOWeightInAccPt
array of histos with weighted pi0 in acceptance, pT
TH2F ** fHistoTrueSecondaryPi0FromLambdaPhotonPairPtconv
array of histos with validated secondary pi0&#39;s from K0l vs conversion photon pT
TH1F ** fHistoIsoInitPhotonsConversionCorrection
array of histograms with fragmentation photons
TH1F ** fHistoNEventsWOWeight
array of histos with event information
TH2F ** fHistoTruePrimaryEtaInvMassPt
array of histos with validated weighted primary mothers, invMass, pt
TH1F ** fHistoMultipleCountTruePi0
vector containing labels of validated cluster photons
TH1F ** fHistoTrueConvGammaPt
array of histos with validated eta, pt, openAngle
void SetAllowOverlapHeaders(Bool_t allowOverlapHeader)
TH2F ** fHistoTruePrimaryEtaMCPtResolPt
array of histos with validated weighted primary pi0, MCpt, resol pt
TH1F ** fHistoTrueClusNMothers
array of histos with pi0/eta/eta_prime in subleading contribution
TH2F ** fHistoTruePi0InvMassPt
array of histos with secondary pi0, pT gamma 2, source in acceptance
TH2F ** fHistoMCPi0WOWeightInAccPtGammaLeg
array of histos with weighted pi0, pT gamma, different legs
TList * fOutputContainer
Array of lists of output histograms for cluster photons.
TH1F ** fHistoIsoMatSecConversionfromPhoton
array of histograms with IsolatedMotherPDG
Float_t tESDClusterEta
M20 of matched cluster for tree.
UChar_t fCharPhotonMCInfo
category of conversion for tree
void RotateParticle(AliAODConversionPhoton *gamma)
Int_t tESDIMClusterClassification
leading cellID of cluster
TH1F ** fHistoTrueClusElectronPt
array of histos with validated cluster (electron or photon), pt
double Double_t
Definition: External.C:58
void ProcessMCParticlesIsolation(AliVCluster *cluster, AliAODConversionPhoton *photoncandidate)
TH1F ** fHistoTruePrimaryClusConvGammaPt
array of histos with validated primary cluster, photons, rec Pt, MC pt
TH2F ** fHistoTruePi0CaloConvertedPhotonInvMassPt
array of histos with validated eta, photon leading, invMass, pt
TH2F ** fHistoMCEtaPtJetPt
array of histos with weighted pi0, pT, hardest jet pt
TH2F ** fHistoTrueEtaPtY
array of histos with validated pi0, pt, Y
TH1F ** fHistoMCEtaWOWeightInAccPt
array of histos with weighted eta in acceptance, pT
Definition: External.C:236
TH1F ** fHistoIsoPhotonfromPi0
array of histograms with Conversion e-e+ from Photons (Material Secondaries)
TH2F ** fHistoTruePi0MatchedInvMassPt
array of histos with validated eta, invMass, pt
TH1F ** fHistoTrueClusConvGammaFullyPt
array of histos with validated converted photon, pt
TH2F ** fHistoDoubleCountTrueConvGammaRPt
array of histos with double counted etas, invMass, pT
TH2F ** fHistoIsoMotherPDGtoPt
array of histograms with IsolatedClusterPDG Material Secondaries
void ProcessTruePhotonCandidatesAOD(AliAODConversionPhoton *TruePhotonCandidate)
TH2F ** fHistoMCSecPi0PtGamma2vsSource
array of histos with secondary pi0, pT gamma 1, source in acceptance
TH1F ** fHistoJetJetNTrials
array of profiles with xsection for jetjet
AliGammaConversionAODBGHandler ** fBGClusHandler
TH1F ** fHistoTrueClusPhotonFromElecMotherPt
array of histos with validated Dalitz decay, more than one decay product in cluster, pt
TH2F ** fHistoTrueBckGGInvMassPt
array of histos with lambda with reconstructed pi0 as daughter, pt
TH2F ** fHistoTrueSecondaryPi0MissingPtconvSource
array of histos with validated secondary pi0&#39;s vs conversion photon pT, double counting vs source ...
TH1F ** fHistoMCDecayGammaPhiPt
array of histos with decay gamma from eta&#39;, pT
TH1F ** fHistoMCEtaWOEvtWeightInAccPt
array of histos without weight eta in acceptance, pT
TH2F ** fHistoMCPi0WOWeightPtGammaLeg
array of histos with weighted pi0, pT gamma, different legs
TH2F ** fHistoTruePrimaryConvGammaESDPtMCPt
array of histos with validated primary
AliConversionAODBGHandlerRP ** fBGClusHandlerRP
TH2F ** fHistoTrueEtaCaloMergedClusterInvMassPt
array of histos with validated mothers, merged cluster invMass, pt
TH1F ** fHistoTrueClusMergedPartConvGammaPt
array of histos with validated merged photons, electrons, dalitz, pt
TH2F ** fHistoPhotonPairPtconv
array of histos with double counted Init isolated photons (MatSec)
TH1F ** fHistoTrueK0sWithPi0DaughterMCPt
array of histos with validated secondary mothers from K0s, invMass, pt
TProfile ** fProfileJetJetXSection
array of profiles with eta shift
TH1I ** fHistoMCHeaders
array of histos with cluster, pt rejected headers
TTree ** fTreeConvGammaPtDcazCat
histogram conversion photon pT
TH2F ** fHistoMotherInvMassIsoPt
array of histogram with signal + BG for same event photon pairs, inv Mass, pt
TH2F ** fHistoCombinatorialPt
array of histos with validated conversion photon, pt
TH1F ** fHistoTruePrimaryPi0MissingPtconv
array of histos with validated primary pi0&#39;s vs conversion photon pT, double counting ...
map< Long_t, Int_t > tESDmapIsClusterAcceptedWithoutTrackMatch
sum of Et of tracks within R<0.2
TH2F ** fHistoTruePi0CaloPhotonInvMassPt
array of histos with rejected eta, invMass, pt
TH1F ** fHistoFailIsolationCut
array of histograms with all cluster photons, passing the cuts, isolation cut inclusive ...
TH2F ** fHistoMotherBackInvMassIsoPt
array of histogram with BG for mixed event photon pairs, inv Mass, pt
TH2F ** fHistoTrueSecondaryPi0FromK0lInvMassPt
array of histos with K0s with reconstructed pi0 as daughter, pt
TH2F ** fHistoMotherEtaConvPhotonEtaPhi
array of histograms with invariant mass cut of 0.05 && pi0cand->M() < 0.17 ,eta/phi of conversion pho...
TH2F ** fHistoTruePi0PtOpenAngle
array of histos with validated eta, pt, alpha
TH2F ** fHistoTruePrimaryClusGammaESDPtMCPt
array of histos with validated primary cluster, photons, pt
TH1F ** fHistoMCDecayGammaRhoPt
array of histos with decay gamma from pi0, pT
TH1F ** fHistoTrueEtaWithPi0DaughterMCPt
array of histos with validated secondary mothers from eta, invMass, pt
TH2F ** fHistoDoubleCountTrueClusterGammaPt
array of histos with double counted photons, R, pT
Float_t tESDIMClusterIsoSumTrackEt
sum of Et of clusters within R<0.2
Float_t tESDClusterPhi
Eta of matched cluster for tree.
TH1F ** fHistoTrueSecondaryClusGammaFromK0lPt
array of histos with validated secondary cluster from K0s, photons, pt
Float_t tESDClusterM20
M02 of matched cluster for tree.
TH2F ** fHistoTrueNLabelsInClusPt
array of histos with cluster with largest energy by hadron
TH1F ** fHistoMultipleCountTrueConvGamma
array of histos how often TrueEtas are counted
TH2F ** fHistoMCSecPi0PtGamma1vsSource
array of histos with unweighted pi0, pT gamma, different legs
vector< Int_t > fVectorDoubleCountTruePi0s
array of histos with double counted cluster photons
TH2F ** fHistoTrueEtaPtAlpha
array of histos with validated pi0, pt, alpha
TH2F ** fHistoTruePi0PtAlpha
array of histos with validated eta, pt, Y
void MoveParticleAccordingToVertex(AliAODConversionPhoton *particle, const AliGammaConversionAODBGHandler::GammaConversionVertex *vertex)
TH1F ** fHistoMCDecayGammaOmegaPt
array of histos with decay gamma from eta, pT
AliAnalysisTaskGammaConvCaloIso & operator=(const AliAnalysisTaskGammaConvCaloIso &)
TTree ** tESDGammaERM02
MC info of conversion for tree.
void SetConversionCutList(Int_t nCuts, TList *CutArray)
TH2F ** fHistoMotherBackInvMassPt
array of THnSparseF with signal + BG for same event photon pairs, inv Mass, pt
TH2F ** fHistoTrueSecondaryPi0FromK0sPhotonPairPtconv
array of histos with validated secondary pi0&#39;s vs conversion photon pT
TH2F ** fHistoMotherEtaPtAlpha
array of histograms with invariant mass cut of 0.05 && pi0cand->M() < 0.17, pt, alpha ...
TH1F ** fHistoClusGammaE
array of histos with cluster, pt
TH1F ** fHistoIsoFragPhotons
array of histograms with succesfully isolated Init photons (not Material Secondaries) ...
Float_t tESDIMClusterIsoSumClusterEt
matching residual closest track <-> cluster
Float_t tESDClusterM02
conv R of conv gamma for tree
UChar_t fCharCatPhoton
dcaz of conversion for tree
TH1F ** fHistoMCEtaWOEvtWeightPt
array of histos with unweighted eta, pT
TH1F ** fHistoClusRejectedHeadersGammaPt
array of histos with cluster, pt all headers
TH1F ** fHistoMCSecEtaPt
array of histos with secondary pi0, pT, source in acceptance
Float_t tESDIMClusTrackDeltaPhi
matching residual closest track <-> cluster
TH2F ** fHistoSPDClusterTrackletBackground
array of histos with number of good tracks vs gamma candidates
map< Int_t, Int_t > fMapMultipleCountTruePi0s
array of histos how often TrueClusterGammas are counted
TH2F ** fHistoTrueSecondaryConvGammaFromXFromLambdaMCPtESDPt
array of histos with validated secondary conversion photon from K0l, rec pt, mc pt conversion photon...
TH1F ** fHistoMCPi0WOWeightPt
array of histos with weighted pi0, pT
void ProcessTrueMesonCandidates(AliAODConversionMother *Pi0Candidate, AliAODConversionPhoton *TrueGammaCandidate0, AliAODConversionPhoton *TrueGammaCandidate1, Bool_t matched)
TList * fIsoCandidates
current list of cluster candidates
Float_t tESDIMClusMatchedTrackPt
classification of cluster in MC
TH2F ** fHistoTrueEtaPtOpenAngle
array of histos with validated pi0, pt, openAngle
TH2F ** fHistoTrueSecondaryConvGammaMCPt
array of histos with validated secondary conversion photon, rec pt for different sources ...
Bool_t CheckVectorForDoubleCount(vector< Int_t > &vec, Int_t tobechecked)
TH2F ** fHistoPhotonPairMixedEventPtconv
array of histo for pairs vs. pt of converted photon
TH2F ** fHistoMCPi0PtAlpha
array of histos with weighted eta, pT, Y
TH2F ** fHistoTrueClusPi0EM02
array of histos with TruePhotons: cluster E vs M02
TH1F ** fHistoNGoodESDTracks
array of histos with event information without event weights
TH1F ** fHistoMCPi0InAccPt
array of histos without evt weight eta, pT
TH1F ** fHistoMCEtaInAccPt
array of histos without evt weight pi0 in acceptance, pT
TH2F ** fHistoIsoClusterPDGtoPt
array of histograms with PhotonCandidates failing the isolation cut
int Int_t
Definition: External.C:63
vector< Int_t > fVectorDoubleCountTrueConvGammas
vector containing labels of validated eta
TH2F ** fHistoTrueBckAsymEClustersInvMassPt
array of histos with pi0 fully contained in one cluster, invMass, pt
Class handling all kinds of selection cuts for Gamma Calo analysis.
TH2F ** fHistoTrueMotherCaloEMNonLeadingInvMassPt
array of histos with validated mothers, merged cluster invMass, pt
Definition: External.C:204
TProfile ** fProfileEtaShift
array of histos with V0 counts
TH2F ** fHistoTrueSecondaryPi0InvMassPt
array of histograms with invariant mass cut of 0.45 && pi0cand->M() < 0.65 ,eta/phi of conversion pho...
Float_t tESDGammaConvR
energy of conv gamma for tree
float Float_t
Definition: External.C:68
TH1F ** fHistoMCSecEtaSource
array of histos with secondary eta, pT
TH2F ** fHistoMotherEtaPtOpenAngle
array of histograms with invariant mass cut of 0.05 && pi0cand->M() < 0.17, pt, openAngle ...
TH1F ** fHistoVertexY
array of histos with vertex x distribution for selected events
TH2F ** fHistoMCPi0InAccPtGammaLeg
array of histos with unweighted pi0, pT gamma, different legs
TH2F ** fHistoIsoClusterPDGtoPtMatSec
array of histograms with IsolatedClusterPDG
TH2F ** fHistoTruePi0CaloConvertedPhotonMatchedInvMassPt
array of histos with validated pi0, converted photon leading, invMass, pt
TH2F ** fHistoTruePrimaryEtaW0WeightingInvMassPt
array of histos with validated unweighted primary mothers, invMass, pt
TH1F ** fHistoTruePrimaryPi0DCPtconv
array of histos with validated primary pi0&#39;s vs conversion photon pT
Short_t fDCAzPhoton
pt of conversion for tree
TH1F ** fHistoMCSecPi0Source
array of histos with secondary pi0, pT, source
Bool_t CheckVectorOnly(vector< Int_t > &vec, Int_t tobechecked)
TH1F ** fHistoDoubleCountMCIsoInitPhotonPt
array of histos with double counted Init isolated photons (MatSec)
TH2F ** fHistoMotherBackInvMassECalib
array of histogram with signal + BG for same event photon pairs, inv Mass, energy of cluster ...
TH2F ** fHistoMotherPi0PtY
array of histograms with alpha cut of 0.1 for inv mass vs pt
TH1F ** fHistoNV0Tracks
array of histos with SPD tracklets vs SPD clusters for background rejection
TH1F ** fHistoMCPi0Pt
array of histos wiht secondary converted gamma, pt
TProfile2D ** fProfileTruePrimaryEtaWeightsInvMassPt
array of profiles with weights for validated primary mothers, invMass, pt
TH2F ** fHistoMCSecPi0InAccPtGamma2vsSource
array of histos with secondary pi0, pT gamma 2, source
Class handling all kinds of selection cuts for Gamma Conversion analysis.
TH2F ** fHistoTrueSecondaryConvGammaFromXFromK0lMCPtESDPt
array of histos with validated secondary conversion photon from K0s, rec pt, mc pt conversion photon...
map< Int_t, Int_t > fMapMultipleCountTrueEtas
map containing pi0 labels that are counted at least twice
TH1F ** fHistoVertexX
array of histos with vertex z distribution for selected events
TH2F ** fHistoMCSecPi0PtvsSource
array of histos with weighted primary particles, pT vs source
void SetEventCutList(Int_t nCuts, TList *CutArray)
TH2F ** fHistoTrueSecondaryPi0PhotonPairPtconv
array of histos with validated primary pi0&#39;s vs conversion photon pT, missing
TH2F ** fHistoTrueSecondaryPi0FromLambdaInvMassPt
array of histos with eta with reconstructed pi0 as daughter, pt
TH1F ** fHistoClusAllHeadersGammaPt
array of histos with cluster, pt overlapping with other headers
TH1F ** fHistoMCDecayGammaEtapPt
array of histos with decay gamma from omega, pT
vector< Int_t > fVectorDoubleCountTrueEtas
vector containing labels of validated pi0
TH1F ** fHistoTrueK0lWithPi0DaughterMCPt
array of histos with validated secondary mothers from K0l, invMass, pt
TH1F ** fHistoClusOverlapHeadersGammaPt
array of histos with cluster, E
TH2F ** fHistoTruePi0CaloConvPhotonConvRPt
array of histos with validated pi0 matched with conv photon, converted photon leading, invMass, pt
TH2F ** fHistoMCPrimaryPtvsSource
array of histos with weighted eta, pT, alpha
Int_t mode
Definition: anaM.C:41
UShort_t fPtGamma
tree with dca for conversions
TH2F ** fHistoMotherInvMassPt
needed for filling of tree -> compute cluster isolation
TH1F ** fHistoTrueClusGammaPt
array of histos with validated secondary conversion photon from Lambda, rec pt, mc pt conversion phot...
Float_t tESDClusterNLM
MaxEnergyCell of matched cluster for tree.
TH2F ** fHistoTruePi0CaloMergedClusterInvMassPt
array of histos with validated mothers, electron leading, invMass, pt
TH1F ** fHistoMCEtaWOWeightPt
array of histos with weighted eta, pT
TH2F ** fHistoTrueClusGammaEM02
map containing cluster photon labels that are counted at least twice
short Short_t
Definition: External.C:23
TH2F ** fHistoTrueEtaCaloMergedClusterPartConvInvMassPt
array of histos with validated mothers, merged cluster part conv, invMass, pt
TH1F ** fHistoMultipleCountTrueClusterGamma
array of histos how often TrueConvGammas are counted
TH2F ** fHistoTrueSecondaryConvGammaFromXFromK0sMCPtESDPt
array of histos with validated secondary conversion photon, MC pt for different sources ...
TH2F ** fHistoMCAllSecondaryGammaPt
array of histos with all gamma in EMCAL acceptance, pT
TH1F ** fHistoTruePrimaryClusGammaPt
array of histos with number of labels in cluster
TH1F ** fHistoTrueSecondaryClusGammaFromLambdaPt
array of histos with validated secondary cluster from K0l, photons, pt
TH2F ** fHistoMotherPi0PtOpenAngle
array of histograms with invariant mass cut of 0.45 && pi0cand->M() < 0.65, pt, alpha ...
THnSparseF ** fSparseMotherBackInvMassPtZM
array of histogram with BG for mixed event photon pairs, inv Mass, pt Isolation Method ...
vector< Int_t > fVectorRecTrueEtas
array of strings containing the stack position of the reconstructed validated pi0 ...
AliConversionAODBGHandlerRP ** fBGHandlerRP
TH2F ** fHistoMotherEtaPtY
array of histograms with invariant mass cut of 0.05 && pi0cand->M() < 0.17, pt, Y ...
TH2F ** fHistoMotherPi0PtAlpha
array of histograms with invariant mass cut of 0.45 && pi0cand->M() < 0.65, pt, Y ...
TH1F ** fHistoClusterCandidates
array of histogram with BG for mixed event photon pairs, inv Mass, energy of cluster ...
map< Int_t, Int_t > fMapMultipleCountTrueClusterGammas
map containing photon labels that are counted at least twice
TH2F ** fHistoTrueMotherPi0ConvPhotonEtaPhi
array of histos with validated weighted primary eta, MCpt, resol pt
TH1F ** fHistoTrueClusDalitzPt
array of histos with validated merged partially converted photons, pt
TH2F ** fHistoTruePrimaryClusConvGammaESDPtMCPt
array of histos with validated primary cluster, converted photons, pt
void FillMultipleCountHistoAndClear(map< Int_t, Int_t > &ma, TH1F *hist)
Bool_t isMC
Int_t GetSourceClassification(Int_t daughter, Int_t pdgCode)
TH2F ** fHistoTrueMotherEtaConvPhotonEtaPhi
array of histograms with invariant mass cut of 0.05 && pi0cand->M() < 0.17 ,eta/phi of conversion pho...
TH2F ** fHistoTruePi0CaloMergedClusterPartConvInvMassPt
array of histos with validated mothers, EM non leading, invMass, pt
TH2F ** fHistoTrueSecondaryPi0FromK0sInvMassPt
array of histos with validated secondary mothers, invMass, pt
TH1F ** fHistoMCPi0WOEvtWeightInAccPt
array of histos without weight pi0 in acceptance, pT
TH1F ** fHistoClusGammaPt
array of histo for pairs vs. pt of converted photon
TH1F ** fHistoMCDecayGammaSigmaPt
array of histos with decay gamma from phi, pT
TH1F ** fHistoMCDecayGammaEtaPt
array of histos with decay gamma from rho, pT
TH1F ** fHistoTrueClusConvGammaPt
array of histos with validated electron, pt
TH2F ** fHistoMCPi0PtJetPt
array of histos with secondary eta, source
TH2F ** fHistoNGoodESDTracksVsNGammaCandidates
array of histos with number of gamma candidates per event
TH2F ** fHistoTrueSecondaryConvGammaPt
array of histos with validated primary conversion photon, rec pt, mc pt conversion photon...
void RotateParticleAccordingToEP(AliAODConversionPhoton *gamma, Double_t previousEventEP, Double_t thisEventEP)
TH2F ** fHistoMCEtaPtAlpha
array of histos with weighted pi0, pT, alpha
Float_t tESDIMClusTrackDeltaEta
pT of closest matched track
AliGammaConversionAODBGHandler ** fBGHandler
TH2F ** fHistoMCEtaPtY
array of histos with weighted pi0, pT, Y
Definition: External.C:220
Float_t tESDIMClusterM20
M02 of cluster for tree.
Class handling all kinds of selection cuts for Gamma Conversion analysis.
TH2F ** fHistoTruePrimaryPi0MCPtResolPt
array of profiles with weights for validated primary mothers, invMass, pt
TH1F ** fHistoTrueClusEMNonLeadingPt
array of histos with number of different particles (pi0/eta/eta_prime) contributing to cluster ...
TH1F ** fHistoTrueClusSubLeadingPt
array of histos with validated shower, pt
void FillPhotonCombinatorialBackgroundHist(AliAODConversionPhoton *TruePhotonCandidate, Int_t pdgCode[])
TH2F ** fHistoTrueSecondaryPi0FromK0lPhotonPairPtconv
array of histos with validated secondary pi0&#39;s from K0s vs conversion photon pT
TH2F ** fHistoTruePrimaryPi0W0WeightingInvMassPt
array of histos with validated weighted primary mothers, invMass, pt
TH1F ** fHistoVertexZ
array of histos with number of good tracks (2010 Standard track cuts)
TH1F ** fHistoTrueSecondaryClusGammaFromK0sPt
array of histos with validated secondary cluster, photons, pt
Float_t tESDClusterNCells
Phi of matched cluster for tree.
TH2F ** fHistoTruePi0PtY
array of histos with contamination BG, invMass, pt
TTree ** tESDInvMassShowerShape
NLM of matched cluster for tree.
Float_t tESDClusterMaxECell
NCells of matched cluster for tree.
TH1F ** fHistoTrueLambdaWithPi0DaughterMCPt
array of histos with validated secondary mothers from Lambda, invMass, pt
TH2F ** fHistoMCSecondaryConvGammaPt
array of histos with converted gamma, pT
TH2F ** fHistoTrueEtaCaloConvertedPhotonMatchedInvMassPt
array of histos with validated eta, converted photon leading, invMass, pt
TH2F ** fHistoTruePrimaryPi0PhotonPairPtconv
array of histos with validated secondary cluster from Lambda, photons, pt
Class handling all kinds of selection cuts for Gamma Conversion analysis.
TH1F ** fHistoMCAllGammaEMCALAccPt
array of histos with all gamma, pT
TH2F ** fHistoTruePrimaryPi0InvMassPt
array of histos with validated mothers, merged cluster part conv, invMass, pt
unsigned short UShort_t
Definition: External.C:28
TH2F ** fHistoMotherInvMassECalib
array of histograms with invariant mass cut of 0.45 && pi0cand->M() < 0.65 ,eta/phi of conversion pho...
TH1F ** fHistoTrueClusMergedGammaPt
array of histos with validated converted photon, fully contained, pt
TH2F ** fHistoTrueEtaCaloElectronInvMassPt
array of histos with validated mothers, electron leading, invMass, pt
Float_t tESDIMClusterM02
energy of clus gamma for tree
Float_t tESDIMMesonInvMass
tree with cluster shower shape for meson cand
TH2F ** fHistoTruePi0InvMassECalib
array of histos with TruePi0s: cluster E vs M02
const char Option_t
Definition: External.C:48
TH1F ** fHistoIsoInitPhotons
array of histograms with Photons from pi0s
TH1F ** fHistoMCConvGammaPt
array of histos with decay gamma from Sigma0, pT
void FillMultipleCountMap(map< Int_t, Int_t > &ma, Int_t tobechecked)
TH2F ** fHistoDoubleCountTrueEtaInvMassPt
array of histos with double counted pi0s, invMass, pT
Float_t tESDClusE
tree with E_gamma vs R_conv vs M02 vs M20
TH1F ** fHistoDoubleCountMCIsoInitPhotonCorrectPt
vector containing labels of validated isolated Init photons for the isolation task ...
TH1F ** fHistoMCAllGammaPt
array of histos for header names
TH1F ** fHistoTrueSecondaryClusGammaPt
array of histos with validated primary cluster, converted photons, rec Pt, MC pt
map< Int_t, Int_t > fMapMultipleCountTrueConvGammas
map containing eta labels that are counted at least twice
TH2F ** fHistoTrueSecondaryPi0FromEtaInvMassPt
array of histos with K0l with reconstructed pi0 as daughter, pt
TH2F ** fHistoMCSecPi0InAccPtGamma1vsSource
array of histos with secondary pi0, pT gamma 1, source
bool Bool_t
Definition: External.C:53
Double_t fEventPlaneAngle
array of histos with ntrials for jetjet
TH2F ** fHistoMCPi0PtY
array of histos without evt weight eta in acceptance, pT
vector< Int_t > fVectorRecTruePi0s
array of histos with validated secondary pi0&#39;s vs conversion photon pT, missing vs source ...
void ProcessTrueMesonCandidatesAOD(AliAODConversionMother *Pi0Candidate, AliAODConversionPhoton *TrueGammaCandidate0, AliAODConversionPhoton *TrueGammaCandidate1, Bool_t matched)
vector< Int_t > fVectorDoubleCountTrueClusterGammas
vector containing labels of validated photons
TH1F ** fHistoTrueClusShowerPt
array of histos with validated photon from electron, pt
vector< Int_t > fVectorDoubleCountMCInitIsoPhotons
array of histograms with isolated MC Init photons + conversion energy correction
TH2F ** fHistoTruePrimaryPi0W0WeightsPhotonPairPtconv
array of histos with validated primary pi0&#39;s vs conversion photon pT
TH2F ** fHistoTrueEtaMatchedInvMassPt
array of histos with rejected pi0, invMass, pt
TH1F ** fHistoTrueClusDalitzMergedPt
array of histos with validated Dalitz decay, pt
TH2F ** fHistoTrueSecondaryPi0DCPtconvSource
array of histos with validated secondary pi0&#39;s from Lambda vs conversion photon pT ...
TH1F ** fHistoMCPi0WOEvtWeightPt
array of histos with unweighted pi0, pT
void SetMesonCutList(Int_t nCuts, TList *CutArray)
TH1F ** fHistoNEvents
array of histogram with pure pi0 signal (only pure gammas) inv Mass, energy of cluster ...
void ProcessTrueClusterCandidates(AliAODConversionPhoton *TruePhotonCandidate, Float_t clusM02)
TH1F ** fHistoMCDecayGammaPi0Pt
array of histos with all secondary gamma, pT
TH2F ** fHistoTrueBckFullMesonContainedInOneClusterInvMassPt
array of histos with pure gamma gamma combinatorial BG, invMass, pt
TH1F ** fHistoMultipleCountTrueEta
array of histos how often TruePi0s are counted
THnSparseF ** fSparseMotherInvMassPtZM
array of histogram with signal + BG for same event photon pairs, inv Mass, pt
TProfile2D ** fProfileTruePrimaryPi0WeightsInvMassPt
array of histos with validated unweighted primary mothers, invMass, pt
TH2F ** fHistoMotherMatchedInvMassPt
array of histogram with signal + BG for same event photon pairs, inv Mass, pt
TH1F ** fHistoTruePrimaryConvGammaPt
array of histos with combinatorial BG, pt, source
TH2F ** fHistoMotherInvMassPtAlpha
array of THnSparseF with BG for same event photon pairs, inv Mass, pt
TH2F ** fHistoMotherPi0ConvPhotonEtaPhi
array of histograms with invariant mass cut of 0.45 && pi0cand->M() < 0.65, pt, openAngle ...
void ProcessTrueClusterCandidatesAOD(AliAODConversionPhoton *TruePhotonCandidate, Float_t clusM02)
Int_t tESDIMClusterLeadCellID
M20 of cluster for tree.
TH1F ** fHistoNGammaCandidates
array of histos with vertex y distribution for selected events
TH1F ** fHistoMCEtaPt
array of histos without event weights pi0, pT
TH2F ** fHistoMCSecPi0InAccPtvsSource
array of histos with secondary pi0, source
void ProcessTruePhotonCandidates(AliAODConversionPhoton *TruePhotonCandidate)
TH2F ** fHistoTrueEtaInvMassPt
array of histos with validated pi0, invMass, pt
TH2F ** fHistoMCPi0PtGammaLeg
array of histos with weighted eta, pT, hardest jet pt
TH2F ** fHistoTrueBckContInvMassPt
array of histos with asymmetry energy distributions of clusters, invMass, pt
TH2F ** fHistoTruePi0PureGammaInvMassECalib
array of histogram with pure pi0 signal inv Mass, energy of cluster
TH2F ** fHistoDoubleCountTruePi0InvMassPt
array of strings containing the stack position of the reconstructed validated eta ...
TH2F ** fHistoTrueEtaCaloPhotonInvMassPt
array of histos with validated pi0, photon leading, invMass, pt