All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Classes | Functions
sbndaq Namespace Reference

Namespaces

 details
 

Classes

class  BernCRTAna
 
class  MetricProducer
 
struct  CRTmetric
 

Functions

details::DumpFragWrap dumpFragment (artdaq::Fragment const &frag)
 Dump a artDAQ fragment into an output stream. More...
 

Function Documentation

sbndaq::details::DumpFragWrap sbndaq::dumpFragment ( artdaq::Fragment const &  frag)

Dump a artDAQ fragment into an output stream.

Parameters
fragfragment to be dumped
Returns
an object that can be inserted in an output stream

This function allows to dump a artDAQ fragment. The actual dump is performed by sbndaq::details::dumpFragment(details::DumpFragWrap).

Example of usage:

artdaq::Fragment const frag;
// ... initialized somehow ...
mf::LogTrace("DecoderTool") << sbndaq::dumpFragment(frag);

This is actually a helper function that just passes the task.

Definition at line 34 of file FragmentDumper.cxx.

35  { return details::DumpFragWrap{ frag }; }