26 theClusterCheck(cfg.getParameter<
edm::
ParameterSet>(
"ClusterCheckPSet"), consumesCollector()) {
44 std::unique_ptr<SeedComparitor> aComparitor;
45 if (comparitorName !=
"none") {
51 theGenerator = std::make_unique<SeedGeneratorFromRegionHits>(
56 produces<TrajectorySeedCollection>();
62 auto triplets = std::make_unique<TrajectorySeedCollection>();
68 edm::LogError(
"TooManyClusters") <<
"Found too many clusters (" << clustsOrZero <<
"), bailing out.\n";
73 typedef std::vector<std::unique_ptr<TrackingRegion> >
Regions;
74 typedef Regions::const_iterator IR;
77 for (IR ir = regions.begin(), irEnd = regions.end(); ir < irEnd; ++ir) {
84 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