CbmRoot
CbmFormatMsHeaderPrintout.cxx File Reference
Include dependency graph for CbmFormatMsHeaderPrintout.cxx:

Go to the source code of this file.

Functions

std::string FormatMsHeaderPrintout (const fles::MicrosliceDescriptor &msDescriptor)
 
std::ostream & operator<< (std::ostream &os, const fles::MicrosliceDescriptor &msDescriptor)
 

Function Documentation

◆ FormatMsHeaderPrintout()

std::string FormatMsHeaderPrintout ( const fles::MicrosliceDescriptor &  msDescriptor)

Replaces the following block of code which generate warnings depending on the OS LOG(info) << "hi hv eqid flag si sv idx/start crc size offset"; LOG(info) << Form( "%02x %02x %04x %04x %02x %02x %016llx %08x %08x %016llx", static_cast<unsigned int>(msDescriptor.hdr_id), static_cast<unsigned int>(msDescriptor.hdr_ver), msDescriptor.eq_id, msDescriptor.flags, static_cast<unsigned int>(msDescriptor.sys_id), static_cast<unsigned int>(msDescriptor.sys_ver), msDescriptor.idx, msDescriptor.crc, msDescriptor.size, msDescriptor.offset ); Derived/inspired by the Flesnet MicrosliceDescriptorDump class (Found in TimesliceDebugger.xpp)

Definition at line 5 of file CbmFormatMsHeaderPrintout.cxx.

Referenced by CbmMcbm2018RawConverterGdpb::DoUnpack(), CbmMcbm2018RawConverterSdpb::DoUnpack(), CbmMcbm2018MonitorDataRates::DoUnpack(), CbmMcbm2018MonitorSts::DoUnpack(), CbmMcbm2018TofFeeThr::DoUnpack(), CbmMcbm2018TofTestFee::DoUnpack(), CbmCheckDataFormatGdpb2018::DoUnpack(), CbmMcbm2018MonitorTof::DoUnpack(), CbmMcbm2018MonitorTofPulser::DoUnpack(), CbmMcbm2018MonitorMuchLite::DoUnpack(), CbmMcbm2018UnpackerAlgoPsd::ProcessMs(), CbmStar2019MonitorPulserAlgo::ProcessMs(), CbmStar2019MonitorAlgo::ProcessMs(), CbmMcbm2018MonitorAlgoTofPulser::ProcessMs(), CbmMcbm2018MonitorAlgoTof::ProcessMs(), CbmMcbm2018MonitorAlgoPsd::ProcessMs(), CbmMcbm2018UnpackerAlgoTof::ProcessMs(), CbmMcbm2018MonitorAlgoT0::ProcessMs(), CbmMcbm2018MonitorAlgoHodo::ProcessMs(), CbmMcbm2018UnpackerAlgoHodo::ProcessMs(), CbmMcbm2018UnpackerAlgoMuch::ProcessMs(), CbmMcbm2018UnpackerAlgoSts::ProcessMs(), CbmMcbm2018MonitorMuchLite::ProcessMuchMs(), CbmMcbm2018MonitorMcbmRate::ProcessStsMs(), CbmMcbm2018MonitorSts::ProcessStsMs(), CbmMcbm2018MonitorMcbmRate::ProcessTofMs(), and CbmMcbm2018MsCrcCheck::Run().

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
const fles::MicrosliceDescriptor &  msDescriptor 
)

Definition at line 21 of file CbmFormatMsHeaderPrintout.cxx.