13 if (
algorithm ==
"ThreeThresholdAlgorithm") {
16 edm::ESInputTag{
"", conf.getParameter<std::string>(
"ConditionsLabel")}),
29 if (
algorithm ==
"OldThreeThresholdAlgorithm") {
33 throw cms::Exception(
"[StripClusterizerAlgorithmFactory] Unregistered Algorithm")
34 <<
algorithm <<
" is not a registered StripClusterizerAlgorithm";
T getParameter(std::string const &) const
edm::ParameterSetDescription getConfigurationDescription4CCC(const CCC::OP &op)
float clusterChargeCut(const edm::ParameterSet &conf, const char *name="clusterChargeCut")
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
static std::unique_ptr< StripClusterizerAlgorithm > create(edm::ConsumesCollector &&, const edm::ParameterSet &)
static void fillDescriptions(edm::ParameterSetDescription &clusterizer)