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(move(tr));
31  }
32 
33 } // namespace art
QTextStream & hex(QTextStream &s)
const double e
def move(depos, offset)
Definition: depos.py:107
ProductID put(std::unique_ptr< PROD > &&edp, std::string const &instance={})
Definition: DataViewImpl.h:686
#define TDEBUG_FUNC_SI(LEVEL, SI)
QTextStream & dec(QTextStream &s)
cet::exempt_ptr< HLTGlobalStatus > trptr_
TriggerResultInserter(fhicl::ParameterSet const &, ScheduleID const, HLTGlobalStatus &)
void produce(Event &, ProcessingFrame const &) override
fhicl::ParameterSetID pset_id_