25 class DumpOpDetBacktrackerRecords;
29 using namespace fhicl;
37 Name(
"InputOpDetBacktrackerRecord"),
38 Comment(
"data product with the OpDetBacktrackerRecord to be dumped")
42 Name(
"OutputCategory"),
43 Comment(
"name of the output stream (managed by the message facility)"),
44 "DumpOpDetBacktrackerRecords" 85 template <
typename Stream>
112 template <
typename Stream>
117 if (bIndentFirst) out <<
indent;
118 channel.
Dump(out, indent);
127 = *(
event.getValidHandle<std::vector<sim::OpDetBacktrackerRecord>>(
fInputChannels));
133 unsigned int iOpDetBacktrackerRecord = 0;
138 log <<
"[#" << (iOpDetBacktrackerRecord++) <<
"] ";
MaybeLogger_< ELseverityLevel::ELsev_info, true > LogVerbatim
ChannelGroupService::Name Name
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
typename config_impl< T >::type Config
#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.
void analyze(art::Event const &event) override
Code to link reconstructed objects back to the MC truth information.
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