13-nov-2007 GdV Bug fix in IceRoot by completely re-building the Daq device.
authornick <nick@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 13 Nov 2007 12:05:56 +0000 (12:05 +0000)
committernick <nick@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 13 Nov 2007 12:05:56 +0000 (12:05 +0000)
RALICE/icepack/iceconvert/IceRoot.cxx
RALICE/icepack/iceconvert/history.txt

index a354f8ac6133127a75205ba3f5e10d19f2622d2b..545df563687569b83df8d0d233e80dd18f397f5d 100644 (file)
@@ -297,9 +297,7 @@ void IceRoot::Exec(Option_t* opt)
 
  // Set DAQ device info
  AliDevice daq;
- daq.SetName("Daq");
- daq.AddNamedSlot("JEB");
- daq.AddNamedSlot("TWR");
+ daq.SetNameTitle("Daq","Daq system used");
 
  // Trigger device
  AliDevice trig;
@@ -475,8 +473,14 @@ void IceRoot::Exec(Option_t* opt)
 
     // Daq: JEB for 2007 and later, TWR for 2006 and earlier
     daq.Reset(1);
-    if(evt->GetDate()/10000 >= 2007)daq.SetSignal(1,"JEB");
-    else daq.SetSignal(1,"TWR");
+    if(evt->GetDate()/10000 >= 2007){
+     daq.AddNamedSlot("JEB");
+     daq.SetSignal(1,"JEB");
+    }
+    else {
+     daq.AddNamedSlot("TWR");
+     daq.SetSignal(1,"TWR");
+    }
     evt->AddDevice(daq);
 
     // Store trigger information
index 9cadae962af0317962c6103860d83e27f5a6b8b2..432d8ff9f9795619a33f42e2fa0b88f0b66e5bda 100644 (file)
                 is kept to enable processing of the old walnut format (if needed).
                 The class IceRoot has been updated so that it matches the new walnut
                 data format.
+13-nov-2007 GdV Bug fix in IceRoot by completely re-building the Daq device.