FWCore
Framework
src
EventForOutput.cc
Go to the documentation of this file.
1
#include "
FWCore/Framework/interface/EventForOutput.h
"
2
3
#include "
DataFormats/Common/interface/TriggerResults.h
"
4
#include "
FWCore/Common/interface/TriggerResultsByName.h
"
5
#include "
FWCore/Framework/interface/EventPrincipal.h
"
6
#include "
FWCore/Framework/interface/LuminosityBlockForOutput.h
"
7
#include "
FWCore/ParameterSet/interface/Registry.h
"
8
#include "
FWCore/Utilities/interface/Algorithms.h
"
9
#include "
FWCore/Utilities/interface/InputTag.h
"
10
11
namespace
edm
{
12
13
EventForOutput::EventForOutput
(
EventPrincipal
const
&
ep
,
14
ModuleDescription
const
& md,
15
ModuleCallingContext
const
* moduleCallingContext)
16
:
OccurrenceForOutput
(
ep
, md, moduleCallingContext,
true
/*always at end*/
),
17
aux_(
ep
.
aux
()),
18
luminosityBlock_(
ep
.luminosityBlockPrincipalPtrValid()
19
? new
LuminosityBlockForOutput
(
20
ep
.luminosityBlockPrincipal(), md, moduleCallingContext,
false
/*not at end*/
)
21
: nullptr),
22
streamID_(
ep
.streamID()) {}
23
24
EventForOutput::~EventForOutput
() {}
25
26
EventPrincipal
const
&
EventForOutput::eventPrincipal
()
const
{
27
return
dynamic_cast<EventPrincipal const&>(
principal
());
28
}
29
30
RunForOutput
const
&
EventForOutput::getRun
()
const
{
return
getLuminosityBlock
().
getRun
(); }
31
32
EventSelectionIDVector
const
&
EventForOutput::eventSelectionIDs
()
const
{
33
return
eventPrincipal
().
eventSelectionIDs
();
34
}
35
36
ProductProvenanceRetriever
const
*
EventForOutput::productProvenanceRetrieverPtr
()
const
{
37
return
eventPrincipal
().
productProvenanceRetrieverPtr
();
38
}
39
40
BranchListIndexes
const
&
EventForOutput::branchListIndexes
()
const
{
return
eventPrincipal
().
branchListIndexes
(); }
41
42
}
// namespace edm
funct::false
false
Definition:
Factorize.h:34
TriggerResults.h
edm::EventForOutput::branchListIndexes
BranchListIndexes const & branchListIndexes() const
Definition:
EventForOutput.cc:40
edm::EventForOutput::~EventForOutput
~EventForOutput() override
Definition:
EventForOutput.cc:24
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::BranchListIndexes
std::vector< BranchListIndex > BranchListIndexes
Definition:
BranchListIndex.h:18
Algorithms.h
edm::LuminosityBlockForOutput::getRun
RunForOutput const & getRun() const
Definition:
LuminosityBlockForOutput.h:59
EventForOutput.h
edm::EventForOutput::eventSelectionIDs
EventSelectionIDVector const & eventSelectionIDs() const
Definition:
EventForOutput.cc:32
edm::ModuleDescription
Definition:
ModuleDescription.h:21
edm::OccurrenceForOutput
Definition:
OccurrenceForOutput.h:45
edm::EventPrincipal::productProvenanceRetrieverPtr
ProductProvenanceRetriever const * productProvenanceRetrieverPtr() const
Definition:
EventPrincipal.h:114
edm::LuminosityBlockForOutput
Definition:
LuminosityBlockForOutput.h:40
edm::EventPrincipal::branchListIndexes
BranchListIndexes const & branchListIndexes() const
Definition:
EventPrincipal.cc:417
edm::RunForOutput
Definition:
RunForOutput.h:39
edm::EventPrincipal
Definition:
EventPrincipal.h:46
EventPrincipal.h
edm::EventForOutput::productProvenanceRetrieverPtr
ProductProvenanceRetriever const * productProvenanceRetrieverPtr() const
Definition:
EventForOutput.cc:36
edm::EventForOutput::getRun
RunForOutput const & getRun() const
Definition:
EventForOutput.cc:30
funct::true
true
Definition:
Factorize.h:173
edm::EventForOutput::EventForOutput
EventForOutput(EventPrincipal const &ep, ModuleDescription const &md, ModuleCallingContext const *)
Definition:
EventForOutput.cc:13
printConversionInfo.aux
aux
Definition:
printConversionInfo.py:19
edm::EventPrincipal::eventSelectionIDs
EventSelectionIDVector const & eventSelectionIDs() const
Definition:
EventPrincipal.cc:415
edm::OccurrenceForOutput::principal
Principal const & principal() const
Definition:
OccurrenceForOutput.cc:24
InputTag.h
Registry.h
edm::ProductProvenanceRetriever
Definition:
ProductProvenanceRetriever.h:56
edm::EventForOutput::eventPrincipal
EventPrincipal const & eventPrincipal() const
Definition:
EventForOutput.cc:26
LuminosityBlockForOutput.h
edm::EventSelectionIDVector
std::vector< EventSelectionID > EventSelectionIDVector
Definition:
EventSelectionID.h:16
TriggerResultsByName.h
SiStripBadComponentsDQMServiceTemplate_cfg.ep
ep
Definition:
SiStripBadComponentsDQMServiceTemplate_cfg.py:86
edm::EventForOutput::getLuminosityBlock
LuminosityBlockForOutput const & getLuminosityBlock() const
Definition:
EventForOutput.h:64
edm::ModuleCallingContext
Definition:
ModuleCallingContext.h:29
Generated for CMSSW Reference Manual by
1.8.16