artdaq  v3_00_01
artdaq::PrintBuildInfo Class Reference

An art::EDAnalyzer which prints any artdaq::BuildInfo objects stored in the run. More...

Inheritance diagram for artdaq::PrintBuildInfo:

Public Member Functions

 PrintBuildInfo (fhicl::ParameterSet const &p)
 PrintBuildInfo Constructor. More...
 
virtual ~PrintBuildInfo ()=default
 Default virtual Destructor.
 
void analyze (art::Event const &) override
 Called for each event. Required overload for art::EDAnalyzer, No-Op here.
 
void beginRun (art::Run const &run) override
 Perform actions at the beginning of the run. More...
 

Detailed Description

An art::EDAnalyzer which prints any artdaq::BuildInfo objects stored in the run.

Definition at line 32 of file PrintBuildInfo_module.cc.

Constructor & Destructor Documentation

artdaq::PrintBuildInfo::PrintBuildInfo ( fhicl::ParameterSet const &  p)
explicit

PrintBuildInfo Constructor.

Parameters
pParameterSet used to configure PrintBuildInfo
* PrintBuildInfo accepts the following Parameters:
* "buildinfo_module_label" (REQUIRED): The module label for the BuildInfo objects
* "buildinfo_instance_label" (REQUIRED): The instance label for the BuildInfo objects
* 

These parameters should match those given to the BuildInfo module

Definition at line 75 of file PrintBuildInfo_module.cc.

Member Function Documentation

void artdaq::PrintBuildInfo::beginRun ( art::Run const &  run)
override

Perform actions at the beginning of the run.

Parameters
runart::Run object

This function pretty-prints the BuildInfo information form the run object with the configured module label and instance label.

Definition at line 83 of file PrintBuildInfo_module.cc.


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