40 std::map<std::string, CPE_t> enumMap;
43 if (enumMap.find(name) == enumMap.end())
58 std::unique_ptr<ClusterParameterEstimator<Phase2TrackerCluster1D> > cpe_;
61 cpe_ = std::make_unique<Phase2StripCPE>(
66 cpe_ = std::make_unique<Phase2StripCPEGeometric>(
pset_);
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
const edm::EventSetup & c
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > pDDToken_
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magfieldToken_
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
Phase2StripCPEESProducer(const edm::ParameterSet &)
std::unique_ptr< ClusterParameterEstimator< Phase2TrackerCluster1D > > produce(const TkPhase2OTCPERecord &iRecord)
T getParameter(std::string const &) const
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
edm::ESGetToken< SiPhase2OuterTrackerLorentzAngle, SiPhase2OuterTrackerLorentzAngleRcd > lorentzAngleToken_