]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/SetDefaultCuts.C
Updating CMake files
[u/mrichter/AliRoot.git] / STEER / SetDefaultCuts.C
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 impact parameter for the 1st daughter 
11                   0.05, // min allowed impact parameter for the 2nd daughter
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 the V0 and the bachelor
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 }