CMS 3D CMS Logo

TriggerResultInserter.cc
Go to the documentation of this file.
1 
6 
7 #include <memory>
8 
9 namespace edm {
11  : resultsPerStream_(iNStreams), pset_id_(pset.id()), token_{produces<TriggerResults>()} {}
12 
13  void TriggerResultInserter::setTrigResultForStream(unsigned int iStreamIndex, const TrigResPtr& trptr) {
14  resultsPerStream_[iStreamIndex] = trptr;
15  }
16 
18  e.emplace(token_, *resultsPerStream_[id.value()], pset_id_);
19  }
20 } // namespace edm
edm::StreamID
Definition: StreamID.h:30
edm::TriggerResultInserter::resultsPerStream_
std::vector< edm::propagate_const< TrigResPtr > > resultsPerStream_
Definition: TriggerResultInserter.h:44
TriggerResults.h
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::TriggerResultInserter::produce
void produce(StreamID id, edm::Event &e, edm::EventSetup const &c) const final
Definition: TriggerResultInserter.cc:17
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
edm::TriggerResultInserter::token_
EDPutTokenT< TriggerResults > token_
Definition: TriggerResultInserter.h:47
TriggerResultInserter.h
edm::EventSetup
Definition: EventSetup.h:57
edm::TriggerResultInserter::pset_id_
ParameterSetID pset_id_
Definition: TriggerResultInserter.h:46
edm::TriggerResultInserter::TriggerResultInserter
TriggerResultInserter(edm::ParameterSet const &ps)
triggerObjects_cff.id
id
Definition: triggerObjects_cff.py:31
relativeConstraints.value
value
Definition: relativeConstraints.py:53
edm::TriggerResultInserter::TrigResPtr
std::shared_ptr< HLTGlobalStatus > TrigResPtr
Definition: TriggerResultInserter.h:32
edm::TriggerResultInserter::setTrigResultForStream
void setTrigResultForStream(unsigned int iStreamIndex, const TrigResPtr &trptr)
Definition: TriggerResultInserter.cc:13
ParameterSet.h
edm::Event
Definition: Event.h:73
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37