Mu2e / otsdaq_mu2e

Mu2e customizations for otsdaq
Other
1 stars 5 forks source link

home for CFO ::halt method ? #105

Open pavel1murat opened 4 weeks ago

pavel1murat commented 4 weeks ago

I think, this (::halt method) logically belongs to CFOLib::CFO, not to the high-level interface...

//==============================================================================
void CFOFrontEndInterface::halt(void)
{
    __FE_COUT__ << "HALT: CFO status" << __E__;

    thisCFO_->DisableBeamOffMode(CFOLib::CFO_Link_ID::CFO_Link_ALL);

    // if(regWriteMonitorStream_.is_open())
    // {
    //  regWriteMonitorStream_ << "Timestamp: " << std::dec << time(0) << 
    //      ", \t ---------- Halting..." << "\n";
    //  regWriteMonitorStream_.flush();
    // }

    // readStatus();
}