]>
Commit | Line | Data |
---|---|---|
a65a7e70 | 1 | //____________________________________________________ |
2 | void AliTRDmakeRecoParamFirstPhysics() | |
3 | { | |
4 | AliCDBMetaData *metaData= new AliCDBMetaData(); | |
5 | metaData->SetObjectClassName("TObjArray"); | |
6 | metaData->SetResponsible("Alexandru Bercuci / Markus Fasel"); | |
7 | metaData->SetBeamPeriod(1); | |
8 | metaData->SetAliRootVersion("05-27-06b"); //root version | |
9 | metaData->SetComment( | |
10 | "Reconstruction parameters for low, high, cosmic and calibration runs.\n" | |
11 | "Issue date 24th Feb 2011. TRD not updating tracks."); | |
12 | AliCDBId id("TRD/Calib/RecoParam", 95352, AliCDBRunRange::Infinity()); | |
13 | AliCDBManager *man = AliCDBManager::Instance(); | |
14 | AliCDBStorage *gStorLoc = man->GetStorage("local://$ALICE_ROOT/OCDB"); | |
15 | if (!gStorLoc) { | |
16 | return; | |
17 | } | |
18 | gStorLoc->Put(CreateRecoParamObject(), id, metaData); | |
19 | ||
20 | return; | |
21 | } | |
22 | ||
23 | ||
24 | //____________________________________________________ | |
25 | TObjArray* CreateRecoParamObject() | |
26 | { | |
27 | TObjArray *recos = new TObjArray(5); | |
28 | ||
29 | AliTRDrecoParam *rec = 0x0; | |
30 | Double_t cov[]={1., 1., 0., 0., 0.}; | |
31 | recos->AddLast(rec = AliTRDrecoParam::GetLowFluxParam()); | |
32 | rec->SetEventSpecie(AliRecoParam::kLowMult); | |
33 | rec->SetNameTitle("Default", "TRD Default Reco Param"); | |
34 | rec->SetNameTitle("LOW", "TRD Low Flux Reco Param"); | |
35 | rec->SetRawStreamVersion("DEFAULT"); | |
36 | rec->SetPIDmethod(AliTRDPIDResponse::kLQ1D); | |
37 | rec->SetXenon(); | |
38 | rec->SetVertexConstrained(); | |
39 | rec->SetSysCovMatrix(cov); | |
40 | rec->SetChi2YSlope(0.11853); | |
41 | rec->SetChi2ZSlope(0.04527); | |
42 | rec->SetChi2YCut(1.); | |
43 | rec->SetPhiSlope(10.); //3.17954; | |
44 | rec->SetMaxTheta(2.1445); | |
45 | rec->SetMaxPhi(2.7475); | |
46 | rec->SetNMeanClusters(12.89); | |
47 | rec->SetNSigmaClusters(2.095); | |
48 | rec->SetRoadzMultiplicator(3.); | |
49 | rec->SetPtThreshold(0.2);//100.); | |
50 | rec->SetStreamLevel(AliTRDrecoParam::kTracker, 1); | |
51 | rec->SetAsDefault(); | |
52 | ||
53 | recos->AddLast(rec = AliTRDrecoParam::GetHighFluxParam()); | |
54 | rec->SetEventSpecie(AliRecoParam::kHighMult); | |
55 | rec->SetNameTitle("HIGH", "TRD High Flux Reco Param"); | |
56 | rec->SetRawStreamVersion("DEFAULT"); | |
57 | rec->SetPIDmethod(AliTRDPIDResponse::kLQ1D); | |
58 | rec->SetXenon(); | |
59 | rec->SetVertexConstrained(); | |
60 | rec->SetSysCovMatrix(cov); | |
61 | rec->SetChi2YSlope(0.11853); | |
62 | rec->SetChi2ZSlope(0.04527); | |
63 | rec->SetChi2YCut(1.); | |
64 | rec->SetPhiSlope(10.); //3.17954; | |
65 | rec->SetMaxTheta(2.1445); | |
66 | rec->SetMaxPhi(2.7475); | |
67 | rec->SetNMeanClusters(12.89); | |
68 | rec->SetNSigmaClusters(2.095); | |
69 | rec->SetPtThreshold(0.2);//100.); | |
70 | rec->SetStreamLevel(AliTRDrecoParam::kTracker, 1); | |
71 | ||
72 | recos->AddLast(rec = AliTRDrecoParam::GetCosmicTestParam()); | |
73 | rec->SetEventSpecie(AliRecoParam::kCosmic); | |
74 | rec->SetNameTitle("COSMIC", "TRD Cosmic Reco Param"); | |
75 | rec->SetRawStreamVersion("DEFAULT"); | |
76 | rec->SetPIDmethod(AliTRDPIDResponse::kLQ1D); | |
77 | rec->SetXenon(); | |
78 | rec->SetPtThreshold(0.2); | |
79 | rec->SetStreamLevel(AliTRDrecoParam::kTracker, 1); | |
80 | ||
81 | recos->AddLast(rec = AliTRDrecoParam::GetCosmicTestParam()); | |
82 | rec->SetEventSpecie(AliRecoParam::kCalib); | |
83 | rec->SetNameTitle("CALIBRATION", "TRD Calibration Reco Param"); | |
84 | rec->SetRawStreamVersion("DEFAULT"); | |
85 | rec->SetXenon(); | |
86 | ||
87 | return recos; | |
88 | } |