26 : theConfig(cfg), theGenerator(0), theRegionProducer(0), theClusterCheck(cfg.getParameter<edm::
ParameterSet>(
"ClusterCheckPSet"))
29 produces<TrajectorySeedCollection>();
45 std::string regfactoryName = regfactoryPSet.
getParameter<std::string>(
"ComponentName");
50 std::string hitsfactoryName = hitsfactoryPSet.
getParameter<std::string>(
"ComponentName");
56 std::string comparitorName = comparitorPSet.
getParameter<std::string>(
"ComponentName");
62 std::string creatorName = creatorPSet.
getParameter<std::string>(
"ComponentName");
78 edm::LogError(
"TooManyClusters") <<
"Found too many clusters (" << clustsOrZero <<
"), bailing out.\n";
83 typedef std::vector<TrackingRegion* > Regions;
84 typedef Regions::const_iterator IR;
87 for (IR ir=regions.begin(), irEnd=regions.end(); ir < irEnd; ++ir) {
95 for (IR ir=regions.begin(), irEnd=regions.end(); ir < irEnd; ++ir)
delete (*ir);
virtual void endRun(edm::Run &run, const edm::EventSetup &es)
T getParameter(std::string const &) const
bool theSilentOnClusterCheck
ClusterChecker theClusterCheck
SeedGeneratorFromRegionHits * theGenerator
SeedGeneratorFromRegionHitsEDProducer(const edm::ParameterSet &cfg)
~SeedGeneratorFromRegionHitsEDProducer()
std::vector< TrajectorySeed > TrajectorySeedCollection
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
size_t tooManyClusters(const edm::Event &e) const
virtual void produce(edm::Event &ev, const edm::EventSetup &es)
virtual void beginRun(edm::Run &run, const edm::EventSetup &es)
void run(TrajectorySeedCollection &seedCollection, const TrackingRegion ®ion, const edm::Event &ev, const edm::EventSetup &es)
edm::ParameterSet theConfig
TrackingRegionProducer * theRegionProducer
T get(const Candidate &c)
virtual std::vector< TrackingRegion * > regions(const edm::Event &ev, const edm::EventSetup &es) const =0