|
using | Parameters = art::EDAnalyzer::Table< Config > |
|
sim::DumpOpDetBacktrackerRecords::DumpOpDetBacktrackerRecords |
( |
Parameters const & |
config | ) |
|
|
explicit |
Configuration-checking constructor.
Definition at line 104 of file DumpOpDetBacktrackerRecords_module.cc.
art::InputTag fInputChannels
name of OpDetBacktrackerRecord's data product
std::string fOutputCategory
name of the stream for output
void sim::DumpOpDetBacktrackerRecords::analyze |
( |
art::Event const & |
event | ) |
|
|
override |
Definition at line 123 of file DumpOpDetBacktrackerRecords_module.cc.
126 auto const& OpDetBacktrackerRecord
127 = *(
event.getValidHandle<std::vector<sim::OpDetBacktrackerRecord>>(
fInputChannels));
130 <<
" : data product '" <<
fInputChannels.encode() <<
"' contains "
131 << OpDetBacktrackerRecord.size() <<
" OpDetBacktrackerRecord";
133 unsigned int iOpDetBacktrackerRecord = 0;
138 log <<
"[#" << (iOpDetBacktrackerRecord++) <<
"] ";
art::InputTag fInputChannels
name of OpDetBacktrackerRecord's data product
Energy deposited on a readout Optical Detector by simulated tracks.
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.
std::string fOutputCategory
name of the stream for output
template<typename Stream >
void sim::DumpOpDetBacktrackerRecords::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.
- Template Parameters
-
Stream | the type of output stream |
- Parameters
-
out | the output stream |
simchannel | the OpDetBacktrackerRecord to be dumped |
indent | base indentation string (default: none) |
bIndentFirst | if first output line should be indented (default: yes) |
The indent string is prepended to every line of output, with the possible exception of the first one, in case bIndentFirst is true.
The output starts on the current line, and the last line is NOT broken.
Definition at line 113 of file DumpOpDetBacktrackerRecords_module.cc.
117 if (bIndentFirst) out << indent;
118 channel.Dump(out, indent);
art::InputTag sim::DumpOpDetBacktrackerRecords::fInputChannels |
|
private |
std::string sim::DumpOpDetBacktrackerRecords::fOutputCategory |
|
private |
The documentation for this class was generated from the following file: