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 
26 
27 #include <memory>
28 #include <string>
29 #include <typeinfo>
30 #include <vector>
31 
32 namespace edmtest {
33  class TestOutputModule;
34 }
35 
36 namespace edm {
37  class ModuleCallingContext;
38 
40  public:
42  ModuleCallingContext const*);
43  ~LuminosityBlockForOutput() override;
44 
45  LuminosityBlockAuxiliary const& luminosityBlockAuxiliary() const {return aux_;}
46  LuminosityBlockID const& id() const {return aux_.id();}
47  LuminosityBlockNumber_t luminosityBlock() const {return aux_.luminosityBlock();}
48  RunNumber_t run() const {return aux_.run();}
49  Timestamp const& beginTime() const {return aux_.beginTime();}
50  Timestamp const& endTime() const {return aux_.endTime();}
51 
52  RunForOutput const&
53  getRun() const {
54  return *run_;
55  }
56 
57  private:
58  friend class edmtest::TestOutputModule; // For testing
59 
61  luminosityBlockPrincipal() const;
62 
64  std::shared_ptr<RunForOutput const> const run_;
65  };
66 
67 }
68 #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