Update reco param object (Markus)
authorcblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 19 Mar 2010 14:16:42 +0000 (14:16 +0000)
committercblume <cblume@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 19 Mar 2010 14:16:42 +0000 (14:16 +0000)
OCDB/TRD/Calib/RecoParam/Run0_999999999_v0_s0.root [new file with mode: 0644]
TRD/Cal/AliTRDmakeRecoParam.C

diff --git a/OCDB/TRD/Calib/RecoParam/Run0_999999999_v0_s0.root b/OCDB/TRD/Calib/RecoParam/Run0_999999999_v0_s0.root
new file mode 100644 (file)
index 0000000..95751c9
Binary files /dev/null and b/OCDB/TRD/Calib/RecoParam/Run0_999999999_v0_s0.root differ
index 4f59658..19eb164 100644 (file)
@@ -1,59 +1,60 @@
-//____________________________________________________\r
-void AliTRDmakeRecoParam()\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("Ideal reconstruction parameters for low, high and cosmic runs");\r
-  \r
-  AliCDBId id("TRD/Calib/RecoParam", 0, 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(4);\r
-\r
-  AliTRDrecoParam *rec = 0x0;\r
-  recos->AddLast(rec = AliTRDrecoParam::GetLowFluxParam());\r
-  rec->SetAsDefault();\r
-  rec->SetNameTitle("Default", "TRD Default Reco Param");\r
-  // further settings for low flux reco param\r
-  // reco->SetThisAndThat()\r
-\r
-  recos->AddLast(rec = AliTRDrecoParam::GetLowFluxParam());\r
-  rec->SetEventSpecie(AliRecoParam::kLowMult);\r
-  rec->SetNameTitle("LOW", "TRD Low Flux Reco Param");\r
-\r
-  recos->AddLast(rec = AliTRDrecoParam::GetHighFluxParam());\r
-  rec->SetEventSpecie(AliRecoParam::kHighMult);\r
-  rec->SetNameTitle("HIGH", "TRD High Flux Reco Param");\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
-\r
-  recos->AddLast(rec = AliTRDrecoParam::GetCosmicTestParam());\r
-  rec->SetEventSpecie(AliRecoParam::kCalib);\r
-  rec->SetNameTitle("CALIBRATION", "TRD Calibration Reco Param");\r
-  rec->SetRawStreamVersion("FAST");\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
+//____________________________________________________
+void AliTRDmakeRecoParam()
+{
+  AliCDBMetaData *metaData= new AliCDBMetaData(); 
+  metaData->SetObjectClassName("TObjArray");
+  metaData->SetResponsible("Alexandru Bercuci");
+  metaData->SetBeamPeriod(1);
+  metaData->SetAliRootVersion("05-21-01"); //root version
+  metaData->SetComment("Ideal reconstruction parameters for low, high and cosmic runs");
+  
+  AliCDBId id("TRD/Calib/RecoParam", 0, 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(4);
+
+  AliTRDrecoParam *rec = 0x0;
+  recos->AddLast(rec = AliTRDrecoParam::GetLowFluxParam());
+  rec->SetAsDefault();
+  rec->SetEventSpecie(AliRecoParam::kLowMult);
+  rec->SetNameTitle("LOW", "TRD Low Flux Reco Param");
+  rec->SetStreamLevel(AliTRDrecoParam::kTracker, 1);
+  // further settings for low flux reco param
+  // reco->SetThisAndThat()
+
+  recos->AddLast(rec = AliTRDrecoParam::GetHighFluxParam());
+  rec->SetEventSpecie(AliRecoParam::kHighMult);
+  rec->SetNameTitle("HIGH", "TRD High Flux Reco Param");
+  rec->SetStreamLevel(AliTRDrecoParam::kTracker, 1);
+
+  recos->AddLast(rec = AliTRDrecoParam::GetCosmicTestParam());
+  rec->SetEventSpecie(AliRecoParam::kCosmic);
+  rec->SetNameTitle("COSMIC", "TRD Cosmic Reco Param");
+  rec->SetStreamLevel(AliTRDrecoParam::kTracker, 1);
+  rec->SetRawStreamVersion("FAST");
+
+  recos->AddLast(rec = AliTRDrecoParam::GetCosmicTestParam());
+  rec->SetEventSpecie(AliRecoParam::kCalib);
+  rec->SetNameTitle("CALIBRATION", "TRD Calibration Reco Param");
+  rec->SetStreamLevel(AliTRDrecoParam::kTracker, 1);
+  rec->SetRawStreamVersion("FAST");
+
+//  recos->AddLast(rec = AliTRDrecoParam::GetLowFluxParam());
+//  rec->SetNameTitle("HLT", "TRD HLT Reco Param");
+//  rec->SetChi2Y(.1);
+//  rec->SetChi2Z(5.);
+
+  return recos;
+}