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