72 }
else if (
meth ==
"dist") {
74 }
else if (
meth ==
"momdr") {
76 }
else if (
meth ==
"posdr") {
79 throw cms::Exception(
"BadParameterName") <<
meth <<
" TrackAssociatorByPostionImpl::Method name not recognized.";
88 thePname{iConfig.getParameter<
std::string>(
"propagator")},
89 theQminCut{iConfig.getParameter<
double>(
"QminCut")},
90 theQCut{iConfig.getParameter<
double>(
"QCut")},
91 thePositionMinimumDistance{iConfig.getParameter<
double>(
"positionMinimumDistance")},
93 theMinIfNoMatch{iConfig.getParameter<
bool>(
"MinIfNoMatch")},
94 theConsiderAllSimHits{iConfig.getParameter<
bool>(
"ConsiderAllSimHits")} {
96 produces<reco::TrackToTrackingParticleAssociator>();
123 std::unique_ptr<reco::TrackToTrackingParticleAssociatorBaseImpl>
impl{
135 std::unique_ptr<reco::TrackToTrackingParticleAssociator>
toPut{