Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
DQM
HLTEvF
plugins
PathTimerInserter.cc
Go to the documentation of this file.
1
#include "
DQM/HLTEvF/interface/PathTimerInserter.h
"
2
#include "
FWCore/Framework/interface/Event.h
"
3
#include "
FWCore/ServiceRegistry/interface/Service.h
"
4
#include "
DQM/HLTEvF/interface/PathTimerService.h
"
5
#include "
DataFormats/HLTReco/interface/HLTPerformanceInfo.h
"
6
7
using namespace
std;
8
9
PathTimerInserter::PathTimerInserter
(
const
edm::ParameterSet
& pset)
10
{
11
produces<HLTPerformanceInfo>();
12
}
13
14
PathTimerInserter::~PathTimerInserter
()
15
{
16
}
17
18
// Functions that gets called by framework every event
19
void
PathTimerInserter::produce
(
edm::Event
&
e
,
edm::EventSetup
const
&)
20
{
21
22
// warning: the trigger results will be cleared as a result of inserting
23
// this object into the event
24
25
edm::Service<edm::service::PathTimerService>
pts
;
26
std::auto_ptr<HLTPerformanceInfo>
prod
=pts->
getInfo
();
27
28
e.
put
(prod);
29
}
30
PathTimerInserter::~PathTimerInserter
virtual ~PathTimerInserter()
Definition:
PathTimerInserter.cc:14
edm::Service
Definition:
Service.h:31
Event.h
HLTPerformanceInfo.h
RPCpg::pts
static const double pts[33]
Definition:
Constants.h:31
PathTimerInserter::produce
virtual void produce(edm::Event &e, edm::EventSetup const &c)
Definition:
PathTimerInserter.cc:19
PathTimerInserter.h
edm::Event::put
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
Definition:
Event.h:94
Service.h
edm::EventSetup
Definition:
EventSetup.h:44
alignCSCRings.e
list e
Definition:
alignCSCRings.py:90
PathTimerService.h
edm::ParameterSet
Definition:
ParameterSet.h:35
edm::Event
Definition:
Event.h:56
PathTimerInserter::PathTimerInserter
PathTimerInserter(edm::ParameterSet const &ps)
Definition:
PathTimerInserter.cc:9
edm::service::PathTimerService::getInfo
std::auto_ptr< HLTPerformanceInfo > getInfo()
Definition:
PathTimerService.h:29
parseEventContent.prod
dictionary prod
Definition:
parseEventContent.py:153
Generated for CMSSW Reference Manual by
1.8.5