20 check(conf,consumesCollector())
23 edm::LogInfo (
"CosmicSeedGenerator")<<
"Enter the CosmicSeedGenerator";
32 produces<TrajectorySeedCollection>();
59 }
else edm::LogError(
"TooManyClusters") <<
"Found too many clusters (" << clustsOrZero <<
"), bailing out.\n";
62 LogDebug(
"CosmicSeedGenerator")<<
" number of seeds = "<< output->size();
T getParameter(std::string const &) const
edm::EDGetTokenT< SiStripMatchedRecHit2DCollection > matchedrecHitsToken_
void run(TrajectorySeedCollection &, const edm::EventSetup &c)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
virtual void produce(edm::Event &e, const edm::EventSetup &c) override
edm::EDGetTokenT< SiStripRecHit2DCollection > rphirecHitsToken_
edm::EDGetTokenT< SiStripRecHit2DCollection > stereorecHitsToken_
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
void init(const SiStripRecHit2DCollection &collstereo, const SiStripRecHit2DCollection &collrphi, const SiStripMatchedRecHit2DCollection &collmatched, const edm::EventSetup &c)