18 : cosmic_seed(conf, consumesCollector()),
19 check(conf, consumesCollector())
22 edm::LogInfo(
"CosmicSeedGenerator") <<
"Enter the CosmicSeedGenerator";
28 produces<TrajectorySeedCollection>();
43 auto output = std::make_unique<TrajectorySeedCollection>();
51 edm::LogError(
"TooManyClusters") <<
"Found too many clusters (" << clustsOrZero <<
"), bailing out.\n";
54 LogDebug(
"CosmicSeedGenerator") <<
" number of seeds = " <<
output->size();
T getParameter(std::string const &) const
edm::EDGetTokenT< SiStripMatchedRecHit2DCollection > matchedrecHitsToken_
size_t tooManyClusters(const edm::Event &e) const
~CosmicSeedGenerator() override
void produce(edm::Event &e, const edm::EventSetup &c) override
edm::EDGetTokenT< SiStripRecHit2DCollection > rphirecHitsToken_
Log< level::Error, false > LogError
edm::EDGetTokenT< SiStripRecHit2DCollection > stereorecHitsToken_
CosmicSeedGenerator(const edm::ParameterSet &conf)
SeedGeneratorForCosmics cosmic_seed
Log< level::Info, false > LogInfo
void run(const SiStripRecHit2DCollection &collstereo, const SiStripRecHit2DCollection &collrphi, const SiStripMatchedRecHit2DCollection &collmatched, const edm::EventSetup &c, TrajectorySeedCollection &)