artdaq_demo  v3_06_00
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 37 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_print" (Default: 10): How many ADCs to print to screen from each ToyFragment (-1 to disable, 0 for all)
* "num_adcs_to_write" (Default: 0): How many ADCs to write to file from each ToyFragment (-1 to disable, 0 for all)
* "output_file_name" (Default: "out.bin"): File to write ADC values to
* "binary_mode" (Default: true): Whether to write output in binary (true) or as tab-delimited ASCII text (false)
* "columns_to_display_on_screen" (Default: 10): How many ADC values to print in each row when writing to stdout
* 

Definition at line 77 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 89 of file ToyDump_module.cc.


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