src
FWCore
Framework
src
EndPathStatusInserter.cc
Go to the documentation of this file.
1
2
#include "
FWCore/Framework/src/EndPathStatusInserter.h
"
3
#include "
FWCore/Framework/interface/Event.h
"
4
#include "
FWCore/Utilities/interface/StreamID.h
"
5
#include "
DataFormats/Common/interface/EndPathStatus.h
"
6
7
#include <memory>
8
9
namespace
edm
{
10
EndPathStatusInserter::EndPathStatusInserter
(
unsigned
int
) : token_{
produces
()} {}
11
12
void
EndPathStatusInserter::produce
(
StreamID
,
edm::Event
&
event
,
edm::EventSetup
const
&)
const
{
13
//Puts a default constructed EndPathStatus
14
event
.emplace(
token_
);
15
}
16
}
// namespace edm
edm::ProductRegistryHelper::produces
auto produces() noexcept
Definition:
ProductRegistryHelper.h:121
edm::StreamID
Definition:
StreamID.h:30
Event.h
edm::EndPathStatusInserter::token_
EDPutTokenT< EndPathStatus > token_
Definition:
EndPathStatusInserter.h:21
StreamID.h
edm::EventSetup
Definition:
EventSetup.h:59
EndPathStatusInserter.h
edm::EndPathStatusInserter::produce
void produce(StreamID, Event &, EventSetup const &) const final
Definition:
EndPathStatusInserter.cc:12
edm::EndPathStatusInserter::EndPathStatusInserter
EndPathStatusInserter(unsigned int numberOfStreams)
Definition:
EndPathStatusInserter.cc:10
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::Event
Definition:
Event.h:73
EndPathStatus.h
event
Definition:
event.py:1
Generated for CMSSW Reference Manual by
1.8.14