Dumps on console the content of sbn::PMTconfiguration
data product.
More...
Classes | |
struct | Config |
Public Types | |
using | Parameters = art::EDAnalyzer::Table< Config > |
Public Member Functions | |
DumpPMTconfiguration (Parameters const &config) | |
virtual void | beginRun (art::Run const &run) override |
Dumps the data product. More... | |
virtual void | analyze (art::Event const &event) override |
Does nothing, but it is mandatory. More... | |
Private Attributes | |
art::InputTag const | fPMTconfigurationTag |
Input PMT configuration tag. More... | |
unsigned int const | fVerbosity |
Verbosity level used for dumping. More... | |
bool const | fSkipDuplicateRuns |
Print only once from each run. More... | |
std::string const | fOutputCategory |
Category used for message facility stream. More... | |
std::set< art::RunID > | fRuns |
Set of runs already encountered. More... | |
Dumps on console the content of sbn::PMTconfiguration
data product.
sbn::PMTconfiguration
: configuration of PMT in art::Run
data product. See e.g. icarus::PMTconfigurationExtraction
module.A terse description of the parameters is printed by running lar --print-description DumpPMTconfiguration
.
PMTconfigurationTag
(data product input tag): the tag identifying the data product to dump; this data product must be in art::Run
.Verbosity
(integral, default: maximum): verbosity level used in the dump; see sbn::PMTconfiguration::dump()
for details.SkipDuplicateRuns
(flag, default: true
): multiple files can contain information from the same run; with this flag set, only the first time a run is encountered its PMT configuration is dumped; otherwise, each time a run is opened by art, its configuration is printed.OutputCategory
(string, default: DumpPMTconfiguration
): name of the message facility output stream to dump the information into Definition at line 60 of file DumpPMTconfiguration_module.cc.
using sbn::DumpPMTconfiguration::Parameters = art::EDAnalyzer::Table<Config> |
Definition at line 95 of file DumpPMTconfiguration_module.cc.
|
explicit |
Definition at line 143 of file DumpPMTconfiguration_module.cc.
|
inlineoverridevirtual |
Does nothing, but it is mandatory.
Definition at line 111 of file DumpPMTconfiguration_module.cc.
|
overridevirtual |
Dumps the data product.
Definition at line 158 of file DumpPMTconfiguration_module.cc.
|
private |
Category used for message facility stream.
Definition at line 127 of file DumpPMTconfiguration_module.cc.
|
private |
Input PMT configuration tag.
Definition at line 120 of file DumpPMTconfiguration_module.cc.
|
private |
Set of runs already encountered.
Definition at line 132 of file DumpPMTconfiguration_module.cc.
|
private |
Print only once from each run.
Definition at line 124 of file DumpPMTconfiguration_module.cc.
|
private |
Verbosity level used for dumping.
Definition at line 122 of file DumpPMTconfiguration_module.cc.