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