78 throw cms::Exception(
"BadParameterName")<<meth<<
" TrackAssociatorByPostionImpl::Method name not recognized.";
87 thePname{iConfig.getParameter<
std::string>(
"propagator")},
88 theQminCut{iConfig.getParameter<
double>(
"QminCut")},
89 theQCut{iConfig.getParameter<
double>(
"QCut")},
90 thePositionMinimumDistance{iConfig.getParameter<
double>(
"positionMinimumDistance")},
92 theMinIfNoMatch{iConfig.getParameter<
bool>(
"MinIfNoMatch")},
93 theConsiderAllSimHits{iConfig.getParameter<
bool>(
"ConsiderAllSimHits")}
96 produces<reco::TrackToTrackingParticleAssociator>();
128 std::unique_ptr<reco::TrackToTrackingParticleAssociatorBaseImpl> impl{
static TrackAssociatorByPositionImpl::Method parseMethodName(const std::string &meth)
T getParameter(std::string const &) const
TrackAssociatorByHitsImpl::SimHitTPAssociationList SimHitTPAssociationList
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
bool theConsiderAllSimHits
edm::EDGetTokenT< SimHitTPAssociationList > theSimHitTpMapToken
double thePositionMinimumDistance
void addDefault(ParameterSetDescription const &psetDescription)
~TrackAssociatorByPositionProducer()
virtual void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
TrackAssociatorByPositionImpl::Method theMethod
TrackAssociatorByPositionProducer(const edm::ParameterSet &)
std::vector< SimHitTPPair > SimHitTPAssociationList