daq::DaqDecoderICARUSPMT::DaqDecoderICARUSPMT |
( |
Parameters const & |
params | ) |
|
|
explicit |
Definition at line 104 of file DaqDecoderICARUSPMTnotThatOld_module.cc.
105 : art::EDProducer{params}
110 (params().DecoderTool.get<fhicl::ParameterSet>());
std::unique_ptr< IDecoder > fDecoderTool
Decoder tools.
bool const fSurviveExceptions
art::InputTag const fInputTag
void daq::DaqDecoderICARUSPMT::beginRun |
( |
art::Run & |
run | ) |
|
|
override |
void daq::DaqDecoderICARUSPMT::produce |
( |
art::Event & |
e | ) |
|
|
override |
Definition at line 127 of file DaqDecoderICARUSPMTnotThatOld_module.cc.
139 auto const& fragments =
event.getProduct<artdaq::Fragments>(
fInputTag);
142 if (!fragments.empty())
144 for (
auto const &rawFrag: fragments)
fDecoderTool->process_fragment(rawFrag);
147 catch(cet::exception
const&
e) {
149 std::cout <<
"DaqDecoderICARUSPMT: Did not find daq data products to decode:"
150 <<
"\n" << e.what() << std::endl;
155 std::cout <<
"DaqDecoderICARUSPMT: Did not find daq data products to decode" << std::endl;
std::unique_ptr< IDecoder > fDecoderTool
Decoder tools.
bool const fSurviveExceptions
art::InputTag const fInputTag
BEGIN_PROLOG could also be cout
std::unique_ptr<IDecoder> daq::DaqDecoderICARUSPMT::fDecoderTool |
|
private |
art::InputTag const daq::DaqDecoderICARUSPMT::fInputTag |
|
private |
bool const daq::DaqDecoderICARUSPMT::fSurviveExceptions |
|
private |
The documentation for this class was generated from the following file: