CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PathTimerInserter.cc
Go to the documentation of this file.
6 
7 using namespace std;
8 
10 {
11  produces<HLTPerformanceInfo>();
12 }
13 
15 {
16 }
17 
18 // Functions that gets called by framework every event
20 {
21 
22  // warning: the trigger results will be cleared as a result of inserting
23  // this object into the event
24 
26  std::auto_ptr<HLTPerformanceInfo> prod=pts->getInfo();
27 
28  e.put(prod);
29 }
30 
virtual ~PathTimerInserter()
static const double pts[33]
Definition: Constants.h:31
virtual void produce(edm::Event &e, edm::EventSetup const &c)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
Definition: Event.h:85
PathTimerInserter(edm::ParameterSet const &ps)
std::auto_ptr< HLTPerformanceInfo > getInfo()