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 
39  template <typename T>
41  std::vector<std::string> v(resourceNames_.begin(), resourceNames_.end());
43  }
44 
45  template <typename T>
46  void RunWatcher<T>::doBeginRun_(Run const& rp, EventSetup const& c) {
47  this->beginRun(rp, c);
48  }
49  template <typename T>
50  void RunWatcher<T>::doEndRun_(Run const& rp, EventSetup const& c) {
51  this->endRun(rp, c);
52  }
53 
54  template <typename T>
56  this->beginLuminosityBlock(rp, c);
57  }
58  template <typename T>
60  this->endLuminosityBlock(rp, c);
61  }
62 
63  template <typename T>
65  this->beginProcessBlock(pb);
66  }
67 
68  template <typename T>
70  this->endProcessBlock(pb);
71  }
72 
73  template <typename T>
75  this->beginProcessBlockProduce(pb);
76  }
77 
78  template <typename T>
80  this->endProcessBlockProduce(pb);
81  }
82 
83  template <typename T>
85  this->beginRunProduce(rp, c);
86  }
87 
88  template <typename T>
90  this->endRunProduce(rp, c);
91  }
92 
93  template <typename T>
95  this->beginLuminosityBlockProduce(rp, c);
96  }
97 
98  template <typename T>
100  this->endLuminosityBlockProduce(rp, c);
101  }
102  } // namespace impl
103  } // namespace one
104 } // namespace edm
105 
106 #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
void usesResource(std::string const &iName)
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.
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