#include <SeedGeneratorFromRegionHitsEDProducer.h>
◆ SeedGeneratorFromRegionHitsEDProducer()
SeedGeneratorFromRegionHitsEDProducer::SeedGeneratorFromRegionHitsEDProducer |
( |
const edm::ParameterSet & |
cfg | ) |
|
Definition at line 24 of file SeedGeneratorFromRegionHitsEDProducer.cc.
28 cfg.getParameter<
edm::ParameterSet>(
"ClusterCheckPSet").getUntrackedParameter<bool>(
"silentClusterCheck",
false);
44 std::unique_ptr<SeedComparitor> aComparitor;
45 if (comparitorName !=
"none") {
51 theGenerator = std::make_unique<SeedGeneratorFromRegionHits>(
56 produces<TrajectorySeedCollection>();
References looper::cfg, beamerCreator::create(), get, edm::ParameterSet::getParameter(), moduleName, eostools::move(), AlCaHLTBitMon_QueryRunRegistry::string, theGenerator, theRegionProducer, and theSilentOnClusterCheck.
◆ ~SeedGeneratorFromRegionHitsEDProducer()
SeedGeneratorFromRegionHitsEDProducer::~SeedGeneratorFromRegionHitsEDProducer |
( |
| ) |
|
|
override |
◆ produce()
Definition at line 61 of file SeedGeneratorFromRegionHitsEDProducer.cc.
62 auto triplets = std::make_unique<TrajectorySeedCollection>();
68 edm::LogError(
"TooManyClusters") <<
"Found too many clusters (" << clustsOrZero <<
"), bailing out.\n";
73 typedef std::vector<std::unique_ptr<TrackingRegion> >
Regions;
74 typedef Regions::const_iterator IR;
77 for (IR ir =
regions.begin(), irEnd =
regions.end(); ir < irEnd; ++ir) {
84 triplets->shrink_to_fit();
References ev, eostools::move(), HLT_FULL_cff::region, SiPixelRawToDigiRegional_cfi::Regions, theClusterCheck, theGenerator, theRegionProducer, theSilentOnClusterCheck, and ClusterChecker::tooManyClusters().
◆ moduleName
std::string SeedGeneratorFromRegionHitsEDProducer::moduleName |
|
private |
◆ theClusterCheck
◆ theGenerator
◆ theRegionProducer
◆ theSilentOnClusterCheck
bool SeedGeneratorFromRegionHitsEDProducer::theSilentOnClusterCheck |
|
private |