07-jun-2007 GdV OM readout type also updated from the data contents in IceRoot.cxx.
authornick <nick@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 7 Jun 2007 15:54:39 +0000 (15:54 +0000)
committernick <nick@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 7 Jun 2007 15:54:39 +0000 (15:54 +0000)
RALICE/icepack/iceconvert/IceRoot.cxx
RALICE/icepack/iceconvert/history.txt

index 1c49f03..1d98c68 100644 (file)
@@ -457,6 +457,12 @@ void IceRoot::Exec(Option_t* opt)
    omx->AddNamedSlot(hname);
    omx->SetSignal(baseline,hname);
 
+   // Store readout type
+   omx->AddNamedSlot("READOUT");
+   if(type==0) omx->SetSignal(1,"READOUT");       // Electrical
+   else if(type==1) omx->SetSignal(2,"READOUT");  // Optical
+   else omx->SetSignal(0,"READOUT");              // Unknown
+
    // Fill the waveform histogram with this fragment
    hname="OM";
    hname+=omid;
index ca75e18..e05e047 100644 (file)
                 Also new OM slotname "READOUT" introduced in IceCal2Root, IceF2k and IceRawTWR
                 to identify electrical, optical and digital readout based on the Dbase info
                 and/or actual settings in the various data files (headers). 
+07-jun-2007 GdV OM readout type also updated from the data contents in IceRoot.cxx.