AliPhysics  a0db429 (a0db429)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
AliAnalysisTaskSELc2eleLambdafromAODtracks.h
Go to the documentation of this file.
1 #ifndef ALIANALYSISTASKSELC2ELELAMBDAFROMAODTRACKS_H
2 #define ALIANALYSISTASKSELC2ELELAMBDAFROMAODTRACKS_H
3 
4 /**************************************************************************
5  * Copyright(c) 1998-2009, ALICE Experiment at CERN, All rights reserved. *
6  * *
7  * Author: The ALICE Off-line Project. *
8  * Contributors are mentioned in the code where appropriate. *
9  * *
10  * Permission to use, copy, modify and distribute this software and its *
11  * documentation strictly for non-commercial purposes is hereby granted *
12  * without fee, provided that the above copyright notice appears in all *
13  * copies and that both the copyright notice and this permission notice *
14  * appear in the supporting documentation. The authors make no claims *
15  * about the suitability of this software for any purpose. It is *
16  * provided "as is" without express or implied warranty. *
17  **************************************************************************/
18 
19 /* $Id$ */
20 
21 #include "TROOT.h"
22 #include "TSystem.h"
23 
24 #include "AliAnalysisTaskSE.h"
25 #include "AliAODEvent.h"
26 #include "AliPID.h"
28 
30 
31 class THnSparse;
32 class TH1F;
33 class TClonesArray;
35 class AliESDVertex;
36 class AliAODMCParticle;
37 class AliEventPoolManager;
39 
40 class AliAnalysisTaskSELc2eleLambdafromAODtracks : public AliAnalysisTaskSE
41 {
42  public:
44  AliAnalysisTaskSELc2eleLambdafromAODtracks(const Char_t* name, AliRDHFCutsLctoeleLambdafromAODtracks* cuts, Bool_t writeVariableTree=kTRUE);
46 
48  virtual void UserCreateOutputObjects();
49  virtual void Init();
50  virtual void LocalInit() {Init();}
51  virtual void UserExec(Option_t *option);
52  virtual void Terminate(Option_t *option);
53 
54  void FillROOTObjects(AliAODRecoCascadeHF *elobj, AliAODv0 *v0, AliAODTrack *trk, TClonesArray *mcArray);
55  void FillMixROOTObjects(TLorentzVector *et, TLorentzVector *ev, Double_t *v0info, Int_t charge);
56  void FillElectronROOTObjects(AliAODTrack *trk, TClonesArray *mcArray);
57  void FillV0ROOTObjects(AliAODv0 *v0, TClonesArray *mcArray);
58  void FillMCROOTObjects(AliAODMCParticle *part, AliAODMCParticle *mcepart, AliAODMCParticle *mcv0part, Int_t decaytype);
59  void FillMCEleROOTObjects(AliAODMCParticle *mcepart, TClonesArray *mcArray);
60  void FillMCV0ROOTObjects(AliAODMCParticle *mcv0part, TClonesArray *mcArray);
61  void FillMCGenPairROOTObjects(AliAODMCParticle *e, AliAODMCParticle *v, TClonesArray *array);
62  Bool_t MakeMCAnalysis(TClonesArray *mcArray);
63  void MakeAnalysis(AliAODEvent *aod, TClonesArray *mcArray);
64 
65  void SelectV0( const AliVEvent *event,Int_t nV0,Int_t &nSeleV0, Bool_t *seleV0Flags, TClonesArray *mcArray);
66  void SelectTrack( const AliVEvent *event, Int_t trkEntries, Int_t &nSeleTrks,Bool_t *seleFlags, TClonesArray *mcArray);
67 
69  void SetMC(Bool_t theMCon) {fUseMCInfo = theMCon;}
70  Bool_t GetMC() const {return fUseMCInfo;}
71  void SetUseCentralityV0M(Bool_t centon) {fUseCentralityV0M = centon;}
72  Bool_t GetUseCentralityV0M() const {return fUseCentralityV0M;}
77  void SetMCEventType(Int_t theevt) {fMCEventType = theevt;}
78  Int_t GetMCEventType() const {return fMCEventType;}
79  void SetMCDoPairAnalysis(Bool_t a) {fMCDoPairAnalysis = a;}
80  Bool_t GetMCDoPairAnalysis() const {return fMCDoPairAnalysis;}
81 
83 
84  AliAODRecoCascadeHF* MakeCascadeHF(AliAODv0 *casc, AliAODTrack *trk, AliAODEvent *aod, AliAODVertex *vert);
85  AliAODVertex* ReconstructSecondaryVertex(AliAODv0 *casc, AliAODTrack *trk, AliAODEvent *aod);
86  Int_t MatchToMC(AliAODRecoCascadeHF *elobj, TClonesArray *mcArray, Int_t *pdgele_array, Int_t *pdgv0_array, Int_t *labelele_array, Int_t *labelv0_array, Int_t &ngen_ele, Int_t &ngen_v0);
87  void GetMCDecayHistory(AliAODMCParticle *mcpart, TClonesArray *mcArray, Int_t *pdgarray, Int_t *labelarray, Int_t &ngen);
88 
89 
94  void SetPoolPVzBinLimits(Int_t Nzvtxbins,const Double_t *ZvtxBins){
95  fNzVtxBins = Nzvtxbins;
96  for(int ix = 0;ix<fNzVtxBins+1;ix++){fZvtxBins[ix] = ZvtxBins[ix];}
97  }
98  void SetPoolCentBinLimits(Int_t Ncentbins,const Double_t *CentBins){
99  fNCentBins = Ncentbins;
100  for(int ix = 0;ix<fNCentBins+1;ix++){fCentBins[ix] = CentBins[ix];}
101  }
102  void DoEventMixingWithPools(Int_t index);
103  void ResetPool(Int_t poolIndex);
104  Int_t GetPoolIndex(Double_t zvert, Double_t mult);
105 
106 
107  private:
108 
111 
112  void DefineTreeVariables();
113  void DefineEleTreeVariables();
114  void DefineV0TreeVariables();
115  void DefineMCTreeVariables();
121 
122  AliAODVertex *CallPrimaryVertex(AliAODv0 *v0, AliAODTrack *trk, AliAODEvent *evt);
123  AliAODVertex* PrimaryVertex(const TObjArray *trkArray,AliVEvent *event);
124 
125  Bool_t fUseMCInfo;
126  TList *fOutput;
127  TList *fOutputAll;
128  TList *fListCuts;
129  TH1F *fCEvents;
130  TH1F *fHTrigger;
131  TH1F *fHCentrality;
132  AliRDHFCutsLctoeleLambdafromAODtracks *fAnalCuts;// Cuts - sent to output slot 2
137  TTree *fVariablesTree;
145  Bool_t fIsMB;
146  Bool_t fIsSemi;
147  Bool_t fIsCent;
148  Bool_t fIsINT7;
149  Bool_t fIsEMC7;
157  AliAODVertex *fVtx1;
158  AliESDVertex *fV1;
159  Float_t fVtxZ;
160  Double_t fBzkG;
161  Float_t fCentrality;
162  Int_t fRunNumber;
163  Float_t fTriggerCheck;
166  Int_t fMCEventType;
168 
169  //--------------------- My histograms ------------------
170  THnSparse* fHistoEleLambdaMass;
189 
208 
231 
232  //Efficiency calculation
243 
244  THnSparse* fHistoElePtvsEtaRS;
245  THnSparse* fHistoElePtvsEtaWS;
248  THnSparse* fHistoElePtvsEtaMCS;
250 
260 
261  THnSparse* fHistoElePtvsd0RS;
262  THnSparse* fHistoElePtvsd0WS;
263  THnSparse* fHistoElePtvsd0RSMix;
264  THnSparse* fHistoElePtvsd0WSMix;
265  THnSparse* fHistoElePtvsd0MCS;
268 
269  //Feeddown from Xic0
284 
285  //Feeddown from XicPlus
300 
301  //Checking histograms
302  TH1F* fHistoBachPt;
305  TH1F* fHistod0Bach;
326  THnSparse* fHistoElePtvsCutVarsRS[17];
327  THnSparse* fHistoElePtvsCutVarsWS[17];
328  THnSparse* fHistoElePtvsCutVarsMCS[17];
331  THnSparse* fHistoLcMCGen;
332  THnSparse* fHistoLcMCGen1;
333  THnSparse* fHistoLcMCGen2;
334  THnSparse* fHistoLcMCS;
335  THnSparse* fHistoLcMCS1;
336  THnSparse* fHistoLcMCS2;
358  THnSparse* fHistoLcElectronMCS;
359  THnSparse* fHistoLcElectronMCS1;
360  THnSparse* fHistoLcElectronMCS2;
373  THnSparse* fHistoElectronMCGen;
374  THnSparse* fHistoLambdaMCGen;
375 
376  THnSparse* fHistoElePtvsV0dlRS;
377  THnSparse* fHistoElePtvsV0dlRS1;
378  THnSparse* fHistoElePtvsV0dlRS2;
385  THnSparse* fHistoElePtvsV0dlWS;
386  THnSparse* fHistoElePtvsV0dlWS1;
387  THnSparse* fHistoElePtvsV0dlWS2;
394  THnSparse* fHistoElePtvsV0dlMCS;
403 
404  THnSparse* fHistoElePtvsV0dcaRS;
413  THnSparse* fHistoElePtvsV0dcaWS;
431 
486 
505 
519 
523 
530 
531  //Mixing
534  Int_t fNzVtxBins;
535  Double_t fZvtxBins[100]; // [fNzVtxBinsDim]
536  Int_t fNCentBins;
537  Double_t fCentBins[100]; // [fNCentBinsDim]
538  Int_t fNOfPools;
539  TTree** fEventBuffer;
540  TObjString *fEventInfo;
541  TObjArray* fElectronTracks;
542  TObjArray* fV0Tracks1;
543  TObjArray* fV0Tracks2;
544  std::vector<Double_t> fV0dlArray1;
545  std::vector<Double_t> fV0dlArray2;
546  std::vector<Double_t> fV0dcaArray1;
547  std::vector<Double_t> fV0dcaArray2;
548 
551 };
553 #endif
554 
Int_t charge
THnSparse * fHistoEleLambdaMassvsElePtFeeddownXic0MCGen2
! EFficiency calculation numerator
THnSparse * fHistoEleLambdaMassvsElePtRSMix1
! e-Lambda mass vs elept spectra right sign (mixed event)
THnSparse * fHistoEleLambdaMassMCGen
! EFficiency calculation denominator
THnSparse * fHistoEleLambdaPtvsV0dlRSMix2Away
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaPtvsV0dlRS2
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaPtvsV0dlFeedDownXic0BFeeddownMCS1
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaMassWSMix2Away
! e-Lambda mass spectra wrong sign (mixed event)
THnSparse * fHistoEleLambdaMassWS1
! e-Lambda mass spectra wrong sign
THnSparse * fHistoEleLambdaMassvsElePtRSMix
! e-Lambda mass vs elept spectra right sign (mixed event)
TH2F * fHistoElectronTOFSelPID
! TOF electron PID after selection
THnSparse * fHistoElePtvsV0dlFeedDownXic0MCS1
! Feeddown subtraction using Lambda vertex distribution
TH2F * fHistoElePtRSMix
! e spectra right sign (mixed event)
THnSparse * fHistoEleLambdaMassRS1Away
! e-Lambda mass spectra right sign
Bool_t fIsMB
Reconstruct primary vertex excluding candidate tracks.
THnSparse * fHistoEleLambdaPtvsV0dlWSMix1
! Feeddown subtraction using Lambda vertex distribution
TObjArray * fElectronTracks
unique event id for mixed event check
THnSparse * fHistoEleLambdaPtvsV0dlWSSide2Away
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoElePtvsV0dlWSSide
! Feeddown subtraction using Lambda vertex distribution
virtual void UserCreateOutputObjects()
Implementation of interface methods.
THnSparse * fHistoElePtvsLambdaPtRSMix
! e-Xi spectra (right-sign, mix)
THnSparse * fHistoElePtvsLambdaPtMCGen
! e-Xi spectra efficiency denominator
THnSparse * fHistoEleLambdaMassvsElePtWS2
! e-Lambda mass vs elept spectra wrong sign
THnSparse * fHistoElePtvsV0dcaMCS
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoElePtvsV0dlWS1
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoElePtvsV0dlWSSide2
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaMassvsElePtFeeddownXicPlusMCS
! EFficiency calculation numerator
TTree * fVariablesTree
flag to decide whether to write the candidate variables on a tree variables
TObjArray * fV0Tracks2
array of lambda-compatible tracks
THnSparse * fHistoEleLambdaPtvsV0dlFeedDownXic0PromptMCS
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaMassvsElePtFeeddownXicPlusMCGen
! EFficiency calculation numerator
TH2F * fHistoElectronTPCPIDSelTOFSmallEta
! TPC electron PID after TOF 3 sigma cut (|eta|<0.6)
THnSparse * fHistoElePtvsV0dlRSSide
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaMassRSMix
! e-Lambda mass spectra right sign (mixed event)
THnSparse * fHistoEleLambdaPtvsV0dlRSMix
! Feeddown subtraction using Lambda vertex distribution
Int_t fNzVtxBins
maximum number of events to be used in event mixing
THnSparse * fHistoEleLambdaMassWS2Away
! e-Lambda mass spectra wrong sign
TH2D * fHistoResponseElePt
! Response function electron pT <- True ept
TH2D * fHistoResponseEleLambdaPtFeeddownXic01
! Response function e-Lambda pT <- XicPt
THnSparse * fHistoEleLambdaPtvsV0dlWS1Away
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoElePtvsV0dlMCS
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaPtvsV0dlFeedDownSigmaPromptMCS2
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaMassvsElePtWSMix1
! e-Lambda mass vs elept spectra wrong sign (mixed event)
THnSparse * fHistoEleLambdaPtvsV0dlRSSide1Away
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoElePtvsV0dcaFeedDownXic0MCS2
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaPtvsV0dlFeedDownXic0MCS1
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoElePtvsV0dcaWSMix2
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaPtvsV0dlWS2Away
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaMassvsElePtRSMix2
! e-Lambda mass vs elept spectra right sign (mixed event)
TTree * fMCVariablesTree
! tree of the candidate variables after track selection on output slot 4
TTree * fMCGenPairVariablesTree
! tree of the candidate variables after track selection on output slot 4
THnSparse * fHistoEleLambdaPtvsV0dlRS1
! Feeddown subtraction using Lambda vertex distribution
Float_t * fCandidateMCEleVariables
! variables to be written to the tree
void FillMCROOTObjects(AliAODMCParticle *part, AliAODMCParticle *mcepart, AliAODMCParticle *mcv0part, Int_t decaytype)
THnSparse * fHistoElePtvsV0dcaFeedDownXic0MCS1
! Feeddown subtraction using Lambda vertex distribution
void FillMixROOTObjects(TLorentzVector *et, TLorentzVector *ev, Double_t *v0info, Int_t charge)
THnSparse * fHistoEleLambdaPtvsV0dlMCS1
! Feeddown subtraction using Lambda vertex distribution
void FillMCV0ROOTObjects(AliAODMCParticle *mcv0part, TClonesArray *mcArray)
TH2D * fHistoResponseElePt1
! Response function electron pT <- True ept
THnSparse * fHistoElePtvsd0RSMix
! e pt-d0 spectra (right-sign, mix)
THnSparse * fHistoElePtvsV0dlFeedDownXicPlusMCS
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaPtvsV0dlMCS
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaPtvsV0dlFeedDownXic0BFeeddownMCS2
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaPtvsV0dlWSMix2Away
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoElePtvsV0dlFeedDownXicPlusMCS1
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaPtvsV0dlFeedDownXicPlusPromptMCS
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaMassvsElePtRSSide1
! e-Lambda mass vs elept spectra right sign (mixed event)
TList * fOutputAll
! User Output slot 3 //analysis histograms
THnSparse * fHistoElePtvsV0dcaRS
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaPtvsV0dlPromptMCS2
! Feeddown subtraction using Lambda vertex distribution
TH2D * fHistoResponseEleLambdaPtFeeddownXicPlus
! Response function e-Lambda pT <- XicPt
THnSparse * fHistoElePtvsV0dcaWS2
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaPtvsV0dlPromptMCS
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaPtvsV0dlRS1Away
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaMassvsElePtRS
! e-Lambda mass vs elept spectra right sign
THnSparse * fHistoElePtvsV0dcaWSMix
! Feeddown subtraction using Lambda vertex distribution
TH2F * fHistoElePtFeeddownXicPlusMCS
! EFficiency calculation numerator
THnSparse * fHistoEleLambdaMassFeeddownXic0MCGen
! EFficiency calculation numerator
THnSparse * fHistoElePtvsV0dcaFeedDownXicPlusMCS2
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaPtvsV0dlFeedDownXicPlusBFeeddownMCS1
! Feeddown subtraction using Lambda vertex distribution
TH2D * fHistoResponseEleLambdaPtFeeddownXic02
! Response function e-Lambda pT <- XicPt
THnSparse * fHistoEleLambdaPtvsV0dlFeedDownSigmaMCS
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaMassvsElePtRS1
! e-Lambda mass vs elept spectra right sign
TH2D * fHistoResponseElePt2
! Response function electron pT <- True ept
AliAODVertex * PrimaryVertex(const TObjArray *trkArray, AliVEvent *event)
THnSparse * fHistoEleLambdaMassRSSide1Away
! e-Lambda mass spectra right sign (mixed event)
THnSparse * fHistoElePtvsLambdaPtFeeddownXic0MCS
! e-Xi spectra efficiency numerator
THnSparse * fHistoEleLambdaMassMCS
! EFficiency calculation numerator
TH2F * fHistoElePtMCGen
! EFficiency calculation denominator
TH2F * fHistoElePtWSMix
! e spectra wrong sign (mixed event)
void FillMCEleROOTObjects(AliAODMCParticle *mcepart, TClonesArray *mcArray)
THnSparse * fHistoEleLambdaPtvsV0dlRSSide2
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoElePtvsd0PromptMCS
! e pt-d0 spectra (right-sign)
THnSparse * fHistoEleLambdaMassFeeddownXicPlusMCS
! EFficiency calculation numerator
THnSparse * fHistoElePtvsV0dcaWS1
! Feeddown subtraction using Lambda vertex distribution
AliAnalysisTaskSELc2eleLambdafromAODtracks & operator=(const AliAnalysisTaskSELc2eleLambdafromAODtracks &source)
THnSparse * fHistoEleLambdaMassvsElePtFeeddownXicPlusMCGen2
! EFficiency calculation numerator
THnSparse * fHistoElePtvsV0dcaRSMix1
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaPtvsV0dlFeedDownXicPlusMCS2
! Feeddown subtraction using Lambda vertex distribution
Float_t * fCandidateMCVariables
! variables to be written to the tree
THnSparse * fHistoElePtvsLambdaPtFeeddownXic0MCGen
! e-Xi spectra efficiency numerator
THnSparse * fHistoEleLambdaPtvsV0dlWSMix2
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoElePtvsCutVarsWS[17]
! e pt- cut variables (Wrong-sign)
THnSparse * fHistoEleLambdaPtvsV0dlBFeeddownMCS
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoElePtvsLambdaPtMCS
! e-Xi spectra efficiency numerator
THnSparse * fHistoEleLambdaPtvsV0dlFeedDownSigmaMCS2
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaMassvsElePtWSSide
! e-Lambda mass vs elept spectra wrong sign (mixed event)
THnSparse * fHistoEleLambdaMassFeeddownXic0MCS
! EFficiency calculation numerator
THnSparse * fHistoEleLambdaMassWS
! e-Lambda mass spectra wrong sign
THnSparse * fHistoEleLambdaPtvsV0dlRSMixAway
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaMassRSSide2Away
! e-Lambda mass spectra right sign (mixed event)
THnSparse * fHistoEleLambdaPtvsV0dlPromptMCS1
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoElePtvsV0dlWSMix
! Feeddown subtraction using Lambda vertex distribution
Bool_t fWriteMCVariableTree
flag to decide whether to write the candidate variables on a tree variables
THnSparse * fHistoEleLambdaMassRSMix1
! e-Lambda mass spectra right sign (mixed event)
THnSparse * fHistoEleLambdaMassRSSide1
! e-Lambda mass spectra right sign (mixed event)
THnSparse * fHistoElePtvsV0dlFeedDownXic0MCS2
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaMassWSMixAway
! e-Lambda mass spectra wrong sign (mixed event)
THnSparse * fHistoElePtvsV0dcaRSMix2
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaMassvsElePtFeeddownXic0MCS1
! EFficiency calculation numerator
THnSparse * fHistoElePtvsV0dcaWSSide2
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoElePtvsEtaMCGen
! e spectra efficiency denominator
THnSparse * fHistoEleLambdaPtvsV0dlFeedDownSigmaBFeeddownMCS1
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaPtvsV0dlWSSide
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoElectronMCGen
! electron in mcArray (only from charmed baryon)
THnSparse * fHistoElePtvsV0dlRSSide2
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoElePtvsd0BFeeddownMCS
! e pt-d0 spectra (right-sign)
THnSparse * fHistoEleLambdaMassWSSide2Away
! e-Lambda mass spectra wrong sign (mixed event)
THnSparse * fHistoEleLambdaPtvsV0dlWS
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaMassvsElePtWSMix2
! e-Lambda mass vs elept spectra wrong sign (mixed event)
THnSparse * fHistoEleLambdaPtvsV0dlFeedDownXicPlusBFeeddownMCS
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoElePtvsV0dlRS
! Feeddown subtraction using Lambda vertex distribution
void SelectTrack(const AliVEvent *event, Int_t trkEntries, Int_t &nSeleTrks, Bool_t *seleFlags, TClonesArray *mcArray)
THnSparse * fHistoElePtvsV0dcaRSSide
! Feeddown subtraction using Lambda vertex distribution
Bool_t fWriteEachVariableTree
flag to decide whether to write the candidate variables on a tree variables
TH2D * fHistoResponseEleLambdaPt1
! Response function e-Lambda pT <- XicPt
THnSparse * fHistoEleLambdaMassRSMix2
! e-Lambda mass spectra right sign (mixed event)
std::vector< Double_t > fV0dcaArray1
array of antilambda-compatible tracks' information
Float_t * fCandidateMCV0Variables
! variables to be written to the tree
THnSparse * fHistoEleLambdaPtvsV0dlBFeeddownMCS1
! Feeddown subtraction using Lambda vertex distribution
TH2D * fHistoResponseEleLambdaPt
! Response function e-Lambda pT <- XicPt
THnSparse * fHistoEleLambdaPtvsV0dlMCS2
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaPtvsV0dlWSMix
! Feeddown subtraction using Lambda vertex distribution
void FillElectronROOTObjects(AliAODTrack *trk, TClonesArray *mcArray)
THnSparse * fHistoEleLambdaPtvsV0dlFeedDownXic0BFeeddownMCS
! Feeddown subtraction using Lambda vertex distribution
TH2F * fHistoElectronTPCPIDSelTOFLargeEta
! TPC electron PID after TOF 3 sigma cut (0.8>|eta|>0.6)
THnSparse * fHistoElePtvsV0dlWSSide1
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaMassRSSide
! e-Lambda mass spectra right sign (mixed event)
THnSparse * fHistoEleLambdaMassWS1Away
! e-Lambda mass spectra wrong sign
THnSparse * fHistoEleLambdaMassvsElePtFeeddownXic0MCGen
! EFficiency calculation numerator
Bool_t fMCDoPairAnalysis
MC eventtype to analyze 1: ccbar 2: bbbar.
THnSparse * fHistoEleLambdaPtvsV0dlWSSide1Away
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaMassRSMix1Away
! e-Lambda mass spectra right sign (mixed event)
THnSparse * fHistoEleLambdaPtvsV0dlFeedDownSigmaPromptMCS1
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoElePtvsV0dcaRSSide2
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaMassvsElePtFeeddownXic0MCS2
! EFficiency calculation numerator
THnSparse * fHistoEleLambdaPtvsV0dlWS2
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoElePtvsV0dlRS1
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoElePtvsV0dlRS2
! Feeddown subtraction using Lambda vertex distribution
TH2F * fHistoElePtFeeddownXicPlusMCGen
! EFficiency calculation numerator
THnSparse * fHistoEleLambdaMassvsElePtRSSide
! e-Lambda mass vs elept spectra right sign (mixed event)
TH2F * fHistoElePtFeeddownXic0MCGen
! EFficiency calculation numerator
void FillROOTObjects(AliAODRecoCascadeHF *elobj, AliAODv0 *v0, AliAODTrack *trk, TClonesArray *mcArray)
THnSparse * fHistoElePtvsV0dlMCS1
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoElePtvsCutVarsRS[17]
! e pt- cut variables (Right-sign)
THnSparse * fHistoElePtvsLambdaPtWSMix
! e-Xi spectra (wrong-sign, mix)
THnSparse * fHistoEleLambdaMassRSMix2Away
! e-Lambda mass spectra right sign (mixed event)
THnSparse * fHistoEleLambdaPtvsV0dlFeedDownXicPlusBFeeddownMCS2
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaPtvsV0dlFeedDownXicPlusPromptMCS1
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaMassRS2
! e-Lambda mass spectra right sign
std::vector< Double_t > fV0dcaArray2
array of lambda-compatible tracks' information
THnSparse * fHistoEleLambdaMassRSSideAway
! e-Lambda mass spectra right sign (mixed event)
THnSparse * fHistoEleLambdaMassvsElePtFeeddownXicPlusMCS1
! EFficiency calculation numerator
THnSparse * fHistoEleLambdaPtvsV0dlWSMix1Away
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoElePtvsV0dcaWS
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoElePtvsV0dcaRS1
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaMassvsElePtMCS
! EFficiency calculation numerator
THnSparse * fHistoEleLambdaPtvsV0dlRS
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaMassWSSide1
! e-Lambda mass spectra wrong sign (mixed event)
THnSparse * fHistoElePtvsV0dlWS2
! Feeddown subtraction using Lambda vertex distribution
TH2F * fHistoElePtFeeddownXic0MCS
! EFficiency calculation numerator
THnSparse * fHistoEleLambdaPtvsV0dlFeedDownXicPlusMCS
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoElePtvsd0WSMix
! e pt-d0 spectra (wrong-sign, mix)
THnSparse * fHistoEleLambdaMassWSMix1
! e-Lambda mass spectra wrong sign (mixed event)
THnSparse * fHistoEleLambdaPtvsV0dlFeedDownXic0PromptMCS1
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaMassWSSide2
! e-Lambda mass spectra wrong sign (mixed event)
THnSparse * fHistoEleLambdaPtvsV0dlWSSideAway
! Feeddown subtraction using Lambda vertex distribution
TTree * fMCV0VariablesTree
! tree of the candidate variables after track selection on output slot 4
THnSparse * fHistoEleLambdaPtvsV0dlFeedDownXic0MCS
! Feeddown subtraction using Lambda vertex distribution
TH2F * fHistoElectronTPCPIDSelTOF
! TPC electron PID after TOF 3 sigma cut
THnSparse * fHistoEleLambdaMassWS2
! e-Lambda mass spectra wrong sign
THnSparse * fHistoEleLambdaPtvsV0dlRSSide2Away
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaMassFeeddownXicPlusMCGen
! EFficiency calculation numerator
THnSparse * fHistoElePtvsV0dlWSMix2
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoLambdaMCGen
! Lambda in mcArray (only from charmed baryon)
Int_t MatchToMC(AliAODRecoCascadeHF *elobj, TClonesArray *mcArray, Int_t *pdgele_array, Int_t *pdgv0_array, Int_t *labelele_array, Int_t *labelv0_array, Int_t &ngen_ele, Int_t &ngen_v0)
THnSparse * fHistoEleLambdaMassvsElePtWSMix
! e-Lambda mass vs elept spectra wrong sign (mixed event)
THnSparse * fHistoEleLambdaPtvsV0dlFeedDownSigmaMCS1
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoElePtvsEtaFeeddownXicPlusMCGen
! e spectra efficiency numerator
THnSparse * fHistoElePtvsV0dcaRSMix
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoElePtvsV0dlWS
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoElePtvsEtaFeeddownXic0MCGen
! e spectra efficiency numerator
THnSparse * fHistoElePtvsV0dcaWSSide1
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaMassvsElePtRS2
! e-Lambda mass vs elept spectra right sign
THnSparse * fHistoElePtvsV0dcaMCS1
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaPtvsV0dlRSMix1
! Feeddown subtraction using Lambda vertex distribution
TH2D * fHistoResponseEleLambdaPtFeeddownXic0
! Response function e-Lambda pT <- XicPt
THnSparse * fHistoEleLambdaPtvsV0dlWSMixAway
! Feeddown subtraction using Lambda vertex distribution
TTree * fMCEleVariablesTree
! tree of the candidate variables after track selection on output slot 4
THnSparse * fHistoEleLambdaMassvsElePtFeeddownXic0MCGen1
! EFficiency calculation numerator
TTree * fV0VariablesTree
! tree of the candidate variables after track selection on output slot 4
THnSparse * fHistoElePtvsLambdaPtvsLcPtMCGen
! e-Xi spectra efficiency denominator
THnSparse * fHistoEleLambdaMassWSSide
! e-Lambda mass spectra wrong sign (mixed event)
void SelectV0(const AliVEvent *event, Int_t nV0, Int_t &nSeleV0, Bool_t *seleV0Flags, TClonesArray *mcArray)
void SetPoolCentBinLimits(Int_t Ncentbins, const Double_t *CentBins)
THnSparse * fHistoEleLambdaMassWSMix
! e-Lambda mass spectra wrong sign (mixed event)
THnSparse * fHistoEleLambdaPtvsV0dlFeedDownXicPlusMCS1
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoElePtvsEtaFeeddownXic0MCS
! e spectra efficiency numerator
Float_t * fCandidateEleVariables
! variables to be written to the tree
THnSparse * fHistoEleLambdaPtvsV0dlBFeeddownMCS2
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaMassWSAway
! e-Lambda mass spectra wrong sign
AliNormalizationCounter * fCounter
! Counter for normalization
void SetPoolPVzBinLimits(Int_t Nzvtxbins, const Double_t *ZvtxBins)
THnSparse * fHistoElePtvsV0dcaWSSide
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaPtvsV0dlRS2Away
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoElePtvsLambdaPtMCLcGen
! e-Xi spectra efficiency denominator
THnSparse * fHistoElePtvsEtaFeeddownXicPlusMCS
! e spectra efficiency numerator
void GetMCDecayHistory(AliAODMCParticle *mcpart, TClonesArray *mcArray, Int_t *pdgarray, Int_t *labelarray, Int_t &ngen)
THnSparse * fHistoElePtvsLambdaPtFeeddownXicPlusMCS
! e-Xi spectra efficiency numerator
THnSparse * fHistoElePtvsLambdaPtFeeddownXicPlusMCGen
! e-Xi spectra efficiency numerator
THnSparse * fHistoElePtvsV0dlMCS2
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaPtvsV0dlRSMix2
! Feeddown subtraction using Lambda vertex distribution
AliAODVertex * CallPrimaryVertex(AliAODv0 *v0, AliAODTrack *trk, AliAODEvent *evt)
THnSparse * fHistoElePtvsEtaMCS
! e spectra efficiency numerator
THnSparse * fHistoEleLambdaMassRS1
! e-Lambda mass spectra right sign
THnSparse * fHistoEleLambdaMassvsElePtWS1
! e-Lambda mass vs elept spectra wrong sign
THnSparse * fHistoEleLambdaPtvsV0dlFeedDownSigmaPromptMCS
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaPtvsV0dlRSMix1Away
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaMassvsElePtMCGen2
! EFficiency calculation denominator
THnSparse * fHistoEleLambdaMassvsElePtMCS1
! EFficiency calculation numerator
THnSparse * fHistoElePtvsV0dlRSMix1
! Feeddown subtraction using Lambda vertex distribution
TH1F * fHistoBachPtMCGen
! Bachelor pT histogram (efficiency denominator)
THnSparse * fHistoEleLambdaMassWSMix1Away
! e-Lambda mass spectra wrong sign (mixed event)
THnSparse * fHistoEleLambdaMassvsElePtFeeddownXic0MCS
! EFficiency calculation numerator
TObjArray * fV0Tracks1
array of electron-compatible tracks
THnSparse * fHistoEleLambdaMassRS
! e-Lambda mass spectra right sign
THnSparse * fHistoElePtvsV0dcaRSSide1
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaMassRS2Away
! e-Lambda mass spectra right sign
THnSparse * fHistoElePtvsV0dcaFeedDownXicPlusMCS1
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaMassvsElePtMCGen
! EFficiency calculation denominator
THnSparse * fHistoEleLambdaPtvsV0dlRSSideAway
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoElePtvsV0dcaFeedDownXicPlusMCS
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaMassvsElePtWSSide1
! e-Lambda mass vs elept spectra wrong sign (mixed event)
TH2D * fHistoResponseEleLambdaPtFeeddownXicPlus1
! Response function e-Lambda pT <- XicPt
THnSparse * fHistoElePtvsCutVarsMCS[17]
! e pt- cut variables (MCS)
THnSparse * fHistoElePtvsV0dlWSMix1
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaPtvsV0dlRSSide
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoElePtvsV0dcaWSMix1
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaMassRSSide2
! e-Lambda mass spectra right sign (mixed event)
THnSparse * fHistoEleLambdaPtvsV0dlFeedDownXicPlusPromptMCS2
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaPtvsV0dlFeedDownXic0MCS2
! Feeddown subtraction using Lambda vertex distribution
TH1F * fHistoBachPtMCS
! Bachelor pT histogram (efficiency numerator)
THnSparse * fHistoElePtvsV0dcaMCS2
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaPtvsV0dlFeedDownSigmaBFeeddownMCS
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaMassvsElePtWSSide2
! e-Lambda mass vs elept spectra wrong sign (mixed event)
THnSparse * fHistoEleLambdaPtvsV0dlWSSide2
! Feeddown subtraction using Lambda vertex distribution
std::vector< Double_t > fV0dlArray1
array of antilambda-compatible tracks
THnSparse * fHistoEleLambdaPtvsV0dlFeedDownSigmaBFeeddownMCS2
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoElePtvsV0dlRSSide1
! Feeddown subtraction using Lambda vertex distribution
AliAODVertex * ReconstructSecondaryVertex(AliAODv0 *casc, AliAODTrack *trk, AliAODEvent *aod)
TH2F * fHistoElectronTPCSelPID
! TPC electron PID after selection
THnSparse * fHistoEleLambdaMassvsElePtRSSide2
! e-Lambda mass vs elept spectra right sign (mixed event)
THnSparse * fHistoEleLambdaPtvsV0dlWSSide1
! Feeddown subtraction using Lambda vertex distribution
TH2D * fHistoResponseEleLambdaPtFeeddownXicPlus2
! Response function e-Lambda pT <- XicPt
THnSparse * fHistoEleLambdaMassvsElePtWS
! e-Lambda mass vs elept spectra wrong sign
THnSparse * fHistoEleLambdaMassWSSide1Away
! e-Lambda mass spectra wrong sign (mixed event)
Float_t * fCandidateV0Variables
! variables to be written to the tree
THnSparse * fHistoEleLambdaMassWSSideAway
! e-Lambda mass spectra wrong sign (mixed event)
THnSparse * fHistoElePtvsV0dcaRS2
! Feeddown subtraction using Lambda vertex distribution
TTree * fEleVariablesTree
! tree of the candidate variables after track selection on output slot 4
THnSparse * fHistoEleLambdaPtvsV0dlRSAway
! Feeddown subtraction using Lambda vertex distribution
TH2D * fHistoResponseEleLambdaPt2
! Response function e-Lambda pT <- XicPt
TH2F * fHistoElectronTPCPIDSelTOFEtaDep[8]
! TPC electron PID after TOF 3 sigma cut (0.8>|eta|>0.6)
THnSparse * fHistoElePtvsV0dcaFeedDownXic0MCS
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoElePtvsV0dlFeedDownXic0MCS
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaMassRSAway
! e-Lambda mass spectra right sign
THnSparse * fHistoEleLambdaMassvsElePtMCGen1
! EFficiency calculation denominator
THnSparse * fHistoEleLambdaPtvsV0dlWSAway
! Feeddown subtraction using Lambda vertex distribution
void FillMCGenPairROOTObjects(AliAODMCParticle *e, AliAODMCParticle *v, TClonesArray *array)
THnSparse * fHistoEleLambdaPtvsV0dlWS1
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaMassWSMix2
! e-Lambda mass spectra wrong sign (mixed event)
THnSparse * fHistoElePtvsV0dlRSMix
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoElePtvsLambdaPtvsLcPtMCS
! e-Xi spectra efficiency numerator
THnSparse * fHistoEleLambdaMassvsElePtFeeddownXicPlusMCGen1
! EFficiency calculation numerator
THnSparse * fHistoEleLambdaMassvsElePtFeeddownXicPlusMCS2
! EFficiency calculation numerator
THnSparse * fHistoElePtvsV0dlRSMix2
! Feeddown subtraction using Lambda vertex distribution
AliAODRecoCascadeHF * MakeCascadeHF(AliAODv0 *casc, AliAODTrack *trk, AliAODEvent *aod, AliAODVertex *vert)
THnSparse * fHistoEleLambdaMassRSMixAway
! e-Lambda mass spectra right sign (mixed event)
THnSparse * fHistoElePtvsV0dlFeedDownXicPlusMCS2
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaPtvsV0dlFeedDownXic0PromptMCS2
! Feeddown subtraction using Lambda vertex distribution
THnSparse * fHistoEleLambdaMassvsElePtMCS2
! EFficiency calculation numerator
THnSparse * fHistoEleLambdaPtvsV0dlRSSide1
! Feeddown subtraction using Lambda vertex distribution
Float_t * fCandidateMCGenPairVariables
! variables to be written to the tree
std::vector< Double_t > fV0dlArray2
array of lambda-compatible tracks' information