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  ModuleCallingContext const*, bool isAtEnd);
44  ~LuminosityBlockForOutput() override;
45 
46  LuminosityBlockAuxiliary const& luminosityBlockAuxiliary() const {return aux_;}
47  LuminosityBlockID const& id() const {return aux_.id();}
48  LuminosityBlockNumber_t luminosityBlock() const {return aux_.luminosityBlock();}
49  RunNumber_t run() const {return aux_.run();}
50  Timestamp const& beginTime() const {return aux_.beginTime();}
51  Timestamp const& endTime() const {return aux_.endTime();}
52 
56 
57  RunForOutput const&
58  getRun() const {
59  return *run_;
60  }
61 
62  private:
63  friend class edmtest::TestOutputModule; // For testing
64 
66  luminosityBlockPrincipal() const;
67 
69  std::shared_ptr<RunForOutput const> const run_;
70  };
71 
72 }
73 #endif
LuminosityBlockAuxiliary const & aux_
unsigned int LuminosityBlockNumber_t
LuminosityBlockAuxiliary const & luminosityBlockAuxiliary() const
std::shared_ptr< RunForOutput const > const run_
LuminosityBlockNumber_t luminosityBlock() const
Timestamp const & endTime() const
RunForOutput const & getRun() const
Timestamp const & beginTime() const
HLT enums.
unsigned int RunNumber_t
LuminosityBlockID const & id() const