447 const bool useRegionLayers = !regionLayerTag.
label().empty();
448 if (useRegionLayers) {
451 <<
"HitPairEDProducer requires either trackingRegions or trackingRegionsSeedingLayers to be set, now both " 452 "are set to non-empty value. Set the unneeded parameter to empty value.";
454 if (!layersTag.label().empty()) {
456 <<
"With non-empty trackingRegionsSeedingLayers, please set also seedingLayers to empty value to reduce " 457 "confusion, because the parameter is not used";
460 if (
regionTag.label().empty() && regionLayerTag.
label().empty()) {
462 <<
"HitPairEDProducer requires either trackingRegions or trackingRegionsSeedingLayers to be set, now both are " 463 "set to empty value. Set the needed parameter to a non-empty value.";
472 <<
"Mode 'trackingRegionsSeedingLayers' makes sense only with 'produceSeedingHitsSets', now also " 473 "'produceIntermediateHitDoublets is active";
474 impl_ = std::make_unique<::Impl<::ImplSeedingHitSets, ::ImplIntermediateHitDoublets, ::RegionsLayersSeparate>>(
475 iConfig, consumesCollector(), layersTag,
regionTag);
477 if (useRegionLayers) {
478 impl_ = std::make_unique<::Impl<::ImplSeedingHitSets, ::DoNothing, ::RegionsLayersTogether>>(
479 iConfig, consumesCollector(), regionLayerTag);
481 impl_ = std::make_unique<::Impl<::ImplSeedingHitSets, ::DoNothing, ::RegionsLayersSeparate>>(
482 iConfig, consumesCollector(), layersTag,
regionTag);
487 <<
"Mode 'trackingRegionsSeedingLayers' makes sense only with 'produceSeedingHitsSets', now " 488 "'produceIntermediateHitDoublets is active instead";
489 impl_ = std::make_unique<::Impl<::DoNothing, ::ImplIntermediateHitDoublets, ::RegionsLayersSeparate>>(
490 iConfig, consumesCollector(), layersTag,
regionTag);
493 <<
"HitPairEDProducer requires either produceIntermediateHitDoublets or produceSeedingHitSets to be True. If " 494 "neither are needed, just remove this module from your sequence/path as it doesn't do anything useful";
497 if (!clusterCheckTag.label().empty())
500 impl_->produces(producesCollector());
T getParameter(std::string const &) const
std::unique_ptr<::ImplBase > impl_
produceIntermediateHitDoublets
edm::EDGetTokenT< bool > clusterCheckToken_