Dumps on console the content of artdaq::Fragment
collections.
More...
Classes | |
struct | Config |
Public Types | |
using | Parameters = art::EDAnalyzer::Table< Config > |
Public Member Functions | |
DumpArtDAQfragments (Parameters const &config) | |
virtual void | analyze (art::Event const &event) override |
Does nothing, but it is mandatory. More... | |
Private Member Functions | |
std::vector< art::ProductToken < artdaq::Fragments > > | getFragmentTokens (std::vector< art::InputTag > const &tags) |
Get art tokens for specified input data products. More... | |
void | dumpFragments (art::Event const &event, art::InputTag const &inputTag, art::ProductToken< artdaq::Fragments > const &inputToken) const |
Dumps a single fragment collection. More... | |
Private Attributes | |
std::vector< art::InputTag > const | fInputTags |
Input data tokens. More... | |
std::vector< art::ProductToken < artdaq::Fragments > > const | fInputTokens |
Input data tokens. More... | |
std::string const | fOutputCategory |
Category used for message facility stream. More... | |
Dumps on console the content of artdaq::Fragment
collections.
std::vector<artdaq::Fragment>
: data to be dumped; the dump is binary, and it does not attempt an interpretation of the content of the fragment (in future, it could at least attempt unpacking the container fragments).A terse description of the parameters is printed by running lar --print-description DumpArtDAQfragments
.
FragmentTags
(list of data product input tags): the tags identifying the data products to dump.OutputCategory
(string, default: DumpArtDAQfragments
): name of the message facility output stream to dump the information into Definition at line 62 of file DumpArtDAQfragments_module.cc.
using sbn::DumpArtDAQfragments::Parameters = art::EDAnalyzer::Table<Config> |
Definition at line 85 of file DumpArtDAQfragments_module.cc.
|
explicit |
Definition at line 139 of file DumpArtDAQfragments_module.cc.
|
overridevirtual |
Does nothing, but it is mandatory.
Definition at line 151 of file DumpArtDAQfragments_module.cc.
|
private |
Dumps a single fragment collection.
Definition at line 162 of file DumpArtDAQfragments_module.cc.
|
private |
Get art tokens for specified input data products.
Definition at line 192 of file DumpArtDAQfragments_module.cc.
|
private |
Input data tokens.
Definition at line 108 of file DumpArtDAQfragments_module.cc.
|
private |
Input data tokens.
Definition at line 111 of file DumpArtDAQfragments_module.cc.
|
private |
Category used for message facility stream.
Definition at line 114 of file DumpArtDAQfragments_module.cc.