#include <PixelInactiveAreaFinder.h>
Definition at line 38 of file PixelInactiveAreaFinder.h.
◆ VecArray2
◆ InactiveAreas()
PixelInactiveAreaFinder::InactiveAreas::InactiveAreas |
( |
const std::vector< SeedingLayerId > * |
inactiveLayers, |
|
|
std::vector< DetGroupSpanContainer > && |
inactiveSpans, |
|
|
const std::vector< std::pair< unsigned short, unsigned short > > * |
inactiveLayerPairIndices, |
|
|
const std::vector< std::vector< LayerSetIndex > > * |
layerSetIndexInactiveToActive |
|
) |
| |
|
inline |
◆ areasAndLayerSets()
Definition at line 373 of file PixelInactiveAreaFinder.cc.
377 std::vector<std::pair<VecArray2<Area>, std::vector<LayerSetIndex>>>
ret;
378 for (
auto&
item : spansLayerSets) {
379 auto& innerSpan =
item.first[0];
380 auto& outerSpan =
item.first[1];
381 VecArray2<Area> areas;
382 areas.emplace_back(innerSpan.rSpan.first,
383 innerSpan.rSpan.second,
384 innerSpan.phiSpan.first,
385 innerSpan.phiSpan.second,
386 innerSpan.zSpan.first,
387 innerSpan.zSpan.second);
388 areas.emplace_back(outerSpan.rSpan.first,
389 outerSpan.rSpan.second,
390 outerSpan.phiSpan.first,
391 outerSpan.phiSpan.second,
392 outerSpan.zSpan.first,
393 outerSpan.zSpan.second);
References edm::VecArray< T, N >::emplace_back(), B2GTnPMonitor_cfi::item, eostools::move(), point, runTheMatrix::ret, and spansAndLayerSets().
Referenced by PixelInactiveAreaTrackingRegionsSeedingLayersProducer::produce().
◆ spansAndLayerSets()
Definition at line 402 of file PixelInactiveAreaFinder.cc.
407 std::vector<std::pair<VecArray2<DetGroupSpan>, std::vector<LayerSetIndex>>>
ret;
410 <<
" z half width " << zwidth;
413 const auto& layerIdxPair = (*inactiveLayerPairIndices_)[
i];
417 for (
const auto& innerSpan : innerSpans) {
418 for (
const auto& outerSpan : outerSpans) {
419 if (phiRangesOverlap(innerSpan.phiSpan, outerSpan.phiSpan)) {
420 std::pair<float, float>
range(0, 0);
422 bool zOverlap =
false;
423 const auto innerDet = std::get<0>((*
inactiveLayers_)[layerIdxPair.first]);
424 const auto outerDet = std::get<0>((*
inactiveLayers_)[layerIdxPair.second]);
427 zOverlap = getZAxisOverlapRangeBarrel(innerSpan, outerSpan,
range);
429 zOverlap = getZAxisOverlapRangeBarrelEndcap(innerSpan, outerSpan,
range);
432 zOverlap = getZAxisOverlapRangeEndcap(innerSpan, outerSpan,
range);
434 throw cms::Exception(
"LogicError") <<
"Forward->barrel transition is not supported";
444 detGroupSpanInfo(innerSpan,
ss);
446 detGroupSpanInfo(outerSpan,
ss);
447 LogTrace(
"PixelInactiveAreaFinder") <<
" adding areas for active layer sets " <<
ss.str();
449 VecArray2<DetGroupSpan> vec;
450 vec.emplace_back(innerSpan);
451 vec.emplace_back(outerSpan);
References edm::VecArray< T, N >::emplace_back(), end, Exception, mps_fire::i, PixelInactiveAreaFinder::inactiveLayers_, PixelInactiveAreaFinder::layerSetIndexInactiveToActive_, LogDebug, LogTrace, eostools::move(), GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, point, FastTimerService_cff::range, runTheMatrix::ret, contentValuesCheck::ss, SiStripMonitorCluster_cfi::zmax, and SiStripMonitorCluster_cfi::zmin.
Referenced by areasAndLayerSets().
◆ inactiveLayerPairIndices_
const std::vector<std::pair<unsigned short, unsigned short> >* PixelInactiveAreaFinder::InactiveAreas::inactiveLayerPairIndices_ |
|
private |
◆ inactiveLayers_
const std::vector<SeedingLayerId>* PixelInactiveAreaFinder::InactiveAreas::inactiveLayers_ |
|
private |
◆ inactiveSpans_
◆ layerSetIndexInactiveToActive_
const std::vector<std::vector<LayerSetIndex> >* PixelInactiveAreaFinder::InactiveAreas::layerSetIndexInactiveToActive_ |
|
private |