]> git.uio.no Git - u/mrichter/AliRoot.git/blob - prod/LHC08d8/rec.C
QA for pp data
[u/mrichter/AliRoot.git] / prod / LHC08d8 / rec.C
1 void rec() {\r
2   //AliLog::SetGlobalLogLevel(AliLog::kError);\r
3 \r
4   AliReconstruction reco;\r
5 \r
6   reco.SetWriteESDfriend();\r
7   reco.SetWriteAlignmentData();\r
8 \r
9 \r
10   AliITSRecoParam * itspar = AliITSRecoParam::GetLowFluxParam();\r
11   itspar->SetStoreLikeSignV0s(kTRUE);\r
12   reco.SetRecoParam("ITS",itspar);\r
13   reco.SetRecoParam("TPC",AliTPCRecoParam::GetLowFluxParam());\r
14   reco.SetRecoParam("TRD",AliTRDrecoParam::GetLowFluxParam());\r
15   reco.SetRecoParam("PHOS",AliPHOSRecoParam::GetDefaultParameters());\r
16   reco.SetRecoParam("MUON",AliMUONRecoParam::GetLowFluxParam());\r
17   reco.SetRecoParam("EMCAL",AliEMCALRecParam::GetLowFluxParam());\r
18   reco.SetRecoParam("GRP",AliGRPRecoParam::GetLowFluxParam());\r
19 \r
20   reco.SetOption("TRD","sl_tr_1");            // Stream Level for the tracker equal to 1\r
21 \r
22   // Only in case of Full misalignment\r
23 //   AliGRPRecoParam *grpRecoParam = AliGRPRecoParam::GetLowFluxParam();\r
24 //   grpRecoParam->SetVertexerTracksConstraintITS(kFALSE);\r
25 //   grpRecoParam->SetVertexerTracksConstraintTPC(kFALSE);\r
26 //   reco.SetRecoParam("GRP",grpRecoParam);\r
27 \r
28   reco.SetDefaultStorage("alien://Folder=/alice/simulation/2008/v4-15-Release/Residual/");\r
29   //reco.SetSpecificStorage("GRP/GRP/Data/","alien://Folder=/alice/simulation/2008/v4-15-Release/Ideal/");
30   reco.SetSpecificStorage("GRP/GRP/Data",Form("local://%s",gSystem->pwd()));
31   // No write access to the OCDB => local specific storage\r
32 //   reco.SetSpecificStorage("GRP/GRP/Data",\r
33 //                        Form("local://%s",gSystem->pwd()));\r
34 \r
35   //-------------------------------------------------------------------------\r
36   // Setting the cuts for the V0 and cascade finding\r
37   // The values of the cuts below are "reasonable" for pp events\r
38   //-------------------------------------------------------------------------\r
39 \r
40   Double_t v0sels[]={33,    // max allowed chi2\r
41                      0.05,  // min allowed impact parameter for the 1st daughter\r
42                      0.05,  // min allowed impact parameter for the 2nd daughter\r
43                      0.5,   // max allowed DCA between the daughter tracks\r
44                      0.99,  // max allowed cosine of V0's pointing angle\r
45                      0.2,   // min radius of the fiducial volume\r
46                      100    // max radius of the fiducial volume\r
47   };\r
48   AliV0vertexer::SetDefaultCuts(v0sels);\r
49 \r
50   Double_t xisels[]={33.,   // max allowed chi2 (same as PDC07)\r
51                      0.025, // min allowed V0 impact parameter (PDC07 was 0.05)\r
52                      0.010, // "window" around the Lambda mass (PDC07 was 0.008)\r
53                      0.025, // min allowed bachelor's impact parameter (PDC07 was 0.035)\r
54                      0.2,   // max allowed DCA between the V0 and the bachelor (PDC07 was 0.1)\r
55                      0.998, // max allowed cosine of the cascade pointing angle (PDC07 was 0.9985)\r
56                      0.2,   // min radius of the fiducial volume (PDC07 was 0.9)\r
57                      100    // max radius of the fiducial volume (same as PDC07)\r
58   };\r
59   AliCascadeVertexer::SetDefaultCuts(xisels);\r
60 \r
61   reco.SetRunQA("ALL:ALL");\r
62 \r
63   TStopwatch timer;\r
64   timer.Start();\r
65   reco.Run();\r
66   timer.Stop();\r
67   timer.Print();\r
68 }\r
69 \r