CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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)
LuminosityBlockAuxiliary const & aux_
LuminosityBlockPrincipal const & luminosityBlockPrincipal() const
unsigned int LuminosityBlockNumber_t
LuminosityBlockAuxiliary const & luminosityBlockAuxiliary() const
LuminosityBlockIndex index() const
std::shared_ptr< RunForOutput const > const run_
LuminosityBlockNumber_t luminosityBlock() const
Timestamp const & endTime() const
Timestamp const & beginTime() const
Timestamp const & endTime() const
RunForOutput const & getRun() const
LuminosityBlockNumber_t luminosityBlock() const
Timestamp const & beginTime() const
unsigned int RunNumber_t
LuminosityBlockID const & id() const
LuminosityBlockID const & id() const