CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2_patch1/src/FWCore/Framework/src/ComponentMaker.cc

Go to the documentation of this file.
00001 #include "FWCore/Framework/interface/ComponentMaker.h"
00002 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00003 
00004 #include <string>
00005 
00006 namespace edm {
00007   namespace eventsetup {
00008 
00009 ComponentDescription 
00010 ComponentMakerBaseHelper::createComponentDescription(ParameterSet const& iConfiguration) const
00011 {
00012   ComponentDescription description;
00013   description.type_  = iConfiguration.getParameter<std::string>("@module_type");
00014   description.label_ = iConfiguration.getParameter<std::string>("@module_label");
00015 
00016   description.pid_            = iConfiguration.id();
00017   return description;
00018 }
00019 
00020 } // namespace eventsetup
00021 } // namespace edm