18 if (!p.
exists(
"ComponentType"))
19 edm::LogWarning(
"StripCPEESProducer")<<
" the CPE producer should contain a ComponentType, probably identical to ComponentName in the first step of migration. Falling back to:"<<
type;
27 if(enumMap.find(type)==enumMap.end())
52 cpe = boost::shared_ptr<StripClusterParameterEstimator>(
new StripCPE(
pset, *magfield, *pDD, *lorentzAngle, *backPlaneCorrection, *confObj, *latency ));
56 cpe = boost::shared_ptr<StripClusterParameterEstimator>(
new StripCPEfromTrackAngle(
pset, *magfield, *pDD, *lorentzAngle, *backPlaneCorrection, *confObj, *latency ));
60 cpe = boost::shared_ptr<StripClusterParameterEstimator>(
new StripCPEgeometric(
pset, *magfield, *pDD, *lorentzAngle, *backPlaneCorrection, *confObj, *latency ));
64 cpe = boost::shared_ptr<StripClusterParameterEstimator>(
new StripCPEfromTemplate(
pset, *magfield, *pDD, *lorentzAngle, *backPlaneCorrection, *confObj, *latency ));
T getParameter(std::string const &) const
bool exists(std::string const ¶meterName) const
checks if a parameter exists
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 &)