CMS 3D CMS Logo

LuminosityBlockForOutput.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_LuminosityBlockForOutput_h
2 #define FWCore_Framework_LuminosityBlockForOutput_h
3 
4 // -*- C++ -*-
5 //
6 // Package: Framework
7 // Class : LuminosityBlockForOutput
8 //
17 /*----------------------------------------------------------------------
18 
19 ----------------------------------------------------------------------*/
20 
27 
28 #include <memory>
29 #include <string>
30 #include <typeinfo>
31 #include <vector>
32 
33 namespace edmtest {
34  class TestOutputModule;
35 }
36 
37 namespace edm {
38  class ModuleCallingContext;
39 
41  public:
43  ModuleDescription const&,
44  ModuleCallingContext const*,
45  bool isAtEnd);
47  ModuleDescription const&,
48  ModuleCallingContext const*,
49  bool isAtEnd);
50  ~LuminosityBlockForOutput() override;
51 
53  LuminosityBlockID const& id() const { return aux_.id(); }
55  RunNumber_t run() const { return aux_.run(); }
56  Timestamp const& beginTime() const { return aux_.beginTime(); }
57  Timestamp const& endTime() const { return aux_.endTime(); }
58 
62 
63  RunForOutput const& getRun() const { return *run_; }
64 
65  private:
66  friend class edmtest::TestOutputModule; // For testing
67 
69 
71  std::shared_ptr<RunForOutput const> const run_;
72  };
73 
74 } // namespace edm
75 #endif
edm::LuminosityBlockAuxiliary::run
RunNumber_t run() const
Definition: LuminosityBlockAuxiliary.h:35
edm::LuminosityBlockForOutput::LuminosityBlockForOutput
LuminosityBlockForOutput(LumiTransitionInfo const &, ModuleDescription const &, ModuleCallingContext const *, bool isAtEnd)
Definition: LuminosityBlockForOutput.cc:11
edm::RunNumber_t
unsigned int RunNumber_t
Definition: RunLumiEventNumber.h:14
edm::LuminosityBlockForOutput::luminosityBlockPrincipal
LuminosityBlockPrincipal const & luminosityBlockPrincipal() const
Definition: LuminosityBlockForOutput.cc:27
edm::LuminosityBlockForOutput::luminosityBlock
LuminosityBlockNumber_t luminosityBlock() const
Definition: LuminosityBlockForOutput.h:54
edm::LumiTransitionInfo
Definition: TransitionInfoTypes.h:42
propagate_const.h
edm::LuminosityBlockForOutput::index
LuminosityBlockIndex index() const
Definition: LuminosityBlockForOutput.cc:33
edmtest
Definition: AlignPCLThresholdsReader.cc:11
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::LuminosityBlockPrincipal
Definition: LuminosityBlockPrincipal.h:31
edm::LuminosityBlockForOutput::getRun
RunForOutput const & getRun() const
Definition: LuminosityBlockForOutput.h:63
edm::LuminosityBlockForOutput::~LuminosityBlockForOutput
~LuminosityBlockForOutput() override
Definition: LuminosityBlockForOutput.cc:25
edm::LuminosityBlockNumber_t
unsigned int LuminosityBlockNumber_t
Definition: RunLumiEventNumber.h:13
edm::ModuleDescription
Definition: ModuleDescription.h:21
edm::OccurrenceForOutput
Definition: OccurrenceForOutput.h:45
edm::LuminosityBlockForOutput
Definition: LuminosityBlockForOutput.h:40
edm::LuminosityBlockAuxiliary
Definition: LuminosityBlockAuxiliary.h:15
edm::RunForOutput
Definition: RunForOutput.h:40
edm::LuminosityBlockIndex
Definition: LuminosityBlockIndex.h:33
edm::LuminosityBlockForOutput::luminosityBlockAuxiliary
LuminosityBlockAuxiliary const & luminosityBlockAuxiliary() const
Definition: LuminosityBlockForOutput.h:52
edm::LuminosityBlockAuxiliary::id
LuminosityBlockID const & id() const
Definition: LuminosityBlockAuxiliary.h:36
edm::LuminosityBlockID
Definition: LuminosityBlockID.h:31
LuminosityBlockAuxiliary.h
edm::LuminosityBlockForOutput::aux_
LuminosityBlockAuxiliary const & aux_
Definition: LuminosityBlockForOutput.h:70
edm::LuminosityBlockForOutput::id
LuminosityBlockID const & id() const
Definition: LuminosityBlockForOutput.h:53
edm::LuminosityBlockAuxiliary::endTime
Timestamp const & endTime() const
Definition: LuminosityBlockAuxiliary.h:43
edm::LuminosityBlockForOutput::run_
const std::shared_ptr< RunForOutput const > run_
Definition: LuminosityBlockForOutput.h:71
edm::LuminosityBlockForOutput::TestOutputModule
friend class edmtest::TestOutputModule
Definition: LuminosityBlockForOutput.h:66
Wrapper.h
edm::LuminosityBlockAuxiliary::luminosityBlock
LuminosityBlockNumber_t luminosityBlock() const
Definition: LuminosityBlockAuxiliary.h:34
Frameworkfwd.h
LuminosityBlockIndex.h
edm::LuminosityBlockForOutput::endTime
Timestamp const & endTime() const
Definition: LuminosityBlockForOutput.h:57
edm::LuminosityBlockForOutput::run
RunNumber_t run() const
Definition: LuminosityBlockForOutput.h:55
OccurrenceForOutput.h
edm::LuminosityBlockForOutput::beginTime
Timestamp const & beginTime() const
Definition: LuminosityBlockForOutput.h:56
edm::LuminosityBlockAuxiliary::beginTime
Timestamp const & beginTime() const
Definition: LuminosityBlockAuxiliary.h:38
edm::ModuleCallingContext
Definition: ModuleCallingContext.h:29
edm::Timestamp
Definition: Timestamp.h:30