59 virtual void endJob()
override;
88 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"))
103 }
else if (tmp ==
"reco") {
108 throw cms::Exception(
"TrackAssociatorByHitsImpl") <<
"SimToRecoDenominator not specified as sim or reco";
112 produces<reco::TrackToTrackingParticleAssociator>();
144 std::unique_ptr<reco::TrackToTrackingParticleAssociatorBaseImpl> impl(
T getParameter(std::string const &) const
const double quality_SimToReco
TrackAssociatorByHitsImpl::SimHitTPAssociationList SimHitTPAssociationList
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
virtual void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
TrackerHitAssociator::Config trackerHitAssociatorConfig_
TrackAssociatorByHitsImpl::SimToRecoDenomType SimToRecoDenominator
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
EDProductGetter const & productGetter() const
~TrackAssociatorByHitsProducer()
const double purity_SimToReco
virtual void endJob() override
void addDefault(ParameterSetDescription const &psetDescription)
const bool ThreeHitTracksAreSpecial
const bool AbsoluteNumberOfHits
virtual void beginJob() override
std::vector< SimHitTPPair > SimHitTPAssociationList
const double cut_RecoToSim
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::vector< std::vector< double > > tmp
TrackAssociatorByHitsProducer(const edm::ParameterSet &)
edm::EDGetTokenT< SimHitTPAssociationList > simHitTpMapToken_