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->beginRunProduce(rp, c);
70  }
71 
72  template <typename T>
74  this->endRunProduce(rp, c);
75  }
76 
77  template <typename T>
79  this->beginLuminosityBlockProduce(rp, c);
80  }
81 
82  template <typename T>
84  this->endLuminosityBlockProduce(rp, c);
85  }
86  } // namespace impl
87  } // namespace one
88 } // namespace edm
89 
90 #endif
void doEndRun_(Run const &rp, EventSetup const &c) final
SharedResourcesAcquirer createAcquirer(std::vector< std::string > const &) const
void doBeginLuminosityBlock_(LuminosityBlock const &rp, EventSetup const &c) final
void doBeginRunProduce_(Run &rp, EventSetup const &c) 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
HLT enums.
void doEndRunProduce_(Run &rp, EventSetup const &c) final
void doBeginLuminosityBlockProduce_(LuminosityBlock &lbp, EventSetup const &c) final
Definition: Run.h:45