#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) |
Private Attributes | |
DetContainer | badPixelDetsBarrel_ |
DetContainer | badPixelDetsEndcap_ |
std::vector< edm::EDGetTokenT< PixelFEDChannelCollection > > | badPixelFEDChannelsTokens_ |
const bool | createPlottingFiles_ |
const bool | debug_ |
edm::ESWatcher< TrackerDigiGeometryRecord > | geometryWatcher_ |
const bool | ignoreSingleFPixPanelModules_ |
std::vector< SeedingLayerId > | inactiveLayers_ |
std::vector< std::pair< unsigned short, unsigned short > > | inactiveLayerSetIndices_ |
std::vector< edm::EDGetTokenT< DetIdCollection > > | inactivePixelDetectorTokens_ |
std::vector< std::vector< LayerSetIndex > > | layerSetIndexInactiveToActive_ |
std::array< unsigned short, 4 > | nBPixLadders |
unsigned short | nModulesPerLadder |
DetContainer | pixelDetsBarrel_ |
DetContainer | pixelDetsEndcap_ |
const SiPixelQuality * | pixelQuality_ = nullptr |
const TrackerGeometry * | trackerGeometry_ = nullptr |
const TrackerTopology * | trackerTopology_ = nullptr |
Definition at line 21 of file PixelInactiveAreaFinder.h.
Definition at line 23 of file PixelInactiveAreaFinder.h.
|
private |
Definition at line 99 of file PixelInactiveAreaFinder.h.
|
private |
Definition at line 100 of file PixelInactiveAreaFinder.h.
|
private |
Definition at line 103 of file PixelInactiveAreaFinder.h.
|
private |
Definition at line 101 of file PixelInactiveAreaFinder.h.
|
private |
Definition at line 102 of file PixelInactiveAreaFinder.h.
using PixelInactiveAreaFinder::DetGroupSpanContainer = std::vector<DetGroupSpan> |
Definition at line 36 of file PixelInactiveAreaFinder.h.
|
private |
Definition at line 92 of file PixelInactiveAreaFinder.h.
Definition at line 25 of file PixelInactiveAreaFinder.h.
|
private |
Definition at line 93 of file PixelInactiveAreaFinder.h.
|
private |
Definition at line 94 of file PixelInactiveAreaFinder.h.
Definition at line 24 of file PixelInactiveAreaFinder.h.
|
private |
Definition at line 104 of file PixelInactiveAreaFinder.h.
PixelInactiveAreaFinder::PixelInactiveAreaFinder | ( | const edm::ParameterSet & | iConfig, |
const std::vector< SeedingLayerId > & | seedingLayers, | ||
const SeedingLayerSetsLooper & | seedingLayerSetsLooper, | ||
edm::ConsumesCollector && | iC | ||
) |
Definition at line 462 of file PixelInactiveAreaFinder.cc.
References makeGlobalPositionRcd_cfg::tag.
|
default |
|
private |
Definition at line 898 of file PixelInactiveAreaFinder.cc.
References c, detWorks(), PVValHelper::ladder, phase1PixelTopology::layer, callgraph::module, nBPixLadders, nModulesPerLadder, and trackerTopology_.
Referenced by reachableDetGroup().
|
private |
Definition at line 924 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 978 of file PixelInactiveAreaFinder.cc.
References badPixelDetsBarrel_, and reachableDetGroup().
Referenced by detGroupSpans(), and printBadDetGroups().
|
private |
Definition at line 988 of file PixelInactiveAreaFinder.cc.
References badPixelDetsEndcap_, ignoreSingleFPixPanelModules_, and reachableDetGroup().
Referenced by detGroupSpans(), and printBadDetGroups().
|
private |
Definition at line 852 of file PixelInactiveAreaFinder.cc.
References badPixelDetsBarrel_, badPixelDetsEndcap_, detGroupSpans(), detInfo(), pixelDetsBarrel_, pixelDetsEndcap_, contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by inactiveAreas().
|
private |
Definition at line 1141 of file PixelInactiveAreaFinder.cc.
References badDetGroupsBarrel(), badDetGroupsEndcap(), and getSpan().
Referenced by createPlottingFiles(), inactiveAreas(), and printBadDetGroupSpans().
Definition at line 738 of file PixelInactiveAreaFinder.cc.
References alignBH_cfg::fixed, TrackerGeometry::idToDet(), PVValHelper::ladder, phase1PixelTopology::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 894 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_FULL_cff::InputTag.
Referenced by PixelInactiveAreaTrackingRegionsSeedingLayersProducer::fillDescriptions().
|
private |
Definition at line 691 of file PixelInactiveAreaFinder.cc.
References badPixelDetsBarrel_, badPixelDetsEndcap_, badPixelFEDChannelsTokens_, edm::EventSetup::get(), get, SiPixelQuality::getBadComponentList(), triggerObjects_cff::id, iEvent, inactivePixelDetectorTokens_, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, jetUpdater_cfi::sort, unpackBuffers-CaloStage2::token, and tier0::unique().
Referenced by inactiveAreas().
|
private |
Definition at line 1006 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 1046 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 1114 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 1124 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 1104 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_FULL_cff::distance, spr::find(), newFWLiteAna::found, edm::EventSetup::get(), get, getBadPixelDets(), iEvent, inactiveLayers_, inactiveLayerSetIndices_, phase1PixelTopology::layer, layerSetIndexInactiveToActive_, eostools::move(), NegEndcap, PixelSubdetector::PixelBarrel, GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, PosEndcap, edm::ESHandle< T >::product(), runTheMatrix::ret, trackerGeometry_, trackerTopology_, and updatePixelDets().
Referenced by PixelInactiveAreaTrackingRegionsSeedingLayersProducer::produce().
|
private |
Definition at line 805 of file PixelInactiveAreaFinder.cc.
References badDetGroupsBarrel(), badDetGroupsEndcap(), detInfo(), getPhiSpanBarrel(), getPhiSpanEndcap(), getRSpan(), getZSpan(), and contentValuesCheck::ss.
|
private |
Definition at line 839 of file PixelInactiveAreaFinder.cc.
References detGroupSpans(), and contentValuesCheck::ss.
|
private |
Definition at line 790 of file PixelInactiveAreaFinder.cc.
References badPixelDetsBarrel_, badPixelDetsEndcap_, detInfo(), contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 775 of file PixelInactiveAreaFinder.cc.
References detInfo(), pixelDetsBarrel_, pixelDetsEndcap_, contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 949 of file PixelInactiveAreaFinder.cc.
References badAdjecentDetsBarrel(), badAdjecentDetsEndcap(), PixelSubdetector::PixelBarrel, and PixelSubdetector::PixelEndcap.
Referenced by badDetGroupsBarrel(), and badDetGroupsEndcap().
|
private |
Definition at line 612 of file PixelInactiveAreaFinder.cc.
References edm::ESWatcher< T >::check(), dqmiodumpmetadata::counts, createPlottingFiles_, TrackerGeometry::detsPXB(), TrackerGeometry::detsPXF(), mps_fire::end, Exception, geometryWatcher_, PVValHelper::ladder, phase1PixelTopology::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 114 of file PixelInactiveAreaFinder.h.
Referenced by badDetGroupsBarrel(), createPlottingFiles(), detWorks(), getBadPixelDets(), and printBadPixelDets().
|
private |
Definition at line 115 of file PixelInactiveAreaFinder.h.
Referenced by badAdjecentDetsEndcap(), badDetGroupsEndcap(), createPlottingFiles(), detWorks(), getBadPixelDets(), and printBadPixelDets().
|
private |
Definition at line 89 of file PixelInactiveAreaFinder.h.
Referenced by getBadPixelDets().
|
private |
Definition at line 80 of file PixelInactiveAreaFinder.h.
Referenced by inactiveAreas(), and updatePixelDets().
|
private |
Definition at line 79 of file PixelInactiveAreaFinder.h.
Referenced by inactiveAreas().
|
private |
Definition at line 106 of file PixelInactiveAreaFinder.h.
Referenced by updatePixelDets().
|
private |
Definition at line 81 of file PixelInactiveAreaFinder.h.
Referenced by badDetGroupsEndcap().
|
private |
Definition at line 83 of file PixelInactiveAreaFinder.h.
Referenced by inactiveAreas(), and PixelInactiveAreaFinder::InactiveAreas::spansAndLayerSets().
|
private |
Definition at line 84 of file PixelInactiveAreaFinder.h.
Referenced by inactiveAreas().
|
private |
Definition at line 88 of file PixelInactiveAreaFinder.h.
Referenced by getBadPixelDets().
|
private |
Definition at line 86 of file PixelInactiveAreaFinder.h.
Referenced by inactiveAreas(), and PixelInactiveAreaFinder::InactiveAreas::spansAndLayerSets().
|
private |
Definition at line 96 of file PixelInactiveAreaFinder.h.
Referenced by badAdjecentDetsBarrel(), getPhiSpanBarrel(), and updatePixelDets().
|
private |
Definition at line 97 of file PixelInactiveAreaFinder.h.
Referenced by badAdjecentDetsBarrel(), and updatePixelDets().
|
private |
Definition at line 112 of file PixelInactiveAreaFinder.h.
Referenced by createPlottingFiles(), printPixelDets(), and updatePixelDets().
|
private |
Definition at line 113 of file PixelInactiveAreaFinder.h.
Referenced by createPlottingFiles(), printPixelDets(), and updatePixelDets().
|
private |
Definition at line 108 of file PixelInactiveAreaFinder.h.
|
private |
Definition at line 109 of file PixelInactiveAreaFinder.h.
Referenced by badAdjecentDetsEndcap(), detInfo(), getPhiSpanBarrel(), getPhiSpanEndcap(), getRSpan(), getZSpan(), inactiveAreas(), and updatePixelDets().
|
private |
Definition at line 110 of file PixelInactiveAreaFinder.h.
Referenced by badAdjecentDetsBarrel(), badAdjecentDetsEndcap(), detInfo(), getPhiSpanBarrel(), getSpan(), inactiveAreas(), and updatePixelDets().