19 conf_(conf) ,cosmic_seed(conf),
20 check(conf,consumesCollector())
23 edm::LogInfo (
"CosmicSeedGenerator")<<
"Enter the CosmicSeedGenerator";
24 produces<TrajectorySeedCollection>();
42 ev.
getByLabel( stereorecHitsTag ,stereorecHits );
44 ev.
getByLabel( matchedrecHitsTag ,matchedrecHits );
56 }
else edm::LogError(
"TooManyClusters") <<
"Found too many clusters (" << clustsOrZero <<
"), bailing out.\n";
59 LogDebug(
"CosmicSeedGenerator")<<
" number of seeds = "<< output->size();
T getParameter(std::string const &) const
void run(TrajectorySeedCollection &, const edm::EventSetup &c)
virtual void produce(edm::Event &e, const edm::EventSetup &c) override
virtual ~CosmicSeedGenerator()
CosmicSeedGenerator(const edm::ParameterSet &conf)
std::vector< TrajectorySeed > TrajectorySeedCollection
bool check(const std::string &)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
size_t tooManyClusters(const edm::Event &e) const
SeedGeneratorForCosmics cosmic_seed
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
void init(const SiStripRecHit2DCollection &collstereo, const SiStripRecHit2DCollection &collrphi, const SiStripMatchedRecHit2DCollection &collmatched, const edm::EventSetup &c)