#include <PathTimerInserter.h>
Public Member Functions | |
PathTimerInserter (edm::ParameterSet const &ps) | |
virtual void | produce (edm::Event &e, edm::EventSetup const &c) |
virtual | ~PathTimerInserter () |
Definition at line 14 of file PathTimerInserter.h.
PathTimerInserter::PathTimerInserter | ( | edm::ParameterSet const & | ps | ) | [explicit] |
Definition at line 9 of file PathTimerInserter.cc.
{ produces<HLTPerformanceInfo>(); }
PathTimerInserter::~PathTimerInserter | ( | ) | [virtual] |
Definition at line 14 of file PathTimerInserter.cc.
{ }
void PathTimerInserter::produce | ( | edm::Event & | e, |
edm::EventSetup const & | c | ||
) | [virtual] |
Implements edm::EDProducer.
Definition at line 19 of file PathTimerInserter.cc.
References parseEventContent::prod, RPCpg::pts, and edm::Event::put().
{ // warning: the trigger results will be cleared as a result of inserting // this object into the event edm::Service<edm::service::PathTimerService> pts; std::auto_ptr<HLTPerformanceInfo> prod=pts->getInfo(); e.put(prod); }