Extracts and saves the time coverage of optical detector waveforms. More...
Classes | |
struct | Config |
Public Types | |
using | Parameters = art::SharedProducer::Table< Config > |
Public Member Functions | |
OpDetWaveformMetaMaker (Parameters const &config, art::ProcessingFrame const &) | |
virtual void | produce (art::Event &event, art::ProcessingFrame const &) override |
Fills the plots. Also extracts the information to fill them with. More... | |
Private Attributes | |
art::InputTag const | fWaveformTag |
Input waveforms. More... | |
std::string const | fLogCategory |
Message facility stream category for output. More... | |
Extracts and saves the time coverage of optical detector waveforms.
This module writes a list of sbn::OpDetWaveformMeta
objects matching the information of each optical detector waveform.
It may be used as input to modules which require all the information of a PMT waveform except the actual content of the waveform. For such uses, the large waveforms may be dropped and this summary information be kept instead.
This module acts on a selection of tracks, which implies that the input is a set of pointers to tracks rather than to an actual track collection. For each track, an associated time is required.
std::vector<raw::OpDetWaveform>
(tag from Waveforms
): all optical detector waveforms to extract the information fromstd::vector<sbn::OpDetWaveformMeta>
: a collection parallel to the input one (from data product configured by Waveforms
) with the summary information on each of them; also an explicit courtesy association art::Assns<sbn::OpDetWaveformMeta, raw::OpDetWaveform>
for uses where order is not preserved. The times in these objects are on the same scale as the ones in the source data product, which is expected to be electronics time scale [us].A terse online description of the parameters is printed by running lar --print-description OpDetWaveformMetaMaker
.
Waveforms
(input tag, mandatory): the list of optical detector waveforms to be processed.LogCategory
(string, default: OpDetWaveformMetaMaker
): name of the output stream category for console messages (managed by MessageFacility library). Definition at line 93 of file OpDetWaveformMetaMaker_module.cc.
using icarus::trigger::OpDetWaveformMetaMaker::Parameters = art::SharedProducer::Table<Config> |
Definition at line 118 of file OpDetWaveformMetaMaker_module.cc.
|
explicit |
Definition at line 168 of file OpDetWaveformMetaMaker_module.cc.
|
overridevirtual |
Fills the plots. Also extracts the information to fill them with.
Definition at line 197 of file OpDetWaveformMetaMaker_module.cc.
|
private |
Message facility stream category for output.
Definition at line 146 of file OpDetWaveformMetaMaker_module.cc.
|
private |
Input waveforms.
Definition at line 143 of file OpDetWaveformMetaMaker_module.cc.