CMS 3D CMS Logo

PathStatusInserter.cc
Go to the documentation of this file.
1 
5 
6 #include <memory>
7 
8 namespace edm {
10  : hltPathStatus_(numberOfStreams), token_{produces<HLTPathStatus>()} {}
11 
12  void PathStatusInserter::setPathStatus(StreamID const& streamID, HLTPathStatus const& hltPathStatus) {
13  hltPathStatus_[streamID.value()] = hltPathStatus;
14  }
15 
17  event.emplace(token_, hltPathStatus_[streamID.value()]);
18  }
19 } // namespace edm
void setPathStatus(StreamID const &, HLTPathStatus const &)
void produce(StreamID, Event &, EventSetup const &) const final
PathStatusInserter(unsigned int numberOfStreams)
EDPutTokenT< HLTPathStatus > token_
unsigned int value() const
Definition: StreamID.h:42
HLT enums.
std::vector< HLTPathStatus > hltPathStatus_
Definition: event.py:1