#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_ = 0 |
const TrackerGeometry * | trackerGeometry_ = 0 |
const TrackerTopology * | trackerTopology_ = 0 |
Definition at line 21 of file PixelInactiveAreaFinder.h.
Definition at line 23 of file PixelInactiveAreaFinder.h.
|
private |
Definition at line 100 of file PixelInactiveAreaFinder.h.
|
private |
Definition at line 101 of file PixelInactiveAreaFinder.h.
|
private |
Definition at line 104 of file PixelInactiveAreaFinder.h.
|
private |
Definition at line 102 of file PixelInactiveAreaFinder.h.
|
private |
Definition at line 103 of file PixelInactiveAreaFinder.h.
using PixelInactiveAreaFinder::DetGroupSpanContainer = std::vector<DetGroupSpan> |
Definition at line 42 of file PixelInactiveAreaFinder.h.
|
private |
Definition at line 93 of file PixelInactiveAreaFinder.h.
Definition at line 25 of file PixelInactiveAreaFinder.h.
|
private |
Definition at line 94 of file PixelInactiveAreaFinder.h.
|
private |
Definition at line 95 of file PixelInactiveAreaFinder.h.
Definition at line 24 of file PixelInactiveAreaFinder.h.
|
private |
Definition at line 105 of file PixelInactiveAreaFinder.h.
PixelInactiveAreaFinder::PixelInactiveAreaFinder | ( | const edm::ParameterSet & | iConfig, |
const std::vector< SeedingLayerId > & | seedingLayers, | ||
const SeedingLayerSetsLooper & | seedingLayerSetsLooper, | ||
edm::ConsumesCollector && | iC | ||
) |
Definition at line 437 of file PixelInactiveAreaFinder.cc.
References badPixelFEDChannelsTokens_, SoftLeptonByDistance_cfi::distance, Exception, spr::find(), runEdmFileComparison::found, mps_fire::i, inactiveLayers_, inactiveLayerSetIndices_, layerSetIndexInactiveToActive_, LogDebug, LogTrace, HiRegitMuonDetachedTripletStep_cff::seedingLayers, GlobalPosition_Frontier_DevDB_cff::tag, and edm::vector_transform().
|
default |
|
private |
Definition at line 846 of file PixelInactiveAreaFinder.cc.
References detWorks(), PVValHelper::ladder, nBPixLadders, nModulesPerLadder, and trackerTopology_.
Referenced by reachableDetGroup().
|
private |
Definition at line 877 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 930 of file PixelInactiveAreaFinder.cc.
References badPixelDetsBarrel_, and reachableDetGroup().
Referenced by detGroupSpans(), and printBadDetGroups().
|
private |
Definition at line 940 of file PixelInactiveAreaFinder.cc.
References badPixelDetsEndcap_, ignoreSingleFPixPanelModules_, and reachableDetGroup().
Referenced by detGroupSpans(), and printBadDetGroups().
|
private |
Definition at line 796 of file PixelInactiveAreaFinder.cc.
References badPixelDetsBarrel_, badPixelDetsEndcap_, detGroupSpans(), detInfo(), pixelDetsBarrel_, pixelDetsEndcap_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by inactiveAreas().
|
private |
Definition at line 1101 of file PixelInactiveAreaFinder.cc.
References badDetGroupsBarrel(), badDetGroupsEndcap(), and getSpan().
Referenced by createPlottingFiles(), inactiveAreas(), and printBadDetGroupSpans().
Definition at line 684 of file PixelInactiveAreaFinder.cc.
References alignBH_cfg::fixed, TrackerGeometry::idToDet(), PVValHelper::ladder, Surface::phiSpan(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, TrackerTopology::pxbLadder(), TrackerTopology::pxbLayer(), TrackerTopology::pxbModule(), TrackerTopology::pxfBlade(), TrackerTopology::pxfDisk(), TrackerTopology::pxfPanel(), AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), GeomDet::surface(), trackerGeometry_, and trackerTopology_.
Referenced by createPlottingFiles(), printBadDetGroups(), printBadPixelDets(), and printPixelDets().
|
private |
Definition at line 837 of file PixelInactiveAreaFinder.cc.
References badPixelDetsBarrel_, badPixelDetsEndcap_, and spr::find().
Referenced by badAdjecentDetsBarrel().
|
static |
Definition at line 504 of file PixelInactiveAreaFinder.cc.
References edm::ParameterSetDescription::add(), and edm::ParameterSetDescription::addUntracked().
Referenced by PixelInactiveAreaTrackingRegionsSeedingLayersProducer::fillDescriptions().
|
private |
Definition at line 638 of file PixelInactiveAreaFinder.cc.
References badPixelDetsBarrel_, badPixelDetsEndcap_, badPixelFEDChannelsTokens_, edm::EventSetup::get(), SiPixelQuality::getBadComponentList(), edm::Event::getByToken(), triggerObjects_cff::id, inactivePixelDetectorTokens_, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, and tier0::unique().
Referenced by inactiveAreas().
|
private |
Definition at line 958 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 998 of file PixelInactiveAreaFinder.cc.
References counter, geometryDiff::epsilon, runEdmFileComparison::found, PixelInactiveAreaFinder::DetGroupSpan::phiSpan, and trackerGeometry_.
Referenced by getSpan(), and printBadDetGroups().
|
private |
Definition at line 1071 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 1084 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 1058 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 515 of file PixelInactiveAreaFinder.cc.
References Barrel, createPlottingFiles(), createPlottingFiles_, debug_, detGroupSpans(), SoftLeptonByDistance_cfi::distance, spr::find(), runEdmFileComparison::found, edm::EventSetup::get(), getBadPixelDets(), inactiveLayers_, inactiveLayerSetIndices_, layerSetIndexInactiveToActive_, eostools::move(), NegEndcap, PixelSubdetector::PixelBarrel, GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, PosEndcap, edm::ESHandle< T >::product(), trackerGeometry_, trackerTopology_, and updatePixelDets().
Referenced by PixelInactiveAreaTrackingRegionsSeedingLayersProducer::produce().
|
private |
Definition at line 753 of file PixelInactiveAreaFinder.cc.
References badDetGroupsBarrel(), badDetGroupsEndcap(), detInfo(), getPhiSpanBarrel(), getPhiSpanEndcap(), getRSpan(), and getZSpan().
|
private |
Definition at line 785 of file PixelInactiveAreaFinder.cc.
References detGroupSpans().
|
private |
Definition at line 740 of file PixelInactiveAreaFinder.cc.
References badPixelDetsBarrel_, badPixelDetsEndcap_, detInfo(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 727 of file PixelInactiveAreaFinder.cc.
References detInfo(), pixelDetsBarrel_, pixelDetsEndcap_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 903 of file PixelInactiveAreaFinder.cc.
References badAdjecentDetsBarrel(), badAdjecentDetsEndcap(), PixelSubdetector::PixelBarrel, and PixelSubdetector::PixelEndcap.
Referenced by badDetGroupsBarrel(), and badDetGroupsEndcap().
|
private |
Definition at line 572 of file PixelInactiveAreaFinder.cc.
References begin, edm::ESWatcher< T >::check(), createPlottingFiles_, TrackerGeometry::detsPXB(), TrackerGeometry::detsPXF(), end, Exception, cmsPerfPublish::fail(), geometryWatcher_, PVValHelper::ladder, TrackerTopology::layer(), LogDebug, LogTrace, nBPixLadders, nModulesPerLadder, TrackerGeometry::numberOfLayers(), PixelSubdetector::PixelBarrel, pixelDetsBarrel_, pixelDetsEndcap_, PixelSubdetector::PixelEndcap, TrackerTopology::pxbLadder(), trackerGeometry_, trackerTopology_, and heppy_batch::val.
Referenced by inactiveAreas().
|
private |
Definition at line 115 of file PixelInactiveAreaFinder.h.
Referenced by badDetGroupsBarrel(), createPlottingFiles(), detWorks(), getBadPixelDets(), and printBadPixelDets().
|
private |
Definition at line 116 of file PixelInactiveAreaFinder.h.
Referenced by badAdjecentDetsEndcap(), badDetGroupsEndcap(), createPlottingFiles(), detWorks(), getBadPixelDets(), and printBadPixelDets().
|
private |
Definition at line 90 of file PixelInactiveAreaFinder.h.
Referenced by getBadPixelDets(), and PixelInactiveAreaFinder().
|
private |
Definition at line 81 of file PixelInactiveAreaFinder.h.
Referenced by inactiveAreas(), and updatePixelDets().
|
private |
Definition at line 80 of file PixelInactiveAreaFinder.h.
Referenced by inactiveAreas().
|
private |
Definition at line 107 of file PixelInactiveAreaFinder.h.
Referenced by updatePixelDets().
|
private |
Definition at line 82 of file PixelInactiveAreaFinder.h.
Referenced by badDetGroupsEndcap().
|
private |
Definition at line 84 of file PixelInactiveAreaFinder.h.
Referenced by inactiveAreas(), and PixelInactiveAreaFinder().
|
private |
Definition at line 85 of file PixelInactiveAreaFinder.h.
Referenced by inactiveAreas(), and PixelInactiveAreaFinder().
|
private |
Definition at line 89 of file PixelInactiveAreaFinder.h.
Referenced by getBadPixelDets().
|
private |
Definition at line 86 of file PixelInactiveAreaFinder.h.
Referenced by inactiveAreas(), and PixelInactiveAreaFinder().
|
private |
Definition at line 97 of file PixelInactiveAreaFinder.h.
Referenced by badAdjecentDetsBarrel(), getPhiSpanBarrel(), and updatePixelDets().
|
private |
Definition at line 98 of file PixelInactiveAreaFinder.h.
Referenced by badAdjecentDetsBarrel(), and updatePixelDets().
|
private |
Definition at line 113 of file PixelInactiveAreaFinder.h.
Referenced by createPlottingFiles(), printPixelDets(), and updatePixelDets().
|
private |
Definition at line 114 of file PixelInactiveAreaFinder.h.
Referenced by createPlottingFiles(), printPixelDets(), and updatePixelDets().
|
private |
Definition at line 109 of file PixelInactiveAreaFinder.h.
|
private |
Definition at line 110 of file PixelInactiveAreaFinder.h.
Referenced by badAdjecentDetsEndcap(), detInfo(), getPhiSpanBarrel(), getPhiSpanEndcap(), getRSpan(), getZSpan(), inactiveAreas(), and updatePixelDets().
|
private |
Definition at line 111 of file PixelInactiveAreaFinder.h.
Referenced by badAdjecentDetsBarrel(), badAdjecentDetsEndcap(), detInfo(), getPhiSpanBarrel(), getSpan(), inactiveAreas(), and updatePixelDets().