Updated OCDB entries taken from 2009 RAW OCDB. The Pb-Pb entry is put temporarely...
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 9 Apr 2010 14:33:13 +0000 (14:33 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 9 Apr 2010 14:33:13 +0000 (14:33 +0000)
OCDB/VZERO/Calib/Data/Run0_999999999_v0_s0.root
OCDB/VZERO/CalibPbPb/Data/Run0_999999999_v0_s0.root [deleted file]
OCDB/VZERO/PbPb/VZERO/Calib/Data/Run0_999999999_v0_s0.root [new file with mode: 0644]
VZERO/MakeVZEROCalibEntry.C
VZERO/MakeVZEROCalibEntryPbPb.C

index 3846d12..8cb7600 100644 (file)
Binary files a/OCDB/VZERO/Calib/Data/Run0_999999999_v0_s0.root and b/OCDB/VZERO/Calib/Data/Run0_999999999_v0_s0.root differ
diff --git a/OCDB/VZERO/CalibPbPb/Data/Run0_999999999_v0_s0.root b/OCDB/VZERO/CalibPbPb/Data/Run0_999999999_v0_s0.root
deleted file mode 100644 (file)
index 5cecf15..0000000
Binary files a/OCDB/VZERO/CalibPbPb/Data/Run0_999999999_v0_s0.root and /dev/null differ
diff --git a/OCDB/VZERO/PbPb/VZERO/Calib/Data/Run0_999999999_v0_s0.root b/OCDB/VZERO/PbPb/VZERO/Calib/Data/Run0_999999999_v0_s0.root
new file mode 100644 (file)
index 0000000..8d424cf
Binary files /dev/null and b/OCDB/VZERO/PbPb/VZERO/Calib/Data/Run0_999999999_v0_s0.root differ
index 3d1bc94..a1e3b9f 100644 (file)
@@ -1,4 +1,3 @@
-
 void MakeVZEROCalibEntry(Int_t run,const char *inputCDB = "raw://"){
 
   AliCDBManager *man = AliCDBManager::Instance();
@@ -10,6 +9,13 @@ void MakeVZEROCalibEntry(Int_t run,const char *inputCDB = "raw://"){
   AliVZEROCalibData *calibdaorg = (AliVZEROCalibData*)entry->GetObject();
   AliVZEROCalibData *calibda = new AliVZEROCalibData(*calibdaorg);
 
+  for (Int_t i = 0; i < 64; ++i) {
+    calibda->SetTimeOffset(5.0,i);
+  }
+  for (Int_t i = 0; i < 8; ++i) {
+    calibda->SetWidthResolution(2,i);
+  }
+
   // Creation of the object VZERO Calibration as a MetaData
   AliCDBMetaData *md= new AliCDBMetaData(); // metaData describing the object
   md->SetResponsible("Brigitte Cheynis");
index f16e6df..e04e82d 100644 (file)
@@ -10,6 +10,13 @@ void MakeVZEROCalibEntryPbPb(Int_t run,const char *inputCDB = "raw://"){
   AliVZEROCalibData *calibdaorg = (AliVZEROCalibData*)entry->GetObject();
   AliVZEROCalibData *calibda = new AliVZEROCalibData(*calibdaorg);
 
+  for (Int_t i = 0; i < 64; ++i) {
+    calibda->SetTimeOffset(5.0,i);
+  }
+  for (Int_t i = 0; i < 8; ++i) {
+    calibda->SetWidthResolution(2,i);
+  }
+
   Float_t p0[64] = {
     7.094891, 7.124938, 7.089708, 7.098169, 7.094482, 7.147250, 7.170978, 7.183392, 
     7.145760, 7.148096, 7.153840, 7.143544, 7.186069, 7.194580, 7.203516, 7.195176, 
@@ -41,9 +48,9 @@ void MakeVZEROCalibEntryPbPb(Int_t run,const char *inputCDB = "raw://"){
   md->SetBeamPeriod(0);
   md->SetAliRootVersion(gSystem->Getenv("ARVERSION"));
   md->SetComment("Pb-Pb VZERO Calibration from RAW OCDB");
-  AliCDBId id("VZERO/CalibPbPb/Data",0,AliCDBRunRange::Infinity());
+  AliCDBId id("VZERO/Calib/Data",0,AliCDBRunRange::Infinity());
 
-  man->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
+  man->SetDefaultStorage("local://$ALICE_ROOT/OCDB/VZERO/PbPb");
   AliCDBStorage *storLoc = man->GetDefaultStorage();
   storLoc->Put(calibda, id, md);