31 if (!(
name_ ==
"SiPhase2VectorHitMatcher")) {
32 throw cms::Exception(
"ConfigurationError") <<
"Configuration specifies unknown ComponentName .\n" 33 <<
"Currently only 'SiPhase2VectorHitMatcher' is supported\n";
43 std::unique_ptr<VectorHitBuilderAlgorithm> matcher = std::make_unique<VectorHitBuilderAlgorithm>(
55 desc.add<
int>(
"maxVectorHits", 999999999);
59 desc.add<std::vector<double>>(
"BarrelCut",
71 desc.add<
int>(
"maxVectorHitsInAStack", 999);
72 desc.add<std::vector<double>>(
"EndcapCut",
81 descriptions.
add(
"siPhase2RecHitMatcher",
desc);
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > trackerTopoToken_
edm::ESGetToken< ClusterParameterEstimator< Phase2TrackerCluster1D >, TkPhase2OTCPERecord > cpeToken_
std::unique_ptr< VectorHitBuilderAlgorithm > produce(const TkPhase2OTCPERecord &)
SiPhase2RecHitMatcherESProducer(const edm::ParameterSet &)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > geometryToken_
const DepRecordT getRecord() const
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const