Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
FWCore
Framework
src
TriggerResultInserter.cc
Go to the documentation of this file.
1
2
#include "
FWCore/Framework/src/TriggerResultInserter.h
"
3
#include "
DataFormats/Common/interface/TriggerResults.h
"
4
#include "
FWCore/Framework/interface/Event.h
"
5
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
6
7
#include <memory>
8
9
namespace
edm
10
{
11
TriggerResultInserter::TriggerResultInserter
(
const
ParameterSet
& pset,
const
TrigResPtr
& trptr) :
12
trptr_(trptr),
13
pset_id_(pset.id())
14
{
15
produces<TriggerResults>();
16
}
17
18
TriggerResultInserter::~TriggerResultInserter
()
19
{
20
}
21
22
void
TriggerResultInserter::produce
(
edm::Event
&
e
,
edm::EventSetup
const
&)
23
{
24
std::auto_ptr<TriggerResults>
25
results
(
new
TriggerResults
(*
trptr_
,
pset_id_
));
26
27
e.
put
(results);
28
}
29
}
edm::TriggerResultInserter::trptr_
TrigResPtr trptr_
Definition:
TriggerResultInserter.h:43
Event.h
TriggerResults.h
ParameterSet.h
edm::TriggerResultInserter::~TriggerResultInserter
virtual ~TriggerResultInserter()
Definition:
TriggerResultInserter.cc:18
edm::TriggerResultInserter::TrigResPtr
boost::shared_ptr< HLTGlobalStatus > TrigResPtr
Definition:
TriggerResultInserter.h:31
edm::Event::put
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
Definition:
Event.h:94
TriggerResultInserter.h
python.entryComment.results
tuple results
Definition:
entryComment.py:235
edm::TriggerResultInserter::pset_id_
ParameterSetID pset_id_
Definition:
TriggerResultInserter.h:45
edm::EventSetup
Definition:
EventSetup.h:44
edm::TriggerResultInserter::TriggerResultInserter
TriggerResultInserter(edm::ParameterSet const &ps)
alignCSCRings.e
list e
Definition:
alignCSCRings.py:90
edm::TriggerResultInserter::produce
virtual void produce(edm::Event &e, edm::EventSetup const &c)
Definition:
TriggerResultInserter.cc:22
edm::ParameterSet
Definition:
ParameterSet.h:35
edm::Event
Definition:
Event.h:56
edm::TriggerResults
Definition:
TriggerResults.h:38
Generated for CMSSW Reference Manual by
1.8.5