00001 #include "FWCore/Framework/interface/ComponentMaker.h" 00002 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00003 00004 namespace edm { 00005 namespace eventsetup { 00006 00007 ComponentDescription 00008 ComponentMakerBaseHelper::createComponentDescription(ParameterSet const& iConfiguration, 00009 std::string const& iProcessName, 00010 ReleaseVersion const& iVersion, 00011 PassID const& iPass) const 00012 { 00013 ComponentDescription description; 00014 description.type_ = iConfiguration.getParameter<std::string>("@module_type"); 00015 description.label_ = iConfiguration.getParameter<std::string>("@module_label"); 00016 00017 description.releaseVersion_ = iVersion; 00018 description.pid_ = iConfiguration.id(); 00019 description.processName_ = iProcessName; 00020 description.passID_ = iPass; 00021 return description; 00022 } 00023 00024 } // namespace eventsetup 00025 } // namespace edm