Example of setting the cuts for the V0 and cascade finding.
[u/mrichter/AliRoot.git] / STEER / SetDefaultCuts.C
CommitLineData
7cd19d47 1//-------------------------------------------------------------------------
2// Setting the cuts for the V0 and cascade finding
3// The values of the cuts below are "reasonable" for central PbPb events
4//-------------------------------------------------------------------------
5{
6 AliReconstruction rec;
7
8
9 Double_t cuts[]={33, // max. allowed chi2
10 0.16, // min. allowed negative daughter's impact parameter
11 0.05, // min. allowed positive daughter's impact parameter
12 0.08, // max. allowed DCA between the daughter tracks
13 0.99, // max. allowed cosine of V0's pointing angle
14 0.9, // min. radius of the fiducial volume
15 2.9 // max. radius of the fiducial volume
16 };
17 AliV0vertexer::SetDefaultCuts(cuts);
18
19 Double_t cts[]={33., // max. allowed chi2
20 0.05, // min. allowed V0 impact parameter
21 0.008, // window around the Lambda mass
22 0.035, // min. allowed bachelor's impact parameter
23 0.10, // max. allowed DCA between a V0 and a track
24 0.9985,//max. allowed cosine of the cascade pointing angle
25 0.9, // min. radius of the fiducial volume
26 2.9 // max. radius of the fiducial volume
27 };
28 AliCascadeVertexer::SetDefaultCuts(cts);
29
30
31 rec.Run();
32}