18 enumMap[std::string(
"StripCPEfromTrackAngle")]=
TRACKANGLE;
19 enumMap[std::string(
"StripCPEgeometric")]=
GEOMETRIC;
20 enumMap[std::string(
"StripCPEfromTemplate")]=
TEMPLATE;
21 if(enumMap.find(name)==enumMap.end())
46 cpe = boost::shared_ptr<StripClusterParameterEstimator>(
new StripCPE(
pset, *magfield, *pDD, *lorentzAngle, *confObj, *latency ));
50 cpe = boost::shared_ptr<StripClusterParameterEstimator>(
new StripCPEfromTrackAngle(
pset, *magfield, *pDD, *lorentzAngle, *confObj, *latency ));
54 cpe = boost::shared_ptr<StripClusterParameterEstimator>(
new StripCPEgeometric(
pset, *magfield, *pDD, *lorentzAngle, *confObj, *latency ));
58 cpe = boost::shared_ptr<StripClusterParameterEstimator>(
new StripCPEfromTemplate(
pset, *magfield, *pDD, *lorentzAngle, *confObj, *latency ));
T getParameter(std::string const &) const
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
int bad(Items const &cont)
const DepRecordT & getRecord() const
boost::shared_ptr< StripClusterParameterEstimator > cpe
std::map< std::string, CPE_t > enumMap
StripCPEESProducer(const edm::ParameterSet &)
boost::shared_ptr< StripClusterParameterEstimator > produce(const TkStripCPERecord &)