fix typo error (Markus)
authorabercuci <abercuci@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 16 Nov 2009 07:27:59 +0000 (07:27 +0000)
committerabercuci <abercuci@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 16 Nov 2009 07:27:59 +0000 (07:27 +0000)
TRD/Cal/AliTRDmakeRecoParamFirstPhysics.C

index 3b5060da7a69226409609854395a1bf4c096d2b3..b60bdcd71e8ebafe999f4ab347781f73d16d0708 100644 (file)
-//____________________________________________________
-void AliTRDmakeRecoParamFirstPhysics()
-{
-  AliCDBMetaData *metaData= new AliCDBMetaData(); 
-  metaData->SetObjectClassName("TObjArray");
-  metaData->SetResponsible("Alexandru Bercuci");
-  metaData->SetBeamPeriod(1);
-  metaData->SetAliRootVersion("05-21-01"); //root version
-  metaData->SetComment("First Physics reconstruction parameters for low, high and cosmic runs");
-  
-  AliCDBId id("TRD/Calib/RecoParam", 95352, AliCDBRunRange::Infinity()); 
-  AliCDBManager *man = AliCDBManager::Instance();
-  AliCDBStorage *gStorLoc = man->GetStorage("local://$ALICE_ROOT/OCDB");
-  if (!gStorLoc) {
-    return;
-  }
-  gStorLoc->Put(CreateRecoParamObject(), id, metaData); 
-
-  return;
-}
-
-
-//____________________________________________________
-TObjArray* CreateRecoParamObject()
-{
-  TObjArray *recos = new TObjArray(5);
-
-  AliTRDrecoParam *rec = 0x0;
-  recos->AddLast(rec = AliTRDrecoParam::GetLowFluxParam());
-  rec->SetAsDefault();
-  rec->SetNameTitle("Default", "TRD Default Reco Param");
-  rec->SetRawStreamVersion("FAST");
-  rec->SetXenon();
-  rec->SetVertexConstrained();
-  Double_t cov[3] = {2.,2.,0}
-  rec->SetSysCovMatrix(cov);
-  rec->SetChi2YSlope(0.11853);
-  rec->SetChi2ZSlope(0.04527);
-  rec->SetChi2YCut(1.);
-  rec->SetPhiSlope(10.); //3.17954;
-  rec->SetMaxTheta(2.1445);
-  rec->SetMaxPhi(2.7475);
-  rec->SetNMeanClusters(12.89);
-  rec->SetNSigmaClusters(2.095);
-  rec->SetRoadzMultiplicator = 3.;
-  rec->SetStreamLevel(AliTRDrecoParam::kTracker, 1);
-
-  recos->AddLast(rec = AliTRDrecoParam::GetLowFluxParam());
-  rec->SetEventSpecie(AliRecoParam::kLowMult);
-  rec->SetNameTitle("LOW", "TRD Low Flux Reco Param");
-  rec->SetRawStreamVersion("FAST");
-  rec->SetXenon();
-  rec->SetVertexConstrained();
-  rec->SetSysCovMatrix(cov);
-  rec->SetChi2YSlope(0.11853);
-  rec->SetChi2ZSlope(0.04527);
-  rec->SetChi2YCut(1.);
-  rec->SetPhiSlope(10.); //3.17954;
-  rec->SetMaxTheta(2.1445);
-  rec->SetMaxPhi(2.7475);
-  rec->SetNMeanClusters(12.89);
-  rec->SetNSigmaClusters(2.095);
-  rec->SetRoadzMultiplicator(3.);
-  rec->SetStreamLevel(AliTRDrecoParam::kTracker, 1);
-
-  recos->AddLast(rec = AliTRDrecoParam::GetHighFluxParam());
-  rec->SetEventSpecie(AliRecoParam::kHighMult);
-  rec->SetNameTitle("HIGH", "TRD High Flux Reco Param");
-  rec->SetRawStreamVersion("FAST");
-  rec->SetXenon();
-  rec->SetVertexConstrained();
-  rec->SetSysCovMatrix(cov);
-  rec->SetChi2YSlope(0.11853);
-  rec->SetChi2ZSlope(0.04527);
-  rec->SetChi2YCut(1.);
-  rec->SetPhiSlope(10.); //3.17954;
-  rec->SetMaxTheta(2.1445);
-  rec->SetMaxPhi(2.7475);
-  rec->SetNMeanClusters(12.89);
-  rec->SetNSigmaClusters(2.095);
-  recos->AddLast(rec = AliTRDrecoParam::GetCosmicTestParam());
-  rec->SetEventSpecie(AliRecoParam::kCosmic);
-  rec->SetNameTitle("COSMIC", "TRD Cosmic Reco Param");
-  rec->SetRawStreamVersion("FAST");
-  rec->SetXenon();
-
-  recos->AddLast(rec = AliTRDrecoParam::GetCosmicTestParam());
-  rec->SetEventSpecie(AliRecoParam::kCalib);
-  rec->SetNameTitle("CALIBRATION", "TRD Calibration Reco Param");
-  rec->SetRawStreamVersion("FAST");
-  rec->SetXenon();
-
-//  recos->AddLast(rec = AliTRDrecoParam::GetLowFluxParam());
-//  rec->SetNameTitle("HLT", "TRD HLT Reco Param");
-//  rec->SetChi2Y(.1);
-//  rec->SetChi2Z(5.);
-
-  return recos;
-}
+//____________________________________________________\r
+void AliTRDmakeRecoParamFirstPhysics()\r
+{\r
+  AliCDBMetaData *metaData= new AliCDBMetaData(); \r
+  metaData->SetObjectClassName("TObjArray");\r
+  metaData->SetResponsible("Alexandru Bercuci");\r
+  metaData->SetBeamPeriod(1);\r
+  metaData->SetAliRootVersion("05-21-01"); //root version\r
+  metaData->SetComment("First Physics reconstruction parameters for low, high and cosmic runs");\r
+  \r
+  AliCDBId id("TRD/Calib/RecoParam", 95352, AliCDBRunRange::Infinity()); \r
+  AliCDBManager *man = AliCDBManager::Instance();\r
+  AliCDBStorage *gStorLoc = man->GetStorage("local://$ALICE_ROOT/OCDB");\r
+  if (!gStorLoc) {\r
+    return;\r
+  }\r
+  gStorLoc->Put(CreateRecoParamObject(), id, metaData); \r
+\r
+  return;\r
+}\r
+\r
+\r
+//____________________________________________________\r
+TObjArray* CreateRecoParamObject()\r
+{\r
+  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("LOW", "TRD Low Flux Reco Param");\r
+  rec->SetRawStreamVersion("FAST");\r
+  rec->SetXenon();\r
+  rec->SetVertexConstrained();\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::GetHighFluxParam());\r
+  rec->SetEventSpecie(AliRecoParam::kHighMult);\r
+  rec->SetNameTitle("HIGH", "TRD High Flux Reco Param");\r
+  rec->SetRawStreamVersion("FAST");\r
+  rec->SetXenon();\r
+  rec->SetVertexConstrained();\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
\r
+  recos->AddLast(rec = AliTRDrecoParam::GetCosmicTestParam());\r
+  rec->SetEventSpecie(AliRecoParam::kCosmic);\r
+  rec->SetNameTitle("COSMIC", "TRD Cosmic Reco Param");\r
+  rec->SetRawStreamVersion("FAST");\r
+  rec->SetXenon();\r
+\r
+  recos->AddLast(rec = AliTRDrecoParam::GetCosmicTestParam());\r
+  rec->SetEventSpecie(AliRecoParam::kCalib);\r
+  rec->SetNameTitle("CALIBRATION", "TRD Calibration Reco Param");\r
+  rec->SetRawStreamVersion("FAST");\r
+  rec->SetXenon();\r
+\r
+//  recos->AddLast(rec = AliTRDrecoParam::GetLowFluxParam());\r
+//  rec->SetNameTitle("HLT", "TRD HLT Reco Param");\r
+//  rec->SetChi2Y(.1);\r
+//  rec->SetChi2Z(5.);\r
+\r
+  return recos;\r
+}\r