#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 894 of file PixelInactiveAreaFinder.cc.
References HltBtagPostValidation_cff::c, hcalRecHitTable_cff::detId, detWorks(), PVValHelper::ladder, nano_mu_digi_cff::layer, nBPixLadders, nModulesPerLadder, and trackerTopology_.
Referenced by reachableDetGroup().
|
private |
Definition at line 920 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 974 of file PixelInactiveAreaFinder.cc.
References badPixelDetsBarrel_, and reachableDetGroup().
Referenced by detGroupSpans(), and printBadDetGroups().
|
private |
Definition at line 984 of file PixelInactiveAreaFinder.cc.
References badPixelDetsEndcap_, ignoreSingleFPixPanelModules_, and reachableDetGroup().
Referenced by detGroupSpans(), and printBadDetGroups().
|
private |
Definition at line 848 of file PixelInactiveAreaFinder.cc.
References badPixelDetsBarrel_, badPixelDetsEndcap_, detGroupSpans(), detInfo(), pixelDetsBarrel_, pixelDetsEndcap_, contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by inactiveAreas().
|
private |
Definition at line 1137 of file PixelInactiveAreaFinder.cc.
References badDetGroupsBarrel(), badDetGroupsEndcap(), and getSpan().
Referenced by createPlottingFiles(), inactiveAreas(), and printBadDetGroupSpans().
Definition at line 734 of file PixelInactiveAreaFinder.cc.
References alignBH_cfg::fixed, TrackerGeometry::idToDet(), PVValHelper::ladder, nano_mu_digi_cff::layer, 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 890 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 ProducerED_cfi::InputTag.
Referenced by PixelInactiveAreaTrackingRegionsSeedingLayersProducer::fillDescriptions().
|
private |
Definition at line 688 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 1002 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 1042 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 1110 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 1120 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 1100 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 badPixelDetsBarrel_, badPixelDetsEndcap_, Barrel, createPlottingFiles(), createPlottingFiles_, debug_, detGroupSpans(), HLT_2023v12_cff::distance, spr::find(), newFWLiteAna::found, getBadPixelDets(), edm::EventSetup::getData(), iEvent, inactiveLayers_, inactiveLayerSetIndices_, nano_mu_digi_cff::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 801 of file PixelInactiveAreaFinder.cc.
References badDetGroupsBarrel(), badDetGroupsEndcap(), detInfo(), getPhiSpanBarrel(), getPhiSpanEndcap(), getRSpan(), getZSpan(), and contentValuesCheck::ss.
|
private |
Definition at line 835 of file PixelInactiveAreaFinder.cc.
References detGroupSpans(), and contentValuesCheck::ss.
|
private |
Definition at line 786 of file PixelInactiveAreaFinder.cc.
References badPixelDetsBarrel_, badPixelDetsEndcap_, detInfo(), contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 771 of file PixelInactiveAreaFinder.cc.
References detInfo(), pixelDetsBarrel_, pixelDetsEndcap_, contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 945 of file PixelInactiveAreaFinder.cc.
References badAdjecentDetsBarrel(), badAdjecentDetsEndcap(), PixelSubdetector::PixelBarrel, and PixelSubdetector::PixelEndcap.
Referenced by badDetGroupsBarrel(), and badDetGroupsEndcap().
|
private |
Definition at line 609 of file PixelInactiveAreaFinder.cc.
References edm::ESWatcher< T >::check(), dqmiodumpmetadata::counts, createPlottingFiles_, TrackerGeometry::detsPXB(), TrackerGeometry::detsPXF(), mps_fire::end, Exception, geometryWatcher_, PVValHelper::ladder, nano_mu_digi_cff::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(), inactiveAreas(), and printBadPixelDets().
|
private |
Definition at line 120 of file PixelInactiveAreaFinder.h.
Referenced by badAdjecentDetsEndcap(), badDetGroupsEndcap(), createPlottingFiles(), detWorks(), getBadPixelDets(), inactiveAreas(), 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().