artdaq_demo  v3_00_01
demo::ToyDump Class Reference

An art::EDAnalyzer module designed to display the data from demo::ToyFragment objects. More...

Inheritance diagram for demo::ToyDump:

Public Member Functions

 ToyDump (fhicl::ParameterSet const &pset)
 ToyDump Constructor. More...
 
virtual ~ToyDump ()
 ToyDump Destructor.
 
virtual void analyze (art::Event const &evt)
 Analyze an event. Called by art for each event in run (based on command line options) More...
 

Detailed Description

An art::EDAnalyzer module designed to display the data from demo::ToyFragment objects.

Definition at line 35 of file ToyDump_module.cc.

Constructor & Destructor Documentation

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

ToyDump Constructor.

Parameters
psetParamterSet used to configure ToyDump
* ToyDump accepts the following Parameters:
* "raw_data_label" (Default: "daq"): The label used to identify artdaq data
* "num_adcs_to_show" (Default: 0): How many ADCs to print from each ToyFragment
* "dump_to_file" (Default: true): Whether to write data to a binary file "out.bin"
* "dump_to_screen" (Default: false): Whether to write data to stdout
* "columns_to_display_on_screen" (Default: 10): How many ADC values to print in each row when writing to stdout
* 

Definition at line 73 of file ToyDump_module.cc.

Member Function Documentation

void demo::ToyDump::analyze ( art::Event const &  evt)
virtual

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

Parameters
evtThe art::Event object to dump ToyFragments from

Definition at line 83 of file ToyDump_module.cc.


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