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
edm::SharedResourcesAcquirer
Definition: SharedResourcesAcquirer.h:34
Ecal2004TBTDCRanges_v1_cff.endRun
endRun
Definition: Ecal2004TBTDCRanges_v1_cff.py:4
edm::one::impl::SharedResourcesUser::createAcquirer
SharedResourcesAcquirer createAcquirer() override
Definition: implementorsMethods.h:44
edm::SharedResourcesRegistry::registerSharedResource
void registerSharedResource(const std::string &)
A resource name must be registered before it can be used in the createAcquirer call.
Definition: SharedResourcesRegistry.cc:32
edm::LuminosityBlock
Definition: LuminosityBlock.h:50
edm::Run
Definition: Run.h:45
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::SharedResourcesRegistry::kLegacyModuleResourceName
static const std::string kLegacyModuleResourceName
All legacy modules share this resource.
Definition: SharedResourcesRegistry.h:53
findQualityFiles.v
v
Definition: findQualityFiles.py:179
edm::one::impl::SharedResourcesUser::usesResource
void usesResource()
Definition: implementorsMethods.h:39
SharedResourcesAcquirer.h
edm::one::impl::RunWatcher::doBeginRun_
void doBeginRun_(Run const &rp, EventSetup const &c) final
Definition: implementorsMethods.h:50
edm::one::impl::LuminosityBlockWatcher::doBeginLuminosityBlock_
void doBeginLuminosityBlock_(LuminosityBlock const &rp, EventSetup const &c) final
Definition: implementorsMethods.h:59
edm::SharedResourcesRegistry::instance
static SharedResourcesRegistry * instance()
Definition: SharedResourcesRegistry.cc:25
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::SharedResourcesRegistry::createAcquirer
SharedResourcesAcquirer createAcquirer(std::vector< std::string > const &) const
Definition: SharedResourcesRegistry.cc:75
edm::one::impl::EndLuminosityBlockProducer::doEndLuminosityBlockProduce_
void doEndLuminosityBlockProduce_(LuminosityBlock &lbp, EventSetup const &c) final
Definition: implementorsMethods.h:83
edm::EventSetup
Definition: EventSetup.h:57
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
edm::one::impl::LuminosityBlockWatcher::doEndLuminosityBlock_
void doEndLuminosityBlock_(LuminosityBlock const &rp, EventSetup const &c) final
Definition: implementorsMethods.h:63
edm::one::impl::BeginRunProducer::doBeginRunProduce_
void doBeginRunProduce_(Run &rp, EventSetup const &c) final
Definition: implementorsMethods.h:68
impl
Definition: trackAlgoPriorityOrder.h:18
SharedResourcesRegistry.h
edm::one::impl::EndRunProducer::doEndRunProduce_
void doEndRunProduce_(Run &rp, EventSetup const &c) final
Definition: implementorsMethods.h:73
edm::one::impl::BeginLuminosityBlockProducer::doBeginLuminosityBlockProduce_
void doBeginLuminosityBlockProduce_(LuminosityBlock &lbp, EventSetup const &c) final
Definition: implementorsMethods.h:78
implementors.h
edm::one::impl::RunWatcher::doEndRun_
void doEndRun_(Run const &rp, EventSetup const &c) final
Definition: implementorsMethods.h:54