28 theClusterCheck(cfg.getParameter<
edm::
ParameterSet>(
"ClusterCheckPSet"),consumesCollector())
50 std::unique_ptr<SeedComparitor> aComparitor;
51 if(comparitorName !=
"none") {
61 produces<TrajectorySeedCollection>();
70 auto triplets = std::make_unique<TrajectorySeedCollection>();
76 edm::LogError(
"TooManyClusters") <<
"Found too many clusters (" << clustsOrZero <<
"), bailing out.\n";
81 typedef std::vector<std::unique_ptr<TrackingRegion> > Regions;
82 typedef Regions::const_iterator IR;
85 for (IR ir=regions.begin(), irEnd=regions.end(); ir < irEnd; ++ir) {
92 triplets->shrink_to_fit();
T getParameter(std::string const &) const
bool theSilentOnClusterCheck
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
ClusterChecker theClusterCheck
SeedGeneratorFromRegionHitsEDProducer(const edm::ParameterSet &cfg)
void produce(edm::Event &ev, const edm::EventSetup &es) override
std::unique_ptr< TrackingRegionProducer > theRegionProducer
~SeedGeneratorFromRegionHitsEDProducer() override
size_t tooManyClusters(const edm::Event &e) const
std::unique_ptr< SeedGeneratorFromRegionHits > theGenerator
T get(const Candidate &c)