56 Name{
"OpHitModuleLabel"},
57 Comment{
"tag of the recob::OpHit collection to be dumped"}};
60 Name(
"OutputCategory"),
61 Comment(
"the messagefacility category used for the output"),
96 auto const& OpHits =
event.getProduct<std::vector<recob::OpHit>>(
fOpHitModuleTag);
MaybeLogger_< ELseverityLevel::ELsev_info, true > LogVerbatim
Definition of util::enumerate().
DumpOpHits(Parameters const &config)
Default constructor.
EDAnalyzer(fhicl::ParameterSet const &pset)
auto enumerate(Iterables &&...iterables)
Range-for loop helper tracking the number of iteration.
Prints the content of all the hits on screen.
#define DEFINE_ART_MODULE(klass)
fhicl::Atom< std::string > OutputCategory
void analyze(const art::Event &evt) override
Does the printing.
Detector simulation of raw signals on wires.
std::string const fOutputCategory
Category for mf::LogInfo output.
fhicl::Atom< art::InputTag > OpHitModuleLabel
Event finding and building.
art::InputTag const fOpHitModuleTag
Optical hit data product tag.