CMS 3D CMS Logo

EventForOutput.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_EventForOutput_h
2 #define FWCore_Framework_EventForOutput_h
3 
4 // -*- C++ -*-
5 //
6 // Package: Framework
7 // Class : EventForOutput
8 //
12 /*----------------------------------------------------------------------
13 ----------------------------------------------------------------------*/
14 
24 
31 
32 #include <memory>
33 #include <string>
34 #include <typeinfo>
35 #include <vector>
36 
37 class testEventGetRefBeforePut;
38 
39 namespace edmtest {
40  class TestOutputModule;
41 }
42 
43 namespace edm {
44 
45  class BranchDescription;
46  class ModuleCallingContext;
47  class ProductProvenanceRetriever;
48  class EDConsumerBase;
49 
51  public:
54  ~EventForOutput() override;
55 
56  EventAuxiliary const& eventAuxiliary() const { return aux_; }
57  EventID const& id() const { return aux_.id(); }
58  EventNumber_t event() const { return aux_.event(); }
60  Timestamp const& time() const { return aux_.time(); }
61 
63  StreamID streamID() const { return streamID_; }
64 
66 
67  RunForOutput const& getRun() const;
68 
69  RunNumber_t run() const { return id().run(); }
70 
71  BranchListIndexes const& branchListIndexes() const;
72 
74 
76 
78 
79  private:
80  friend class edmtest::TestOutputModule; // For testing
81 
82  EventPrincipal const& eventPrincipal() const;
83 
85  std::shared_ptr<LuminosityBlockForOutput const> const luminosityBlock_;
86 
88  };
89 } // namespace edm
90 #endif
EventSelectionIDVector const & eventSelectionIDs() const
StreamID streamID() const
EventNumber_t event() const
Timestamp const & time() const
LuminosityBlockNumber_t luminosityBlock() const
EventForOutput(EventTransitionInfo const &, ModuleDescription const &, ModuleCallingContext const *)
~EventForOutput() override
unsigned long long EventNumber_t
EventAuxiliary const & eventAuxiliary() const
unsigned int LuminosityBlockNumber_t
std::vector< EventSelectionID > EventSelectionIDVector
EventNumber_t event() const
friend class edmtest::TestOutputModule
EventID const & id() const
RunForOutput const & getRun() const
std::vector< BranchListIndex > BranchListIndexes
RunNumber_t run() const
EventToProcessBlockIndexes const & eventToProcessBlockIndexes() const
std::shared_ptr< LuminosityBlockForOutput const > const luminosityBlock_
EventPrincipal const & eventPrincipal() const
LuminosityBlockForOutput const & getLuminosityBlock() const
RunNumber_t run() const
Definition: EventID.h:38
LuminosityBlockNumber_t luminosityBlock() const
Timestamp const & time() const
HLT enums.
unsigned int RunNumber_t
EventID const & id() const
BranchListIndexes const & branchListIndexes() const
EventAuxiliary const & aux_
ProductProvenanceRetriever const * productProvenanceRetrieverPtr() const