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/Framework/src/TransitionInfoTypes.h
"
8
#include "
FWCore/ParameterSet/interface/Registry.h
"
9
#include "
FWCore/Utilities/interface/Algorithms.h
"
10
#include "
FWCore/Utilities/interface/InputTag.h
"
11
12
namespace
edm
{
13
14
EventForOutput::EventForOutput
(
EventTransitionInfo
const
&
info
,
15
ModuleDescription
const
& md,
16
ModuleCallingContext
const
* mcc)
17
:
EventForOutput
(
info
.principal(), md, mcc) {}
18
19
EventForOutput::EventForOutput
(
EventPrincipal
const
&
ep
,
20
ModuleDescription
const
& md,
21
ModuleCallingContext
const
* moduleCallingContext)
22
:
OccurrenceForOutput
(
ep
, md, moduleCallingContext,
true
/*always at end*/
),
23
aux_(
ep
.
aux
()),
24
luminosityBlock_(
ep
.luminosityBlockPrincipalPtrValid()
25
? new
LuminosityBlockForOutput
(
26
ep
.luminosityBlockPrincipal(), md, moduleCallingContext,
false
/*not at end*/
)
27
: nullptr),
28
streamID_(
ep
.streamID()) {}
29
30
EventForOutput::~EventForOutput
() {}
31
32
EventPrincipal
const
&
EventForOutput::eventPrincipal
()
const
{
33
return
dynamic_cast<EventPrincipal const&>(
principal
());
34
}
35
36
RunForOutput
const
&
EventForOutput::getRun
()
const
{
return
getLuminosityBlock
().
getRun
(); }
37
38
EventSelectionIDVector
const
&
EventForOutput::eventSelectionIDs
()
const
{
39
return
eventPrincipal
().
eventSelectionIDs
();
40
}
41
42
ProductProvenanceRetriever
const
*
EventForOutput::productProvenanceRetrieverPtr
()
const
{
43
return
eventPrincipal
().
productProvenanceRetrieverPtr
();
44
}
45
46
BranchListIndexes
const
&
EventForOutput::branchListIndexes
()
const
{
return
eventPrincipal
().
branchListIndexes
(); }
47
48
}
// namespace edm
edm::EventTransitionInfo
Definition:
TransitionInfoTypes.h:26
funct::false
false
Definition:
Factorize.h:29
TriggerResults.h
edm::EventForOutput::eventPrincipal
EventPrincipal const & eventPrincipal() const
Definition:
EventForOutput.cc:32
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::BranchListIndexes
std::vector< BranchListIndex > BranchListIndexes
Definition:
BranchListIndex.h:18
Algorithms.h
info
static const TGPicture * info(bool iBackgroundIsBlack)
Definition:
FWCollectionSummaryWidget.cc:153
edm::LuminosityBlockForOutput::getRun
RunForOutput const & getRun() const
Definition:
LuminosityBlockForOutput.h:63
EventForOutput.h
edm::EventForOutput::getRun
RunForOutput const & getRun() const
Definition:
EventForOutput.cc:36
edm::EventForOutput::EventForOutput
EventForOutput(EventTransitionInfo const &, ModuleDescription const &, ModuleCallingContext const *)
Definition:
EventForOutput.cc:14
edm::ModuleDescription
Definition:
ModuleDescription.h:21
edm::EventForOutput::~EventForOutput
~EventForOutput() override
Definition:
EventForOutput.cc:30
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:367
edm::RunForOutput
Definition:
RunForOutput.h:39
edm::EventPrincipal
Definition:
EventPrincipal.h:46
EventPrincipal.h
edm::EventForOutput::branchListIndexes
BranchListIndexes const & branchListIndexes() const
Definition:
EventForOutput.cc:46
edm::EventForOutput::productProvenanceRetrieverPtr
ProductProvenanceRetriever const * productProvenanceRetrieverPtr() const
Definition:
EventForOutput.cc:42
edm::EventForOutput::eventSelectionIDs
EventSelectionIDVector const & eventSelectionIDs() const
Definition:
EventForOutput.cc:38
funct::true
true
Definition:
Factorize.h:173
printConversionInfo.aux
aux
Definition:
printConversionInfo.py:19
edm::EventPrincipal::eventSelectionIDs
EventSelectionIDVector const & eventSelectionIDs() const
Definition:
EventPrincipal.cc:365
edm::OccurrenceForOutput::principal
Principal const & principal() const
Definition:
OccurrenceForOutput.cc:24
InputTag.h
Registry.h
edm::EventForOutput
Definition:
EventForOutput.h:50
edm::ProductProvenanceRetriever
Definition:
ProductProvenanceRetriever.h:56
TransitionInfoTypes.h
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:65
edm::ModuleCallingContext
Definition:
ModuleCallingContext.h:29
Generated for CMSSW Reference Manual by
1.8.16