28 theClusterCheck(cfg.getParameter<
edm::
ParameterSet>(
"ClusterCheckPSet"),consumesCollector())
60 produces<TrajectorySeedCollection>();
69 auto triplets = std::make_unique<TrajectorySeedCollection>();
75 edm::LogError(
"TooManyClusters") <<
"Found too many clusters (" << clustsOrZero <<
"), bailing out.\n";
80 typedef std::vector<std::unique_ptr<TrackingRegion> > Regions;
81 typedef Regions::const_iterator IR;
84 for (IR ir=regions.begin(), irEnd=regions.end(); ir < irEnd; ++ir) {
T getParameter(std::string const &) const
bool theSilentOnClusterCheck
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
ClusterChecker theClusterCheck
def create(alignables, pedeDump, additionalData, outputFile, config)
SeedGeneratorFromRegionHitsEDProducer(const edm::ParameterSet &cfg)
void produce(edm::Event &ev, const edm::EventSetup &es) override
std::unique_ptr< TrackingRegionProducer > theRegionProducer
~SeedGeneratorFromRegionHitsEDProducer() override
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
size_t tooManyClusters(const edm::Event &e) const
return(e1-e2)*(e1-e2)+dp *dp
std::unique_ptr< SeedGeneratorFromRegionHits > theGenerator
T get(const Candidate &c)