#include <PixelInactiveAreaFinder.h>
Classes | |
struct | DetGroupSpan |
class | InactiveAreas |
Public Types | |
using | Area = AreaSeededTrackingRegionsBuilder::Area |
using | DetGroupSpanContainer = std::vector< DetGroupSpan > |
using | LayerSetIndex = SeedingLayerSetsHits::LayerSetIndex |
using | SeedingLayerId = SeedingLayerSetsBuilder::SeedingLayerId |
Public Member Functions | |
InactiveAreas | inactiveAreas (const edm::Event &iEvent, const edm::EventSetup &iSetup) |
PixelInactiveAreaFinder (const edm::ParameterSet &iConfig, const std::vector< SeedingLayerId > &seedingLayers, const SeedingLayerSetsLooper &seedingLayerSetsLooper, edm::ConsumesCollector &&iC) | |
~PixelInactiveAreaFinder ()=default | |
Static Public Member Functions | |
static void | fillDescriptions (edm::ParameterSetDescription &desc) |
Private Types | |
using | det_t = uint32_t |
using | DetContainer = std::vector< uint32_t > |
using | DetectorSet = std::set< uint32_t > |
using | DetGroup = std::vector< uint32_t > |
using | DetGroupContainer = std::vector< DetGroup > |
using | DetGroupSpanContainerPair = std::pair< DetGroupSpanContainer, DetGroupSpanContainer > |
using | OverlapSpans = std::vector< DetGroupSpan > |
using | OverlapSpansContainer = std::vector< OverlapSpans > |
using | Stream = std::stringstream |
Private Member Functions | |
DetGroup | badAdjecentDetsBarrel (const det_t &det) |
DetGroup | badAdjecentDetsEndcap (const det_t &det) |
DetGroupContainer | badDetGroupsBarrel () |
DetGroupContainer | badDetGroupsEndcap () |
void | createPlottingFiles () |
DetGroupSpanContainerPair | detGroupSpans () |
void | detInfo (const det_t &det, Stream &ss) |
bool | detWorks (det_t det) |
void | getBadPixelDets (const edm::Event &iEvent, const edm::EventSetup &iSetup) |
void | getPhiSpanBarrel (const DetGroup &detGroup, DetGroupSpan &cspan) |
void | getPhiSpanEndcap (const DetGroup &detGroup, DetGroupSpan &cspan) |
void | getRSpan (const DetGroup &detGroup, DetGroupSpan &cspan) |
void | getSpan (const DetGroup &detGroup, DetGroupSpan &cspan) |
void | getZSpan (const DetGroup &detGroup, DetGroupSpan &cspan) |
void | printBadDetGroups () |
void | printBadDetGroupSpans () |
void | printBadPixelDets () |
void | printPixelDets () |
DetGroup | reachableDetGroup (const det_t &initDet, DetectorSet &foundDets) |
void | updatePixelDets (const edm::EventSetup &iSetup) |
Definition at line 23 of file PixelInactiveAreaFinder.h.
Definition at line 25 of file PixelInactiveAreaFinder.h.
|
private |
Definition at line 104 of file PixelInactiveAreaFinder.h.
|
private |
Definition at line 105 of file PixelInactiveAreaFinder.h.
|
private |
Definition at line 108 of file PixelInactiveAreaFinder.h.
|
private |
Definition at line 106 of file PixelInactiveAreaFinder.h.
|
private |
Definition at line 107 of file PixelInactiveAreaFinder.h.
using PixelInactiveAreaFinder::DetGroupSpanContainer = std::vector<DetGroupSpan> |
Definition at line 38 of file PixelInactiveAreaFinder.h.
|
private |
Definition at line 97 of file PixelInactiveAreaFinder.h.
Definition at line 27 of file PixelInactiveAreaFinder.h.
|
private |
Definition at line 98 of file PixelInactiveAreaFinder.h.
|
private |
Definition at line 99 of file PixelInactiveAreaFinder.h.
Definition at line 26 of file PixelInactiveAreaFinder.h.
|
private |
Definition at line 109 of file PixelInactiveAreaFinder.h.
PixelInactiveAreaFinder::PixelInactiveAreaFinder | ( | const edm::ParameterSet & | iConfig, |
const std::vector< SeedingLayerId > & | seedingLayers, | ||
const SeedingLayerSetsLooper & | seedingLayerSetsLooper, | ||
edm::ConsumesCollector && | iC | ||
) |
Definition at line 459 of file PixelInactiveAreaFinder.cc.
References makeGlobalPositionRcd_cfg::tag.
|
default |
|
private |
Definition at line 890 of file PixelInactiveAreaFinder.cc.
References HltBtagPostValidation_cff::c, detWorks(), PVValHelper::ladder, pixelTopology::layer, callgraph::module, nBPixLadders, nModulesPerLadder, and trackerTopology_.
Referenced by reachableDetGroup().
|
private |
Definition at line 916 of file PixelInactiveAreaFinder.cc.
References badPixelDetsEndcap_, TrackerGeometry::idToDet(), SequenceTypes::ignore(), Surface::phiSpan(), TrackerTopology::pxfDisk(), GeomDet::surface(), trackerGeometry_, trackerTopology_, and z.
Referenced by reachableDetGroup().
|
private |
Definition at line 970 of file PixelInactiveAreaFinder.cc.
References badPixelDetsBarrel_, and reachableDetGroup().
Referenced by detGroupSpans(), and printBadDetGroups().
|
private |
Definition at line 980 of file PixelInactiveAreaFinder.cc.
References badPixelDetsEndcap_, ignoreSingleFPixPanelModules_, and reachableDetGroup().
Referenced by detGroupSpans(), and printBadDetGroups().
|
private |
Definition at line 844 of file PixelInactiveAreaFinder.cc.
References badPixelDetsBarrel_, badPixelDetsEndcap_, detGroupSpans(), detInfo(), pixelDetsBarrel_, pixelDetsEndcap_, contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by inactiveAreas().
|
private |
Definition at line 1133 of file PixelInactiveAreaFinder.cc.
References badDetGroupsBarrel(), badDetGroupsEndcap(), and getSpan().
Referenced by createPlottingFiles(), inactiveAreas(), and printBadDetGroupSpans().
Definition at line 730 of file PixelInactiveAreaFinder.cc.
References alignBH_cfg::fixed, TrackerGeometry::idToDet(), PVValHelper::ladder, pixelTopology::layer, callgraph::module, Surface::phiSpan(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, TrackerTopology::pxbLadder(), TrackerTopology::pxbLayer(), TrackerTopology::pxbModule(), TrackerTopology::pxfBlade(), TrackerTopology::pxfDisk(), TrackerTopology::pxfPanel(), contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), GeomDet::surface(), trackerGeometry_, and trackerTopology_.
Referenced by createPlottingFiles(), printBadDetGroups(), printBadPixelDets(), and printPixelDets().
|
private |
Definition at line 886 of file PixelInactiveAreaFinder.cc.
References badPixelDetsBarrel_, badPixelDetsEndcap_, and spr::find().
Referenced by badAdjecentDetsBarrel().
|
static |
Definition at line 541 of file PixelInactiveAreaFinder.cc.
References submitPVResolutionJobs::desc, and HLT_2022v15_cff::InputTag.
Referenced by PixelInactiveAreaTrackingRegionsSeedingLayersProducer::fillDescriptions().
|
private |
Definition at line 684 of file PixelInactiveAreaFinder.cc.
References badPixelDetsBarrel_, badPixelDetsEndcap_, badPixelFEDChannelsTokens_, edm::EventSetup::getData(), l1ctLayer2EG_cff::id, iEvent, inactivePixelDetectorTokens_, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, pixelQualityToken_, jetUpdater_cfi::sort, unpackBuffers-CaloStage2::token, and tier0::unique().
Referenced by inactiveAreas().
|
private |
Definition at line 998 of file PixelInactiveAreaFinder.cc.
References PixelInactiveAreaFinder::DetGroupSpan::disk, geometryDiff::epsilon, mps_fire::i, TrackerGeometry::idToDet(), createfilelist::int, PixelInactiveAreaFinder::DetGroupSpan::layer, nBPixLadders, PixelInactiveAreaFinder::DetGroupSpan::phiSpan, Surface::phiSpan(), TrackerTopology::pxbDetId(), TrackerTopology::pxbLadder(), TrackerTopology::pxbLayer(), GeomDet::surface(), trackerGeometry_, trackerTopology_, and parallelization::uint.
Referenced by getSpan(), and printBadDetGroups().
|
private |
Definition at line 1038 of file PixelInactiveAreaFinder.cc.
References counter, geometryDiff::epsilon, newFWLiteAna::found, PixelInactiveAreaFinder::DetGroupSpan::phiSpan, contentValuesCheck::ss, and trackerGeometry_.
Referenced by getSpan(), and printBadDetGroups().
|
private |
Definition at line 1106 of file PixelInactiveAreaFinder.cc.
References TrackerGeometry::idToDet(), PixelInactiveAreaFinder::DetGroupSpan::rSpan, Surface::rSpan(), GeomDet::surface(), and trackerGeometry_.
Referenced by getSpan(), and printBadDetGroups().
|
private |
Definition at line 1116 of file PixelInactiveAreaFinder.cc.
References PixelInactiveAreaFinder::DetGroupSpan::disk, getPhiSpanBarrel(), getPhiSpanEndcap(), getRSpan(), getZSpan(), PixelInactiveAreaFinder::DetGroupSpan::layer, TrackerTopology::pxbLayer(), TrackerTopology::pxfDisk(), PixelInactiveAreaFinder::DetGroupSpan::subdetId, DetId::subdetId(), and trackerTopology_.
Referenced by detGroupSpans().
|
private |
Definition at line 1096 of file PixelInactiveAreaFinder.cc.
References TrackerGeometry::idToDet(), GeomDet::surface(), trackerGeometry_, PixelInactiveAreaFinder::DetGroupSpan::zSpan, and Surface::zSpan().
Referenced by getSpan(), and printBadDetGroups().
PixelInactiveAreaFinder::InactiveAreas PixelInactiveAreaFinder::inactiveAreas | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 554 of file PixelInactiveAreaFinder.cc.
References Barrel, createPlottingFiles(), createPlottingFiles_, debug_, detGroupSpans(), HLT_2022v15_cff::distance, spr::find(), newFWLiteAna::found, getBadPixelDets(), edm::EventSetup::getData(), iEvent, inactiveLayers_, inactiveLayerSetIndices_, pixelTopology::layer, layerSetIndexInactiveToActive_, eostools::move(), NegEndcap, GeomDetEnumerators::PixelBarrel, PixelSubdetector::PixelBarrel, GeomDetEnumerators::PixelEndcap, PosEndcap, push_back(), runTheMatrix::ret, trackerGeometry_, trackerGeometryToken_, trackerTopology_, trackerTopologyToken_, and updatePixelDets().
Referenced by PixelInactiveAreaTrackingRegionsSeedingLayersProducer::produce().
|
private |
Definition at line 797 of file PixelInactiveAreaFinder.cc.
References badDetGroupsBarrel(), badDetGroupsEndcap(), detInfo(), getPhiSpanBarrel(), getPhiSpanEndcap(), getRSpan(), getZSpan(), and contentValuesCheck::ss.
|
private |
Definition at line 831 of file PixelInactiveAreaFinder.cc.
References detGroupSpans(), and contentValuesCheck::ss.
|
private |
Definition at line 782 of file PixelInactiveAreaFinder.cc.
References badPixelDetsBarrel_, badPixelDetsEndcap_, detInfo(), contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 767 of file PixelInactiveAreaFinder.cc.
References detInfo(), pixelDetsBarrel_, pixelDetsEndcap_, contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 941 of file PixelInactiveAreaFinder.cc.
References badAdjecentDetsBarrel(), badAdjecentDetsEndcap(), PixelSubdetector::PixelBarrel, and PixelSubdetector::PixelEndcap.
Referenced by badDetGroupsBarrel(), and badDetGroupsEndcap().
|
private |
Definition at line 605 of file PixelInactiveAreaFinder.cc.
References edm::ESWatcher< T >::check(), dqmiodumpmetadata::counts, createPlottingFiles_, TrackerGeometry::detsPXB(), TrackerGeometry::detsPXF(), mps_fire::end, Exception, geometryWatcher_, PVValHelper::ladder, pixelTopology::layer, TrackerTopology::layer(), LogDebug, LogTrace, nBPixLadders, nModulesPerLadder, TrackerGeometry::numberOfLayers(), PixelSubdetector::PixelBarrel, pixelDetsBarrel_, pixelDetsEndcap_, PixelSubdetector::PixelEndcap, TrackerTopology::pxbLadder(), jetUpdater_cfi::sort, trackerGeometry_, trackerTopology_, and heppy_batch::val.
Referenced by inactiveAreas().
|
private |
Definition at line 119 of file PixelInactiveAreaFinder.h.
Referenced by badDetGroupsBarrel(), createPlottingFiles(), detWorks(), getBadPixelDets(), and printBadPixelDets().
|
private |
Definition at line 120 of file PixelInactiveAreaFinder.h.
Referenced by badAdjecentDetsEndcap(), badDetGroupsEndcap(), createPlottingFiles(), detWorks(), getBadPixelDets(), and printBadPixelDets().
|
private |
Definition at line 91 of file PixelInactiveAreaFinder.h.
Referenced by getBadPixelDets().
|
private |
Definition at line 82 of file PixelInactiveAreaFinder.h.
Referenced by inactiveAreas(), and updatePixelDets().
|
private |
Definition at line 81 of file PixelInactiveAreaFinder.h.
Referenced by inactiveAreas().
|
private |
Definition at line 111 of file PixelInactiveAreaFinder.h.
Referenced by updatePixelDets().
|
private |
Definition at line 83 of file PixelInactiveAreaFinder.h.
Referenced by badDetGroupsEndcap().
|
private |
Definition at line 85 of file PixelInactiveAreaFinder.h.
Referenced by inactiveAreas().
|
private |
Definition at line 86 of file PixelInactiveAreaFinder.h.
Referenced by inactiveAreas().
|
private |
Definition at line 90 of file PixelInactiveAreaFinder.h.
Referenced by getBadPixelDets().
|
private |
Definition at line 88 of file PixelInactiveAreaFinder.h.
Referenced by inactiveAreas(), and PixelInactiveAreaFinder::InactiveAreas::spansAndLayerSets().
|
private |
Definition at line 101 of file PixelInactiveAreaFinder.h.
Referenced by badAdjecentDetsBarrel(), getPhiSpanBarrel(), and updatePixelDets().
|
private |
Definition at line 102 of file PixelInactiveAreaFinder.h.
Referenced by badAdjecentDetsBarrel(), and updatePixelDets().
|
private |
Definition at line 117 of file PixelInactiveAreaFinder.h.
Referenced by createPlottingFiles(), printPixelDets(), and updatePixelDets().
|
private |
Definition at line 118 of file PixelInactiveAreaFinder.h.
Referenced by createPlottingFiles(), printPixelDets(), and updatePixelDets().
|
private |
Definition at line 113 of file PixelInactiveAreaFinder.h.
|
private |
Definition at line 94 of file PixelInactiveAreaFinder.h.
Referenced by getBadPixelDets().
|
private |
Definition at line 114 of file PixelInactiveAreaFinder.h.
Referenced by badAdjecentDetsEndcap(), detInfo(), getPhiSpanBarrel(), getPhiSpanEndcap(), getRSpan(), getZSpan(), inactiveAreas(), and updatePixelDets().
|
private |
Definition at line 92 of file PixelInactiveAreaFinder.h.
Referenced by inactiveAreas().
|
private |
Definition at line 115 of file PixelInactiveAreaFinder.h.
Referenced by badAdjecentDetsBarrel(), badAdjecentDetsEndcap(), detInfo(), getPhiSpanBarrel(), getSpan(), inactiveAreas(), and updatePixelDets().
|
private |
Definition at line 93 of file PixelInactiveAreaFinder.h.
Referenced by inactiveAreas().