23 class DumpOpDetBacktrackerRecords;
27 using namespace fhicl;
35 Name(
"InputOpDetBacktrackerRecord"),
36 Comment(
"data product with the OpDetBacktrackerRecord to be dumped")};
39 Name(
"OutputCategory"),
40 Comment(
"name of the output stream (managed by the message facility)"),
41 "DumpOpDetBacktrackerRecords" 78 template <
typename Stream>
82 bool bIndentFirst =
true)
const;
101 template <
typename Stream>
109 if (bIndentFirst) out <<
indent;
110 channel.
Dump(out, indent);
119 *(
event.getValidHandle<std::vector<sim::OpDetBacktrackerRecord>>(
fInputChannels));
125 unsigned int iOpDetBacktrackerRecord = 0;
130 log <<
"[#" << (iOpDetBacktrackerRecord++) <<
"] ";
MaybeLogger_< ELseverityLevel::ELsev_info, true > LogVerbatim
DumpOpDetBacktrackerRecords(Parameters const &config)
Configuration-checking constructor.
EDAnalyzer(fhicl::ParameterSet const &pset)
art::InputTag fInputChannels
name of OpDetBacktrackerRecord's data product
Energy deposited on a readout Optical Detector by simulated tracks.
DumpOpDetBacktrackerRecords & operator=(DumpOpDetBacktrackerRecords const &)=delete
#define DEFINE_ART_MODULE(klass)
void Dump(Stream &&out, std::string indent, std::string first_indent) const
Dumps the full content of the OpDetBacktrackerRecord into a stream.
std::string indent(std::size_t const i)
void analyze(art::Event const &event) override
void DumpOpDetBacktrackerRecord(Stream &&out, sim::OpDetBacktrackerRecord const &simchannel, std::string indent="", bool bIndentFirst=true) const
Dumps the content of the specified OpDetBacktrackerRecord in the output stream.
Event finding and building.
std::string fOutputCategory
name of the stream for output