Online Channel status implemented as UChar_t
authorzampolli <zampolli@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 24 Nov 2007 14:59:44 +0000 (14:59 +0000)
committerzampolli <zampolli@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 24 Nov 2007 14:59:44 +0000 (14:59 +0000)
TOF/CreateIdealOnlineCalibPars.C
TOF/CreateOnlineCalibPars.C

index 9848f60..f6cecff 100644 (file)
@@ -13,6 +13,7 @@ void CreateIdealOnlineCalibPars(){
     AliTOFChannelOnline *calChannelOnline = (AliTOFChannelOnline*)tofCalOnline->At(ipad);
     Float_t delay = 0.;
     calChannelOnline->SetDelay(delay);
+    calChannelOnline->SetStatus(AliTOFChannelOnline::kTOFOnlineOk);
   }
   tofcalib->WriteParOnlineOnCDB("TOF/Calib");
   return;
index 3b14b85..aab5dcc 100644 (file)
@@ -17,6 +17,7 @@ void CreateOnlineCalibPars(){
     AliTOFChannelOnline *calChannelOnline = (AliTOFChannelOnline*)tofCalOnline->At(ipad);
     delay = rnd->Gaus(meanDelay,sigmaDelay);
     calChannelOnline->SetDelay(delay);
+    calChannelOnline->SetStatus(AliTOFChannelOnline::kTOFOnlineOk);
   }
   tofcalib->WriteParOnlineOnCDB("TOF/Calib");
   return;