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 1c49f03ed08aad920befd401f12657dea324a5aa..1d98c683fe199d9b2c9a432350fedccfe4bf93a1 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 ca75e18d2d4274b39fd10ad539182f1ea7e9a84c..e05e0473a6e43b51321726225f80a5423c8039bf 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.