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()} {}
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 &)
PathStatusInserter(unsigned int numberOfStreams)
EDPutTokenT< HLTPathStatus > token_
HLT enums.
std::vector< HLTPathStatus > hltPathStatus_
void produce(StreamID, Event &, EventSetup const &) const final
unsigned int value() const
Definition: StreamID.h:43
Definition: event.py:1