LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
TriggerResultInserter.cc
Go to the documentation of this file.
2 // vim: set sw=2 expandtab :
3 
8 
9 #include <memory>
10 #include <sstream>
11 #include <utility>
12 
13 namespace art {
14 
16  ScheduleID const sid,
17  HLTGlobalStatus& pathResults)
19  , pset_id_{pset.id()}
20  , trptr_{&pathResults}
21  {
22  TDEBUG_FUNC_SI(5, sid) << std::hex << this << std::dec;
23  produces<TriggerResults>();
24  }
25 
26  void
28  {
29  auto tr = std::make_unique<TriggerResults>(*trptr_, pset_id_);
30  e.put(std::move(tr));
31  }
32 
33 } // namespace art
PutHandle< PROD > put(std::unique_ptr< PROD > &&edp, std::string const &instance={})
Definition: Event.h:77
#define TDEBUG_FUNC_SI(LEVEL, SI)
cet::exempt_ptr< HLTGlobalStatus > trptr_
TriggerResultInserter(fhicl::ParameterSet const &, ScheduleID const, HLTGlobalStatus &)
void produce(Event &, ProcessingFrame const &) override
Definition: MVAAlg.h:12
Float_t e
Definition: plot.C:35
fhicl::ParameterSetID pset_id_