New Run Range validity
authorzampolli <zampolli@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 19 Oct 2007 14:40:59 +0000 (14:40 +0000)
committerzampolli <zampolli@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 19 Oct 2007 14:40:59 +0000 (14:40 +0000)
TOF/CreateCalibPars_Ideal.C
TOF/CreateCalibPars_Miscalibrated.C
TOF/CreateCalibPars_Miscalibrated_Scaled.C

index f62d3cb..2a0aaf7 100644 (file)
@@ -8,8 +8,8 @@ void CreateCalibPars_Ideal(){
   TObjArray *tofCalOnline = (TObjArray*) tofcalib->GetTOFSimCalArrayOnline(); 
   TObjArray *tofCalOffline = (TObjArray*) tofcalib->GetTOFSimCalArrayOffline(); 
   TH1F *hToT= new TH1F(); //"empty" ToT histo as a default for ideal 
-  tofcalib->WriteSimParOnlineOnCDB("TOF/Calib",0,0,tofCalOnline);
-  tofcalib->WriteSimParOfflineOnCDB("TOF/Calib","valid",0,0,tofCalOffline,hToT);
+  tofcalib->WriteSimParOnlineOnCDB("TOF/Calib",0,AliCDBRunRange::Infinity(),tofCalOnline);
+  tofcalib->WriteSimParOfflineOnCDB("TOF/Calib","valid",0,AliCDBRunRange::Infinity(),tofCalOffline,hToT);
 }
 
 
index 3a076c0..95b6fe2 100644 (file)
@@ -43,8 +43,8 @@ void CreateCalibPars_Miscalibrated(){
     calChannelOnline->SetDelay(delay);
     calChannelOffline->SetSlewPar(par);
   }
-  tofcalib->WriteSimParOnlineOnCDB("TOF/Calib",0,0,tofCalOnline);
-  tofcalib->WriteSimParOfflineOnCDB("TOF/Calib","valid",0,0,tofCalOffline,hToT);
+  tofcalib->WriteSimParOnlineOnCDB("TOF/Calib",0,AliCDBRunRange::Infinity(),tofCalOnline);
+  tofcalib->WriteSimParOfflineOnCDB("TOF/Calib","valid",0,AliCDBRunRange::Infinity(),tofCalOffline,hToT);
   f.Close();
 }
 
index 37c14eb..1b937ff 100644 (file)
@@ -43,8 +43,8 @@ void CreateCalibPars_Miscalibrated_Scaled(){
     calChannelOnline->SetDelay(delay);
     calChannelOffline->SetSlewPar(par);
   }
-  tofcalib->WriteSimParOnlineOnCDB("TOF/Calib",0,0,tofCalOnline);
-  tofcalib->WriteSimParOfflineOnCDB("TOF/Calib","valid",0,0,tofCalOffline,hToT);
+  tofcalib->WriteSimParOnlineOnCDB("TOF/Calib",0,AliCDBRunRange::Infinity(),tofCalOnline);
+  tofcalib->WriteSimParOfflineOnCDB("TOF/Calib","valid",0,AliCDBRunRange::Infinity(),tofCalOffline,hToT);
   f.Close();
 }