CMS 3D CMS Logo

EventForOutput.cc
Go to the documentation of this file.
2 
11 
12 namespace edm {
13 
14  EventForOutput::EventForOutput(EventPrincipal const& ep, ModuleDescription const& md, ModuleCallingContext const* moduleCallingContext) :
15  OccurrenceForOutput(ep, md, moduleCallingContext),
16  aux_(ep.aux()),
17  luminosityBlock_(ep.luminosityBlockPrincipalPtrValid() ? new LuminosityBlockForOutput(ep.luminosityBlockPrincipal(), md, moduleCallingContext) : nullptr),
18  streamID_(ep.streamID())
19  {
20  }
21 
23  }
24 
25  EventPrincipal const&
27  return dynamic_cast<EventPrincipal const&>(principal());
28  }
29 
30  RunForOutput const&
32  return getLuminosityBlock().getRun();
33  }
34 
38  }
39 
43  }
44 
45  BranchListIndexes const&
48  }
49 
50 }
~EventForOutput() override
EventSelectionIDVector const & eventSelectionIDs() const
BranchListIndexes const & branchListIndexes() const
#define nullptr
BranchListIndexes const & branchListIndexes() const
std::vector< EventSelectionID > EventSelectionIDVector
EventSelectionIDVector const & eventSelectionIDs() const
std::vector< BranchListIndex > BranchListIndexes
LuminosityBlockForOutput const & getLuminosityBlock() const
RunForOutput const & getRun() const
ProductProvenanceRetriever const * productProvenanceRetrieverPtr() const
RunForOutput const & getRun() const
ProductProvenanceRetriever const * productProvenanceRetrieverPtr() const
EventForOutput(EventPrincipal const &ep, ModuleDescription const &md, ModuleCallingContext const *)
HLT enums.
EventPrincipal const & eventPrincipal() const
Principal const & principal() const