Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
edmPickEvents.event
tuple event
Definition:
edmPickEvents.py:273
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::Event
Definition:
Event.h:73
EndPathStatus.h
Generated for CMSSW Reference Manual by
1.8.5