Go to the documentation of this file.
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{
134 std::unique_ptr<reco::TrackToTrackingParticleAssociator>
toPut{
T const * product() const
T const * product() const
bool theConsiderAllSimHits
#define DEFINE_FWK_MODULE(type)
static TrackAssociatorByPositionImpl::Method parseMethodName(const std::string &meth)
double thePositionMinimumDistance
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
TrackAssociatorByPositionImpl::Method theMethod
T getParameter(std::string const &) const
TrackAssociatorByPositionProducer(const edm::ParameterSet &)
edm::EDGetTokenT< SimHitTPAssociationList > theSimHitTpMapToken
~TrackAssociatorByPositionProducer() override
TrackAssociatorByHitsImpl::SimHitTPAssociationList SimHitTPAssociationList
void addDefault(ParameterSetDescription const &psetDescription)
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
std::vector< SimHitTPPair > SimHitTPAssociationList