Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:12:11

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 #include "FWCore/ParameterSet/interface/ParameterSetDescriptionFillerBase.h"
0018 
0019 //
0020 // static member functions
0021 //
0022 namespace edm {
0023   namespace eventsetup {
0024     std::string LooperMakerTraits::name() { return "CMS EDM Framework EDLooper"; }
0025     std::string const& LooperMakerTraits::baseType() { return ParameterSetDescriptionFillerBase::kBaseForEDLooper; }
0026 
0027     void LooperMakerTraits::replaceExisting(EventSetupProvider&, std::shared_ptr<EDLooperBase>) {
0028       throw edm::Exception(edm::errors::LogicError) << "LooperMakerTraits::replaceExisting\n"
0029                                                     << "This function is not implemented and should never be called.\n"
0030                                                     << "Please report this to a Framework Developer\n";
0031     }
0032 
0033     std::shared_ptr<LooperMakerTraits::base_type> LooperMakerTraits::getComponentAndRegisterProcess(
0034         EventSetupsController&, ParameterSet const&) {
0035       return std::shared_ptr<LooperMakerTraits::base_type>();
0036     }
0037 
0038     void LooperMakerTraits::putComponent(EventSetupsController&,
0039                                          ParameterSet const&,
0040                                          std::shared_ptr<base_type> const&) {}
0041   }  // namespace eventsetup
0042 }  // namespace edm
0043 
0044 COMPONENTFACTORY_GET(edm::eventsetup::LooperMakerTraits);