25 : theClusterCheck(iConfig, consumesCollector()),
26 theSilentOnClusterCheck(iConfig.getUntrackedParameter<
bool>(
"silentClusterCheck")) {
33 desc.addUntracked<
bool>(
"silentClusterCheck",
false);
35 descriptions.
add(
"trackerClusterCheckDefault",
desc);
39 auto ret = std::make_unique<bool>(
true);
45 edm::LogError(
"TooManyClusters") <<
"Found too many clusters (" << clustsOrZero <<
"), bailing out.";
ClusterChecker theClusterCheck
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
size_t tooManyClusters(const edm::Event &e) const
ret
prodAgent to be discontinued
#define DEFINE_FWK_MODULE(type)
bool theSilentOnClusterCheck
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
static void fillDescriptions(edm::ParameterSetDescription &description)
Log< level::Error, false > LogError
~ClusterCheckerEDProducer() override=default
void add(std::string const &label, ParameterSetDescription const &psetDescription)
ClusterCheckerEDProducer(const edm::ParameterSet &iConfig)