set systematics covariance matrix
[u/mrichter/AliRoot.git] / TRD / Cal / AliTRDmakeRecoParamFirstPhysics.C
CommitLineData
c22a16f4 1//____________________________________________________\r
2void AliTRDmakeRecoParamFirstPhysics()\r
3{\r
4 AliCDBMetaData *metaData= new AliCDBMetaData(); \r
5 metaData->SetObjectClassName("TObjArray");\r
6 metaData->SetResponsible("Alexandru Bercuci");\r
7 metaData->SetBeamPeriod(1);\r
8 metaData->SetAliRootVersion("05-21-01"); //root version\r
9 metaData->SetComment("First Physics reconstruction parameters for low, high and cosmic runs");\r
10 \r
11 AliCDBId id("TRD/Calib/RecoParam", 95352, AliCDBRunRange::Infinity()); \r
12 AliCDBManager *man = AliCDBManager::Instance();\r
13 AliCDBStorage *gStorLoc = man->GetStorage("local://$ALICE_ROOT/OCDB");\r
14 if (!gStorLoc) {\r
15 return;\r
16 }\r
17 gStorLoc->Put(CreateRecoParamObject(), id, metaData); \r
18\r
19 return;\r
20}\r
21\r
22\r
23//____________________________________________________\r
24TObjArray* CreateRecoParamObject()\r
25{\r
26 TObjArray *recos = new TObjArray(5);\r
27\r
28 AliTRDrecoParam *rec = 0x0;\r
877fbac6 29 Double_t cov[]={1., 1., 0., 0., 0.};\r
c22a16f4 30 recos->AddLast(rec = AliTRDrecoParam::GetLowFluxParam());\r
31 rec->SetEventSpecie(AliRecoParam::kLowMult);\r
2f2a9d6c 32 rec->SetNameTitle("Default", "TRD Default Reco Param");\r
c22a16f4 33 rec->SetNameTitle("LOW", "TRD Low Flux Reco Param");\r
51bf50b2 34 rec->SetRawStreamVersion("DEFAULT");\r
c22a16f4 35 rec->SetXenon();\r
36 rec->SetVertexConstrained();\r
37 rec->SetSysCovMatrix(cov);\r
38 rec->SetChi2YSlope(0.11853);\r
39 rec->SetChi2ZSlope(0.04527);\r
40 rec->SetChi2YCut(1.);\r
41 rec->SetPhiSlope(10.); //3.17954;\r
42 rec->SetMaxTheta(2.1445);\r
43 rec->SetMaxPhi(2.7475);\r
44 rec->SetNMeanClusters(12.89);\r
45 rec->SetNSigmaClusters(2.095);\r
46 rec->SetRoadzMultiplicator(3.);\r
47 rec->SetStreamLevel(AliTRDrecoParam::kTracker, 1);\r
136ddc91 48 rec->SetAsDefault();\r
c22a16f4 49\r
50 recos->AddLast(rec = AliTRDrecoParam::GetHighFluxParam());\r
51 rec->SetEventSpecie(AliRecoParam::kHighMult);\r
52 rec->SetNameTitle("HIGH", "TRD High Flux Reco Param");\r
51bf50b2 53 rec->SetRawStreamVersion("DEFAULT");\r
c22a16f4 54 rec->SetXenon();\r
55 rec->SetVertexConstrained();\r
56 rec->SetSysCovMatrix(cov);\r
57 rec->SetChi2YSlope(0.11853);\r
58 rec->SetChi2ZSlope(0.04527);\r
59 rec->SetChi2YCut(1.);\r
60 rec->SetPhiSlope(10.); //3.17954;\r
61 rec->SetMaxTheta(2.1445);\r
62 rec->SetMaxPhi(2.7475);\r
63 rec->SetNMeanClusters(12.89);\r
64 rec->SetNSigmaClusters(2.095);\r
65 \r
66 recos->AddLast(rec = AliTRDrecoParam::GetCosmicTestParam());\r
67 rec->SetEventSpecie(AliRecoParam::kCosmic);\r
68 rec->SetNameTitle("COSMIC", "TRD Cosmic Reco Param");\r
51bf50b2 69 rec->SetRawStreamVersion("DEFAULT");\r
c22a16f4 70 rec->SetXenon();\r
71\r
72 recos->AddLast(rec = AliTRDrecoParam::GetCosmicTestParam());\r
73 rec->SetEventSpecie(AliRecoParam::kCalib);\r
74 rec->SetNameTitle("CALIBRATION", "TRD Calibration Reco Param");\r
51bf50b2 75 rec->SetRawStreamVersion("DEFAULT");\r
c22a16f4 76 rec->SetXenon();\r
77\r
78// recos->AddLast(rec = AliTRDrecoParam::GetLowFluxParam());\r
79// rec->SetNameTitle("HLT", "TRD HLT Reco Param");\r
80// rec->SetChi2Y(.1);\r
81// rec->SetChi2Z(5.);\r
82\r
83 return recos;\r
84}\r