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<EndPathStatus>()} {}
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::StreamID
Definition:
StreamID.h:30
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
EndPathStatus.h
Event.h
edm::EventSetup
Definition:
EventSetup.h:58
EndPathStatusInserter.h
edm::EndPathStatusInserter::token_
EDPutTokenT< EndPathStatus > token_
Definition:
EndPathStatusInserter.h:21
event
Definition:
event.py:1
edm::Event
Definition:
Event.h:73
StreamID.h
Generated for CMSSW Reference Manual by
1.8.16