25 : theClusterCheck(iConfig, consumesCollector()),
26 theSilentOnClusterCheck(iConfig.getUntrackedParameter<bool>(
"silentClusterCheck")) {
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
tuple ret
prodAgent to be discontinued
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
#define DEFINE_FWK_MODULE(type)
bool theSilentOnClusterCheck
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
static void fillDescriptions(edm::ParameterSetDescription &description)
Log< level::Error, false > LogError
size_t tooManyClusters(const edm::Event &e) const
~ClusterCheckerEDProducer() override=default
void add(std::string const &label, ParameterSetDescription const &psetDescription)
ClusterCheckerEDProducer(const edm::ParameterSet &iConfig)