$treeview $search $mathjax $extrastylesheet
artdaq_demo  v3_04_00
$projectbrief
$projectbrief
$searchbox

demo::ToyDump Class Reference

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

List of all members.

Public Member Functions

 ToyDump (fhicl::ParameterSet const &pset)
 ToyDump Constructor.
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).

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:
pset ParamterSet 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:
evt The 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:

Generated on 7 Mar 2019 for artdaq_demo by  doxygen 1.6.1