artdaq_demo  3.12.04
demo::CheckIntegrity Class Reference

Demonstration art::EDAnalyzer which checks that all ToyFragment ADC counts are in the defined range. More...

Inheritance diagram for demo::CheckIntegrity:

Public Member Functions

 CheckIntegrity (fhicl::ParameterSet const &pset)
 CheckIntegrity Constructor. More...
 
 ~CheckIntegrity () override=default
 Default destructor.
 
void analyze (art::Event const &evt) override
 Analyze an event. Called by art for each event in run (based on command line options) More...
 

Detailed Description

Demonstration art::EDAnalyzer which checks that all ToyFragment ADC counts are in the defined range.

Definition at line 37 of file CheckIntegrity_module.cc.

Constructor & Destructor Documentation

demo::CheckIntegrity::CheckIntegrity ( fhicl::ParameterSet const &  pset)
explicit

CheckIntegrity Constructor.

Parameters
psetParameterSet used to configure CheckIntegrity

CheckIntegrity has the following paramters: "raw_data_label" (Default: "daq"): The label applied to data (usually "daq") "exception_on_integrity_failure" (Default: false): Whether to throw an exception (abort processing) if an integrity issue is found

Definition at line 72 of file CheckIntegrity_module.cc.

Member Function Documentation

void demo::CheckIntegrity::analyze ( art::Event const &  evt)
override

Analyze an event. Called by art for each event in run (based on command line options)

Parameters
evtThe art::Event object containing ToyFragments to check

Definition at line 78 of file CheckIntegrity_module.cc.


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