CMS 3D CMS Logo

PathTimerInserter Class Reference

#include <DQM/HLTEvF/interface/PathTimerInserter.h>

Inheritance diagram for PathTimerInserter:

edm::EDProducer edm::ProducerBase edm::ProductRegistryHelper

List of all members.

Public Member Functions

 PathTimerInserter (edm::ParameterSet const &ps)
virtual void produce (edm::Event &e, edm::EventSetup const &c)
virtual ~PathTimerInserter ()


Detailed Description

Definition at line 14 of file PathTimerInserter.h.


Constructor & Destructor Documentation

PathTimerInserter::PathTimerInserter ( edm::ParameterSet const &  ps  )  [explicit]

Definition at line 9 of file PathTimerInserter.cc.

00010 {
00011   produces<HLTPerformanceInfo>();
00012 }

PathTimerInserter::~PathTimerInserter (  )  [virtual]

Definition at line 14 of file PathTimerInserter.cc.

00015 {
00016 }  


Member Function Documentation

void PathTimerInserter::produce ( edm::Event e,
edm::EventSetup const &  c 
) [virtual]

Implements edm::EDProducer.

Definition at line 19 of file PathTimerInserter.cc.

References edm::Event::put().

00020 {
00021   
00022   // warning: the trigger results will be cleared as a result of inserting 
00023   // this object into the event
00024   
00025   edm::Service<edm::service::PathTimerService> pts;
00026   std::auto_ptr<HLTPerformanceInfo> prod=pts->getInfo();
00027 
00028   e.put(prod);
00029 }


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:29:28 2009 for CMSSW by  doxygen 1.5.4