86 : trackerHitAssociatorConfig_(iConfig, consumesCollector()),
91 quality_SimToReco(iConfig.getParameter<double>(
"Quality_SimToReco")),
92 purity_SimToReco(iConfig.getParameter<double>(
"Purity_SimToReco")),
93 cut_RecoToSim(iConfig.getParameter<double>(
"Cut_RecoToSim")),
94 UsePixels(iConfig.getParameter<bool>(
"UsePixels")),
95 UseGrouped(iConfig.getParameter<bool>(
"UseGrouped")),
96 UseSplitting(iConfig.getParameter<bool>(
"UseSplitting")),
97 ThreeHitTracksAreSpecial(iConfig.getParameter<bool>(
"ThreeHitTracksAreSpecial")),
98 AbsoluteNumberOfHits(iConfig.getParameter<bool>(
"AbsoluteNumberOfHits")) {
102 }
else if (tmp ==
"reco") {
107 throw cms::Exception(
"TrackAssociatorByHitsImpl") <<
"SimToRecoDenominator not specified as sim or reco";
122 std::make_unique<TrackAssociatorByHitsImpl>(
const double quality_SimToReco
TrackAssociatorByHitsImpl::SimHitTPAssociationList SimHitTPAssociationList
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
TrackerHitAssociator::Config trackerHitAssociatorConfig_
TrackAssociatorByHitsImpl::SimToRecoDenomType SimToRecoDenominator
#define DEFINE_FWK_MODULE(type)
EDProductGetter const & productGetter() const
const double purity_SimToReco
bool getData(T &iHolder) const
void addDefault(ParameterSetDescription const &psetDescription)
const bool ThreeHitTracksAreSpecial
const bool AbsoluteNumberOfHits
bool get(ProductID const &oid, Handle< PROD > &result) const
std::vector< SimHitTPPair > SimHitTPAssociationList
edm::EDPutTokenT< reco::TrackToTrackingParticleAssociator > putToken_
const double cut_RecoToSim
OrphanHandle< PROD > emplace(EDPutTokenT< PROD > token, Args &&...args)
puts a new product
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
T getParameter(std::string const &) const
TrackAssociatorByHitsProducer(const edm::ParameterSet &)
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoToken_
~TrackAssociatorByHitsProducer() override=default
edm::EDGetTokenT< SimHitTPAssociationList > simHitTpMapToken_