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
LuminosityBlockForOutput(LumiTransitionInfo const &, ModuleDescription const &, ModuleCallingContext const *, bool isAtEnd)
LuminosityBlockID const & id() const
LuminosityBlockNumber_t luminosityBlock() const
LuminosityBlockAuxiliary const & aux_
LuminosityBlockIndex index() const
unsigned int LuminosityBlockNumber_t
std::shared_ptr< RunForOutput const > const run_
Timestamp const & endTime() const
RunForOutput const & getRun() const
LuminosityBlockNumber_t luminosityBlock() const
LuminosityBlockPrincipal const & luminosityBlockPrincipal() const
LuminosityBlockID const & id() const
LuminosityBlockAuxiliary const & luminosityBlockAuxiliary() const
Timestamp const & endTime() const
HLT enums.
Timestamp const & beginTime() const
unsigned int RunNumber_t
Timestamp const & beginTime() const