19 #include <boost/bind.hpp>
84 static std::map<edm::TypeID, edm::TypeWithDict> s_paramToSetterMap;
86 std::map<edm::TypeID, edm::TypeWithDict>::iterator itFind = s_paramToSetterMap.find(paramType);
87 if (itFind == s_paramToSetterMap.end()) {
90 fwLog(
fwlog::kError) <<
" the type " <<
typeid(*iParam).name() <<
" is not known to Root" << std::endl;
101 if (
name ==
"FWGenericParameter<bool>")
102 name =
"FWBoolParameterSetter";
103 else if (
name ==
"FWGenericParameter<std::string>")
104 name =
"FWStringParameterSetter";
105 else if (
name ==
"FWGenericParameter<std::basic_string<char> >")
106 name =
"FWStringParameterSetter";
107 else if (
name ==
"FWGenericParameterWithRange<double>")
108 name =
"FWDoubleParameterSetter";
109 else if (
name ==
"FWGenericParameterWithRange<long int>")
110 name =
"FWLongParameterSetter";
111 else if (
name ==
"FWGenericParameterWithRange<long>")
112 name =
"FWLongParameterSetter";
122 s_paramToSetterMap[paramType] = setterClass;
123 itFind = s_paramToSetterMap.find(paramType);
133 std::shared_ptr<FWParameterSetterBase> ptr(