29 theClusterCheck(cfg.getParameter<edm::
ParameterSet>(
"ClusterCheckPSet"),consumesCollector()),
41 if ( cfg.
exists(
"SeedMergerPSet")) {
71 produces<TrajectorySeedCollection>();
87 edm::LogError(
"TooManyClusters") <<
"Found too many clusters (" << clustsOrZero <<
"), bailing out.\n";
92 typedef std::vector<TrackingRegion* >
Regions;
93 typedef Regions::const_iterator IR;
98 for (IR ir=regions.begin(), irEnd=regions.end(); ir < irEnd; ++ir) {
110 for( TrajectorySeedCollection::const_iterator qIt = tempQuads.begin(); qIt < tempQuads.end(); ++qIt ) {
111 quadruplets->push_back( *qIt );
115 triplets->shrink_to_fit();
116 quadruplets->shrink_to_fit();
119 for (IR ir=regions.begin(), irEnd=regions.end(); ir < irEnd; ++ir)
delete (*ir);
T getParameter(std::string const &) const
bool theSilentOnClusterCheck
ClusterChecker theClusterCheck
bool exists(std::string const ¶meterName) const
checks if a parameter exists
SeedGeneratorFromRegionHitsEDProducer(const edm::ParameterSet &cfg)
~SeedGeneratorFromRegionHitsEDProducer()
virtual void produce(edm::Event &ev, const edm::EventSetup &es) override
std::unique_ptr< TrackingRegionProducer > theRegionProducer
std::vector< TrajectorySeed > TrajectorySeedCollection
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
size_t tooManyClusters(const edm::Event &e) const
std::unique_ptr< QuadrupletSeedMerger > theMerger_
std::unique_ptr< SeedGeneratorFromRegionHits > theGenerator
T get(const Candidate &c)