daq::DaqDecoderICARUSTrigger::DaqDecoderICARUSTrigger |
( |
fhicl::ParameterSet const & |
p | ) |
|
|
explicit |
Definition at line 48 of file DaqDecoderICARUSTrigger_module.cc.
48 : art::EDProducer{params},
fInputTag(params.get<std::string>(
"FragmentsLabel",
"daq:ICARUSTriggerUDP"))
52 fDecoderTool = art::make_tool<IDecoder>(params.get<fhicl::ParameterSet>(
"DecoderTool"));
std::unique_ptr< IDecoder > fDecoderTool
void daq::DaqDecoderICARUSTrigger::beginRun |
( |
art::Run & |
run | ) |
|
|
override |
void daq::DaqDecoderICARUSTrigger::produce |
( |
art::Event & |
e | ) |
|
|
override |
Definition at line 64 of file DaqDecoderICARUSTrigger_module.cc.
67 auto const & daq_handle =
event.getValidHandle<artdaq::Fragments>(
fInputTag);
68 if(daq_handle.isValid() && daq_handle->size() > 0)
70 for (
auto const & rawFrag: *daq_handle)
fDecoderTool->process_fragment(rawFrag);
73 std::cout <<
"No Trigger Fragment Information Found!" << std::endl;
std::unique_ptr< IDecoder > fDecoderTool
BEGIN_PROLOG could also be cout
std::unique_ptr<IDecoder> daq::DaqDecoderICARUSTrigger::fDecoderTool |
|
private |
art::InputTag daq::DaqDecoderICARUSTrigger::fInputTag |
|
private |
The documentation for this class was generated from the following file: