59 virtual void endJob()
override;
91 quality_SimToReco(conf_.getParameter<double>(
"Quality_SimToReco")),
92 purity_SimToReco(conf_.getParameter<double>(
"Purity_SimToReco")),
93 cut_RecoToSim(conf_.getParameter<double>(
"Cut_RecoToSim")),
94 UsePixels(conf_.getParameter<bool>(
"UsePixels")),
95 UseGrouped(conf_.getParameter<bool>(
"UseGrouped")),
96 UseSplitting(conf_.getParameter<bool>(
"UseSplitting")),
97 ThreeHitTracksAreSpecial(conf_.getParameter<bool>(
"ThreeHitTracksAreSpecial")),
98 AbsoluteNumberOfHits(conf_.getParameter<bool>(
"AbsoluteNumberOfHits"))
103 }
else if (tmp ==
"reco") {
108 throw cms::Exception(
"TrackAssociatorByHitsImpl") <<
"SimToRecoDenominator not specified as sim or reco";
112 produces<reco::TrackToTrackingParticleAssociator>();
146 std::unique_ptr<reco::TrackToTrackingParticleAssociatorBaseImpl> impl(
T getParameter(std::string const &) const
const double quality_SimToReco
TrackAssociatorByHitsImpl::SimHitTPAssociationList SimHitTPAssociationList
virtual void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
TrackAssociatorByHitsImpl::SimToRecoDenomType SimToRecoDenominator
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
~TrackAssociatorByHitsProducer()
const double purity_SimToReco
virtual void endJob() override
void addDefault(ParameterSetDescription const &psetDescription)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
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_