12 resultsPerStream_(iNStreams),
15 produces<TriggerResults>();
20 resultsPerStream_[iStreamIndex] =trptr;
25 e.
put(std::make_unique<TriggerResults>(*resultsPerStream_[
id.
value()], pset_id_));
std::shared_ptr< HLTGlobalStatus > TrigResPtr
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
void produce(StreamID id, edm::Event &e, edm::EventSetup const &c) const final
TriggerResultInserter(edm::ParameterSet const &ps)
void setTrigResultForStream(unsigned int iStreamIndex, const TrigResPtr &trptr)