Setting IsDefault after the event specie, otherwise it is not taken into account
[u/mrichter/AliRoot.git] / TRD / Cal / AliTRDmakeRecoParamFirstPhysics.C
index b60bdcd71e8ebafe999f4ab347781f73d16d0708..8a28777b1363169b3c6b7f93a4bbab99c1867a55 100644 (file)
@@ -26,27 +26,10 @@ TObjArray* CreateRecoParamObject()
   TObjArray *recos = new TObjArray(5);\r
 \r
   AliTRDrecoParam *rec = 0x0;\r
-  recos->AddLast(rec = AliTRDrecoParam::GetLowFluxParam());\r
-  rec->SetAsDefault();\r
-  rec->SetNameTitle("Default", "TRD Default Reco Param");\r
-  rec->SetRawStreamVersion("FAST");\r
-  rec->SetXenon();\r
-  rec->SetVertexConstrained();\r
-  Double_t cov[5] = {2.,2.,0.,0.,0.}\r
-  rec->SetSysCovMatrix(cov);\r
-  rec->SetChi2YSlope(0.11853);\r
-  rec->SetChi2ZSlope(0.04527);\r
-  rec->SetChi2YCut(1.);\r
-  rec->SetPhiSlope(10.); //3.17954;\r
-  rec->SetMaxTheta(2.1445);\r
-  rec->SetMaxPhi(2.7475);\r
-  rec->SetNMeanClusters(12.89);\r
-  rec->SetNSigmaClusters(2.095);\r
-  rec->SetRoadzMultiplicator(3.);\r
-  rec->SetStreamLevel(AliTRDrecoParam::kTracker, 1);\r
 \r
   recos->AddLast(rec = AliTRDrecoParam::GetLowFluxParam());\r
   rec->SetEventSpecie(AliRecoParam::kLowMult);\r
+  rec->SetNameTitle("Default", "TRD Default Reco Param");\r
   rec->SetNameTitle("LOW", "TRD Low Flux Reco Param");\r
   rec->SetRawStreamVersion("FAST");\r
   rec->SetXenon();\r
@@ -62,6 +45,7 @@ TObjArray* CreateRecoParamObject()
   rec->SetNSigmaClusters(2.095);\r
   rec->SetRoadzMultiplicator(3.);\r
   rec->SetStreamLevel(AliTRDrecoParam::kTracker, 1);\r
+  rec->SetAsDefault();\r
 \r
   recos->AddLast(rec = AliTRDrecoParam::GetHighFluxParam());\r
   rec->SetEventSpecie(AliRecoParam::kHighMult);\r