Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:27:57

0001 // -*- C++ -*-
0002 //
0003 // Package:     Framework
0004 // Class  :     LooperFactory
0005 //
0006 // Implementation:
0007 //     <Notes on implementation>
0008 //
0009 // Author:      Chris Jones
0010 // Created:     Wed May 25 19:27:37 EDT 2005
0011 //
0012 
0013 // system include files
0014 
0015 // user include files
0016 #include "FWCore/Framework/interface/LooperFactory.h"
0017 
0018 //
0019 // static member functions
0020 //
0021 namespace edm {
0022   namespace eventsetup {
0023     std::string LooperMakerTraits::name() { return "CMS EDM Framework EDLooper"; }
0024 
0025     void LooperMakerTraits::replaceExisting(EventSetupProvider&, std::shared_ptr<EDLooperBase>) {
0026       throw edm::Exception(edm::errors::LogicError) << "LooperMakerTraits::replaceExisting\n"
0027                                                     << "This function is not implemented and should never be called.\n"
0028                                                     << "Please report this to a Framework Developer\n";
0029     }
0030 
0031     std::shared_ptr<LooperMakerTraits::base_type> LooperMakerTraits::getComponentAndRegisterProcess(
0032         EventSetupsController&, ParameterSet const&) {
0033       return std::shared_ptr<LooperMakerTraits::base_type>();
0034     }
0035 
0036     void LooperMakerTraits::putComponent(EventSetupsController&,
0037                                          ParameterSet const&,
0038                                          std::shared_ptr<base_type> const&) {}
0039   }  // namespace eventsetup
0040 }  // namespace edm
0041 
0042 COMPONENTFACTORY_GET(edm::eventsetup::LooperMakerTraits);