artdaq  v3_08_00
artdaq::FragmentWatcher Class Reference

An art::EDAnalyzer module which checks events for certain error conditions (missing fragments, empty fragments, etc) More...

Inheritance diagram for artdaq::FragmentWatcher:

Public Member Functions

 FragmentWatcher (fhicl::ParameterSet const &pset)
 FragmentWatcher Constructor. More...
 
virtual ~FragmentWatcher ()
 Virtual Destructor. Shuts down MetricManager if one is present.
 
virtual void analyze (art::Event const &evt)
 Analyze each event, using the configured mode bitmask. More...
 

Detailed Description

An art::EDAnalyzer module which checks events for certain error conditions (missing fragments, empty fragments, etc)

Definition at line 30 of file FragmentWatcher_module.cc.

Constructor & Destructor Documentation

artdaq::FragmentWatcher::FragmentWatcher ( fhicl::ParameterSet const &  pset)
explicit

FragmentWatcher Constructor.

Parameters
psetParameterSet used to configure FragmentWatcher

FragmentWatcher accepts the following Parameters: mode_bitmask (default: 0x1): Mask of modes to use. BASIC_COUNTS_MODE = 0, FRACTIONAL_COUNTS_MODE = 1, DETAILED_COUNTS_MODE = 2 metrics_reporting_level (default: 1): Level to use for metrics reporting metrics: A artdaq::MetricManager::Config ParameterSet used to configure MetricManager reporting for this module

Definition at line 76 of file FragmentWatcher_module.cc.

Member Function Documentation

void artdaq::FragmentWatcher::analyze ( art::Event const &  evt)
virtual

Analyze each event, using the configured mode bitmask.

Parameters
evtart::Event to analyze

Definition at line 105 of file FragmentWatcher_module.cc.


The documentation for this class was generated from the following file: