Validity range changed to one run in order to allow for different anchor runs to...
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 28 Sep 2010 14:39:41 +0000 (14:39 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 28 Sep 2010 14:39:41 +0000 (14:39 +0000)
VZERO/MakeVZEROCalibEntryScaled.C

index 94dbed1..b12558e 100644 (file)
@@ -48,7 +48,7 @@ void MakeVZEROCalibEntryScaled(Int_t run, Int_t scale = 1, const char *inputCDB
   md->SetBeamPeriod(0);
   md->SetAliRootVersion(gSystem->Getenv("ARVERSION"));
   md->SetComment(Form("VZERO Calibration from RAW OCDB (HV gains are scaled down by factor of %d)",scale));
-  AliCDBId id("VZERO/Calib/Data",0,AliCDBRunRange::Infinity());
+  AliCDBId id("VZERO/Calib/Data",run,run);
 
   man->SetDefaultStorage(outputCDB);
   AliCDBStorage *storLoc = man->GetDefaultStorage();