ce812f4f |
1 | void rec() { |
2 | |
3 | AliReconstruction reco; |
4 | |
5 | reco.SetWriteESDfriend(); |
6 | reco.SetWriteAlignmentData(); |
7 | |
8 | reco.SetOption("TRD","sl_tr_1"); // Stream Level for the tracker equal to 1 |
9 | |
10 | // Only in case of Full misalignment |
11 | // AliGRPRecoParam *grpRecoParam = AliGRPRecoParam::GetLowFluxParam(); |
12 | // grpRecoParam->SetVertexerTracksConstraintITS(kFALSE); |
13 | // grpRecoParam->SetVertexerTracksConstraintTPC(kFALSE); |
14 | // reco.SetRecoParam("GRP",grpRecoParam); |
15 | |
16 | reco.SetDefaultStorage("alien://Folder=/alice/simulation/2008/v4-15-Release/Residual/"); |
17 | |
18 | // No write access to the OCDB => specific storage |
19 | reco.SetSpecificStorage("GRP/GRP/Data", |
20 | Form("local://%s",gSystem->pwd())); |
21 | |
22 | //------------------------------------------------------------------------- |
23 | // Setting the cuts for the V0 and cascade finding |
24 | // The values of the cuts below are "reasonable" for pp events |
25 | //------------------------------------------------------------------------- |
26 | |
27 | Double_t v0sels[]={33, // max allowed chi2 |
28 | 0.05, // min allowed impact parameter for the 1st daughter |
29 | 0.05, // min allowed impact parameter for the 2nd daughter |
30 | 0.5, // max allowed DCA between the daughter tracks |
31 | 0.99, // max allowed cosine of V0's pointing angle |
32 | 0.2, // min radius of the fiducial volume |
33 | 100 // max radius of the fiducial volume |
34 | }; |
35 | AliV0vertexer::SetDefaultCuts(v0sels); |
36 | |
37 | Double_t xisels[]={33., // max allowed chi2 (same as PDC07) |
38 | 0.025, // min allowed V0 impact parameter (PDC07 was 0.05) |
39 | 0.010, // "window" around the Lambda mass (PDC07 was 0.008) |
40 | 0.025, // min allowed bachelor's impact parameter (PDC07 was 0.035) |
41 | 0.2, // max allowed DCA between the V0 and the bachelor (PDC07 was 0.1) |
42 | 0.998, // max allowed cosine of the cascade pointing angle (PDC07 was 0.9985) |
43 | 0.2, // min radius of the fiducial volume (PDC07 was 0.9) |
44 | 100 // max radius of the fiducial volume (same as PDC07) |
45 | }; |
46 | AliCascadeVertexer::SetDefaultCuts(xisels); |
47 | |
48 | reco.SetRunQA("ALL:ALL"); |
49 | |
50 | TStopwatch timer; |
51 | timer.Start(); |
52 | reco.Run(); |
53 | timer.Stop(); |
54 | timer.Print(); |
55 | } |