Definition at line 25 of file HitPairEDProducer.cc.
◆ HitPairEDProducer()
Definition at line 427 of file HitPairEDProducer.cc.
431 const bool useRegionLayers = !regionLayerTag.
label().empty();
432 if (useRegionLayers) {
435 <<
"HitPairEDProducer requires either trackingRegions or trackingRegionsSeedingLayers to be set, now both "
436 "are set to non-empty value. Set the unneeded parameter to empty value.";
438 if (!layersTag.label().empty()) {
440 <<
"With non-empty trackingRegionsSeedingLayers, please set also seedingLayers to empty value to reduce "
441 "confusion, because the parameter is not used";
444 if (
regionTag.label().empty() && regionLayerTag.
label().empty()) {
446 <<
"HitPairEDProducer requires either trackingRegions or trackingRegionsSeedingLayers to be set, now both are "
447 "set to empty value. Set the needed parameter to a non-empty value.";
456 <<
"Mode 'trackingRegionsSeedingLayers' makes sense only with 'produceSeedingHitsSets', now also "
457 "'produceIntermediateHitDoublets is active";
458 impl_ = std::make_unique<::Impl<::ImplSeedingHitSets, ::ImplIntermediateHitDoublets, ::RegionsLayersSeparate>>(
459 iConfig, layersTag,
regionTag, consumesCollector());
461 if (useRegionLayers) {
462 impl_ = std::make_unique<::Impl<::ImplSeedingHitSets, ::DoNothing, ::RegionsLayersTogether>>(
463 iConfig, regionLayerTag, consumesCollector());
465 impl_ = std::make_unique<::Impl<::ImplSeedingHitSets, ::DoNothing, ::RegionsLayersSeparate>>(
466 iConfig, layersTag,
regionTag, consumesCollector());
471 <<
"Mode 'trackingRegionsSeedingLayers' makes sense only with 'produceSeedingHitsSets', now "
472 "'produceIntermediateHitDoublets is active instead";
473 impl_ = std::make_unique<::Impl<::DoNothing, ::ImplIntermediateHitDoublets, ::RegionsLayersSeparate>>(
474 iConfig, layersTag,
regionTag, consumesCollector());
477 <<
"HitPairEDProducer requires either produceIntermediateHitDoublets or produceSeedingHitSets to be True. If "
478 "neither are needed, just remove this module from your sequence/path as it doesn't do anything useful";
481 if (!clusterCheckTag.label().empty())
484 impl_->produces(producesCollector());
References clusterCheckToken_, Exception, edm::ParameterSet::getParameter(), impl_, edm::InputTag::label(), HLT_FULL_cff::produceIntermediateHitDoublets, HLT_FULL_cff::produceSeedingHitSets, and ValL1Emulator_cff::regionTag.
◆ ~HitPairEDProducer()
HitPairEDProducer::~HitPairEDProducer |
( |
| ) |
|
|
overridedefault |
◆ fillDescriptions()
Definition at line 487 of file HitPairEDProducer.cc.
491 ->setComment(
"Set this empty if 'trackingRegionsSeedingLayers' is non-empty");
494 "Input tracking regions when using all layer sets in 'seedingLayers' (conflicts with "
495 "'trackingRegionsSeedingLayers', set this empty to use the other)");
498 "Input tracking regions and corresponding layer sets in case of dynamically limiting the seeding layers "
499 "(conflicts with 'trackingRegions', set this empty to use the other; if using this set also 'seedingLayers' "
502 desc.add<
bool>(
"produceSeedingHitSets",
false);
503 desc.add<
bool>(
"produceIntermediateHitDoublets",
false);
504 desc.add<
unsigned int>(
"maxElement", 1000000);
505 desc.add<
unsigned int>(
"maxElementTotal", 50000000);
506 desc.add<std::vector<unsigned>>(
"layerPairs", std::vector<unsigned>{0})
507 ->setComment(
"Indices to the pairs of consecutive layers, i.e. 0 means (0,1), 1 (1,2) etc.");
509 descriptions.
add(
"hitPairEDProducerDefault",
desc);
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and HLT_FULL_cff::InputTag.
◆ produce()
◆ clusterCheckToken_
◆ impl_
std::unique_ptr<::ImplBase> HitPairEDProducer::impl_ |
|
private |