]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/RESONANCES/macros/train/LHC2010-7TeV-kstar/ConfigESDCutsTPC.C
Added macros for K* analysis
[u/mrichter/AliRoot.git] / PWG2 / RESONANCES / macros / train / LHC2010-7TeV-kstar / ConfigESDCutsTPC.C
1 //
2 // This macro is defined in order to have a unique point
3 // where the standard cuts are configured, in order to be sure
4 // that all common parts of the cuts will be defined coherently
5 //
6 void ConfigESDCutsTPC(AliESDtrackCuts * &cuts)
7 {
8   // general acceptance/pt cuts
9   cuts->SetPtRange ( 0.15, 1.0e+10);
10   cuts->SetEtaRange(-0.8 , 0.8);
11   
12   // DCA cuts
13   cuts->SetMaxDCAToVertexXYPtDep("0.0182+0.0350/pt^1.01");
14   cuts->SetMaxDCAToVertexZ(2.0);
15   cuts->SetDCAToVertex2D(kFALSE);
16   cuts->SetRequireSigmaToVertex(kFALSE);
17   
18   // TPC related cuts for TPC+ITS tracks
19   cuts->SetMinNClustersTPC(70);
20   cuts->SetMaxChi2PerClusterTPC(4);
21   cuts->SetAcceptKinkDaughters(kFALSE);
22   cuts->SetRequireTPCRefit(kTRUE);
23   
24   // ITS related cuts for TPC+ITS tracks
25   cuts->SetRequireITSRefit(kTRUE);
26   cuts->SetClusterRequirementITS(AliESDtrackCuts::kSPD, AliESDtrackCuts::kAny);
27 }