CMS 3D CMS Logo

implementorsMethods.h
Go to the documentation of this file.
1 #ifndef FWCore_Framework_one_implementorsMethods_h
2 #define FWCore_Framework_one_implementorsMethods_h
3 // -*- C++ -*-
4 //
5 // Package: FWCore/Framework
6 // File : implementorsMethods
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Thu, 09 May 2013 20:13:53 GMT
19 //
20 
21 // system include files
22 
23 // user include files
27 
28 // forward declarations
29 
30 namespace edm {
31  namespace one {
32  namespace impl {
33  template <typename T>
35  resourceNames_.insert(iName);
37  }
38  template <typename T>
41  }
42 
43  template <typename T>
45  std::vector<std::string> v(resourceNames_.begin(), resourceNames_.end());
47  }
48 
49  template <typename T>
50  void RunWatcher<T>::doBeginRun_(Run const& rp, EventSetup const& c) {
51  this->beginRun(rp, c);
52  }
53  template <typename T>
54  void RunWatcher<T>::doEndRun_(Run const& rp, EventSetup const& c) {
55  this->endRun(rp, c);
56  }
57 
58  template <typename T>
60  this->beginLuminosityBlock(rp, c);
61  }
62  template <typename T>
64  this->endLuminosityBlock(rp, c);
65  }
66 
67  template <typename T>
69  this->beginProcessBlock(pb);
70  }
71 
72  template <typename T>
74  this->endProcessBlock(pb);
75  }
76 
77  template <typename T>
79  this->beginProcessBlockProduce(pb);
80  }
81 
82  template <typename T>
84  this->endProcessBlockProduce(pb);
85  }
86 
87  template <typename T>
89  this->beginRunProduce(rp, c);
90  }
91 
92  template <typename T>
94  this->endRunProduce(rp, c);
95  }
96 
97  template <typename T>
99  this->beginLuminosityBlockProduce(rp, c);
100  }
101 
102  template <typename T>
104  this->endLuminosityBlockProduce(rp, c);
105  }
106  } // namespace impl
107  } // namespace one
108 } // namespace edm
109 
110 #endif
void doBeginProcessBlockProduce_(ProcessBlock &) final
void doEndRun_(Run const &rp, EventSetup const &c) final
void doBeginLuminosityBlock_(LuminosityBlock const &rp, EventSetup const &c) final
void doBeginRunProduce_(Run &rp, EventSetup const &c) final
void doBeginProcessBlock_(ProcessBlock const &) final
static SharedResourcesRegistry * instance()
void doBeginRun_(Run const &rp, EventSetup const &c) final
SharedResourcesAcquirer createAcquirer() override
void doEndLuminosityBlockProduce_(LuminosityBlock &lbp, EventSetup const &c) final
void registerSharedResource(const std::string &)
A resource name must be registered before it can be used in the createAcquirer call.
static const std::string kLegacyModuleResourceName
All legacy modules share this resource.
void doEndLuminosityBlock_(LuminosityBlock const &rp, EventSetup const &c) final
void doEndProcessBlock_(ProcessBlock const &) final
HLT enums.
void doEndRunProduce_(Run &rp, EventSetup const &c) final
void doEndProcessBlockProduce_(ProcessBlock &) final
void doBeginLuminosityBlockProduce_(LuminosityBlock &lbp, EventSetup const &c) final
SharedResourcesAcquirer createAcquirer(std::vector< std::string > const &) const
Definition: Run.h:45