CMS 3D CMS Logo

LooperFactory.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: Framework
4 // Class : LooperFactory
5 //
6 // Implementation:
7 // <Notes on implementation>
8 //
9 // Author: Chris Jones
10 // Created: Wed May 25 19:27:37 EDT 2005
11 //
12 
13 // system include files
14 
15 // user include files
17 
18 //
19 // static member functions
20 //
21 namespace edm {
22  namespace eventsetup {
23  std::string LooperMakerTraits::name() { return "CMS EDM Framework EDLooper"; }
24 
25  void LooperMakerTraits::replaceExisting(EventSetupProvider&, std::shared_ptr<EDLooperBase>) {
26  throw edm::Exception(edm::errors::LogicError) << "LooperMakerTraits::replaceExisting\n"
27  << "This function is not implemented and should never be called.\n"
28  << "Please report this to a Framework Developer\n";
29  }
30 
31  std::shared_ptr<LooperMakerTraits::base_type> LooperMakerTraits::getComponentAndRegisterProcess(
33  return std::shared_ptr<LooperMakerTraits::base_type>();
34  }
35 
37  ParameterSet const&,
38  std::shared_ptr<base_type> const&) {}
39  } // namespace eventsetup
40 } // namespace edm
41 
edm::errors::LogicError
Definition: EDMException.h:37
edm
HLT enums.
Definition: AlignableModifier.h:19
COMPONENTFACTORY_GET
#define COMPONENTFACTORY_GET(_type_)
Definition: ComponentFactory.h:120
edm::eventsetup::LooperMakerTraits::getComponentAndRegisterProcess
static std::shared_ptr< base_type > getComponentAndRegisterProcess(EventSetupsController &esController, ParameterSet const &iConfiguration)
Definition: LooperFactory.cc:31
edm::eventsetup::EventSetupProvider
Definition: EventSetupProvider.h:50
edm::eventsetup::LooperMakerTraits::putComponent
static void putComponent(EventSetupsController &esController, ParameterSet const &iConfiguration, std::shared_ptr< base_type > const &component)
Definition: LooperFactory.cc:36
edm::eventsetup::LooperMakerTraits
Definition: LooperFactory.h:82
LooperFactory.h
edm::ParameterSet
Definition: ParameterSet.h:47
edm::eventsetup::LooperMakerTraits::name
static std::string name()
Definition: LooperFactory.cc:23
edm::eventsetup::EventSetupsController
Definition: EventSetupsController.h:80
edm::eventsetup::LooperMakerTraits::replaceExisting
static void replaceExisting(EventSetupProvider &iProvider, std::shared_ptr< EDLooperBase > iComponent)
Definition: LooperFactory.cc:25
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
Exception
Definition: hltDiff.cc:245