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 a354f8a..545df56 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 9cadae9..432d8ff 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.