41 : seedingLayerSetsBuilder_(iConfig, consumesCollector()),
42 origins_(iConfig.getParameter<
edm::
ParameterSet>(
"RegionPSet"), consumesCollector()),
43 inactiveAreaFinder_(iConfig,
44 seedingLayerSetsBuilder_.
layers(),
45 seedingLayerSetsBuilder_.seedingLayerSetsLooper(),
47 trackingRegionsBuilder_(iConfig.getParameter<
edm::
ParameterSet>(
"RegionPSet"), consumesCollector()) {
48 produces<SeedingLayerSetsHits>();
49 produces<TrackingRegionsSeedingLayerSets>();
64 descriptions.
add(
"pixelInactiveAreaTrackingRegionsAndSeedingLayers",
desc);
77 for (
const auto& origin : origins) {
79 LogTrace(
"PixelInactiveAreaTrackingRegionsSeedingLayersProducer")
80 <<
"Origin " << origin.first.x() <<
"," << origin.first.y() <<
"," << origin.first.z() <<
" z half lengh "
82 for (
auto& areasLayerSet : areasLayerSets) {
83 auto region = builder.region(origin, areasLayerSet.first);
87 auto etaPhiRegion = dynamic_cast<const RectangularEtaPhiTrackingRegion*>(
region.get());
89 for (
const auto& ind : areasLayerSet.second) {
92 LogTrace(
"PixelInactiveAreaTrackingRegionsSeedingLayersProducer")
93 <<
" region eta,phi " <<
region->direction().eta() <<
"," <<
region->direction().phi() <<
" eta range "
94 << etaPhiRegion->etaRange().min() <<
"," << etaPhiRegion->etaRange().max() <<
" phi range "
95 << (
region->direction().phi() - etaPhiRegion->phiMargin().left()) <<
","
96 << (
region->direction().phi() + etaPhiRegion->phiMargin().right()) <<
" layer sets " <<
ss.str();