]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RALICE/icepack/iceconvert/IceRoot.cxx
07-jun-2007 GdV OM readout type also updated from the data contents in IceRoot.cxx.
[u/mrichter/AliRoot.git] / RALICE / icepack / iceconvert / IceRoot.cxx
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;