Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginJob () override |
void | clearData () |
void | compareShape (const GeomDet *det, const float *shape) |
void | compareTransform (const GlobalPoint &point, const TGeoMatrix *matrix) |
bool | dataEmpty () |
void | endJob () override |
double | getDistance (const GlobalPoint &point1, const GlobalPoint &point2) |
void | makeHistogram (const std::string &name, std::vector< double > &data) |
void | makeHistograms (const char *detector) |
void | validateCaloGeometry (DetId::Detector detector, int subdetector, const char *detname) |
void | validateCSChamberGeometry (const int endcap, const char *detname) |
void | validateCSCLayerGeometry (const int endcap, const char *detname) |
void | validateDTChamberGeometry () |
void | validateDTLayerGeometry () |
void | validatePixelTopology (const TrackerGeometry::DetContainer &dets, const char *detname) |
void | validateRPCGeometry (const int regionNumber, const char *regionName) |
void | validateStripTopology (const TrackerGeometry::DetContainer &dets, const char *detname) |
void | validateTrackerGeometry (const TrackerGeometry::DetContainer &dets, const char *detname) |
Private Attributes | |
std::vector< double > | bottomWidths_ |
edm::ESHandle< CaloGeometry > | caloGeometry_ |
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > | caloGeometryToken_ |
edm::ESHandle< CSCGeometry > | cscGeometry_ |
edm::ESGetToken< CSCGeometry, MuonGeometryRecord > | cscGeometryToken_ |
bool | doCalo_ |
bool | doMuon_ |
bool | doTracker_ |
edm::ESHandle< DTGeometry > | dtGeometry_ |
edm::ESGetToken< DTGeometry, MuonGeometryRecord > | dtGeometryToken_ |
FWGeometry | fwGeometry_ |
std::vector< double > | globalDistances_ |
std::string | infileName_ |
std::vector< double > | lengths_ |
TFile * | outFile_ |
std::string | outfileName_ |
edm::ESHandle< RPCGeometry > | rpcGeometry_ |
edm::ESGetToken< RPCGeometry, MuonGeometryRecord > | rpcGeometryToken_ |
std::vector< double > | thicknesses_ |
std::vector< double > | topWidths_ |
edm::ESHandle< TrackerGeometry > | trackerGeometry_ |
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > | trackerGeometryToken_ |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
Definition at line 62 of file ValidateGeometry.cc.
|
explicit |
Definition at line 141 of file ValidateGeometry.cc.
References caloGeometryToken_, cscGeometryToken_, doCalo_, doMuon_, doTracker_, dtGeometryToken_, edm::EDConsumerBase::esConsumes(), fwGeometry_, edm::ParameterSet::getUntrackedParameter(), infileName_, FWGeometry::loadMap(), outFile_, outfileName_, rpcGeometryToken_, and trackerGeometryToken_.
|
override |
Definition at line 165 of file ValidateGeometry.cc.
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 167 of file ValidateGeometry.cc.
References DetId::Calo, caloGeometry_, caloGeometryToken_, gather_cfg::cout, cscGeometry_, cscGeometryToken_, TrackerGeometry::detsPXB(), TrackerGeometry::detsPXF(), TrackerGeometry::detsTEC(), TrackerGeometry::detsTIB(), TrackerGeometry::detsTID(), TrackerGeometry::detsTOB(), doCalo_, doMuon_, doTracker_, dtGeometry_, dtGeometryToken_, DetId::Ecal, EcalBarrel, EcalEndcap, EcalPreshower, options_cfi::eventSetup, fwLog, DetId::Hcal, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, edm::ESHandleBase::isValid(), fwlog::kWarning, rpcGeometry_, rpcGeometryToken_, HcalZDCDetId::SubdetectorId, HcalCastorDetId::SubdetectorId, trackerGeometry_, trackerGeometryToken_, validateCaloGeometry(), validateCSChamberGeometry(), validateCSCLayerGeometry(), validateDTChamberGeometry(), validateDTLayerGeometry(), validatePixelTopology(), validateRPCGeometry(), validateStripTopology(), and validateTrackerGeometry().
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 1050 of file ValidateGeometry.cc.
References outFile_.
|
inlineprivate |
Definition at line 123 of file ValidateGeometry.cc.
References bottomWidths_, globalDistances_, lengths_, thicknesses_, and topWidths_.
Referenced by validateCaloGeometry(), validateCSChamberGeometry(), validateCSCLayerGeometry(), validateDTChamberGeometry(), validateDTLayerGeometry(), validateRPCGeometry(), and validateTrackerGeometry().
|
private |
Definition at line 923 of file ValidateGeometry.cc.
References cms::cuda::assert(), bottomWidths_, Surface::bounds(), gather_cfg::cout, Bounds::length(), lengths_, l1trig_cff::shape, GeomDet::surface(), Bounds::thickness(), Calorimetry_cff::thickness, thicknesses_, topWidths_, and Bounds::width().
Referenced by validateCSChamberGeometry(), validateCSCLayerGeometry(), validateDTChamberGeometry(), validateDTLayerGeometry(), validateRPCGeometry(), and validateTrackerGeometry().
|
private |
Definition at line 912 of file ValidateGeometry.cc.
References HLT_2023v12_cff::distance, getDistance(), globalDistances_, runTauDisplay::gp, DTRecHitClients_cfi::local, and makeMuonMisalignmentScenario::matrix.
Referenced by validateCSChamberGeometry(), validateCSCLayerGeometry(), validateDTChamberGeometry(), validateDTLayerGeometry(), validateRPCGeometry(), and validateTrackerGeometry().
|
inlineprivate |
Definition at line 131 of file ValidateGeometry.cc.
References bottomWidths_, globalDistances_, lengths_, thicknesses_, and topWidths_.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 1052 of file ValidateGeometry.cc.
References gather_cfg::cout, outFile_, and outfileName_.
|
private |
Definition at line 993 of file ValidateGeometry.cc.
References LaserDQM_cfg::p1, SiStripOfflineCRack_cfg::p2, and mathSSE::sqrt().
Referenced by compareTransform(), and validateCaloGeometry().
|
private |
Definition at line 1027 of file ValidateGeometry.cc.
References data, gpuVertexFinder::hist, HLT_2023v12_cff::maxE, and Skims_PA_cff::name.
Referenced by makeHistograms(), validateCSCLayerGeometry(), validateDTLayerGeometry(), validatePixelTopology(), validateRPCGeometry(), and validateStripTopology().
|
private |
Definition at line 1004 of file ValidateGeometry.cc.
References bottomWidths_, ztail::d, hgcalTestNeighbor_cfi::detector, globalDistances_, lengths_, makeHistogram(), outFile_, AlCaHLTBitMon_QueryRunRegistry::string, thicknesses_, and topWidths_.
Referenced by validateCaloGeometry(), validateCSChamberGeometry(), validateCSCLayerGeometry(), validateDTChamberGeometry(), validateDTLayerGeometry(), validateRPCGeometry(), and validateTrackerGeometry().
|
private |
Definition at line 722 of file ValidateGeometry.cc.
References cms::cuda::assert(), caloGeometry_, clearData(), gather_cfg::cout, hgcalTestNeighbor_cfi::detector, HLT_2023v12_cff::distance, fwGeometry_, FWGeometry::getCorners(), getDistance(), CaloGeometry::getSubdetectorGeometry(), globalDistances_, mps_fire::i, makeHistograms(), hltrates_dqm_sourceclient-live_cfg::offset, hiPixelPairStep_cff::points, EZArrayFL< T >::size(), subdetector, x, y, and z.
Referenced by analyze().
|
private |
Definition at line 456 of file ValidateGeometry.cc.
References relativeConstraints::chamber, CSCGeometry::chambers(), chambers, clearData(), compareShape(), compareTransform(), gather_cfg::cout, cscGeometry_, makeMuonMisalignmentScenario::endcap, fwGeometry_, FWGeometry::getMatrix(), FWGeometry::getShapePars(), runTauDisplay::gp, makeHistograms(), makeMuonMisalignmentScenario::matrix, DetId::rawId(), and l1trig_cff::shape.
Referenced by analyze().
|
private |
Definition at line 491 of file ValidateGeometry.cc.
References cms::cuda::assert(), clearData(), compareShape(), compareTransform(), gather_cfg::cout, cscGeometry_, makeMuonMisalignmentScenario::endcap, fwGeometry_, FWGeometry::getMatrix(), FWGeometry::getParameters(), FWGeometry::getShapePars(), runTauDisplay::gp, pixelTopology::layer, hgcalTBTopologyTester_cfi::layers, CSCGeometry::layers(), makeHistogram(), makeHistograms(), makeMuonMisalignmentScenario::matrix, DetId::rawId(), relativeConstraints::ring, l1trig_cff::shape, relativeConstraints::station, AlCaHLTBitMon_QueryRunRegistry::string, funct::tan(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by analyze().
|
private |
Definition at line 350 of file ValidateGeometry.cc.
References relativeConstraints::chamber, DTGeometry::chambers(), chambers, clearData(), compareShape(), compareTransform(), gather_cfg::cout, dtGeometry_, fwGeometry_, FWGeometry::getMatrix(), FWGeometry::getShapePars(), runTauDisplay::gp, makeHistograms(), makeMuonMisalignmentScenario::matrix, DetId::rawId(), and l1trig_cff::shape.
Referenced by analyze().
|
private |
Definition at line 385 of file ValidateGeometry.cc.
References cms::cuda::assert(), clearData(), compareShape(), compareTransform(), gather_cfg::cout, dtGeometry_, fwGeometry_, FWGeometry::getMatrix(), FWGeometry::getParameters(), FWGeometry::getShapePars(), runTauDisplay::gp, pixelTopology::layer, hgcalTBTopologyTester_cfi::layers, DTGeometry::layers(), makeHistogram(), makeHistograms(), makeMuonMisalignmentScenario::matrix, ecaldqm::nChannels, DetId::rawId(), l1trig_cff::shape, Calorimetry_cff::thickness, and ApeEstimator_cff::width.
Referenced by analyze().
|
private |
Definition at line 787 of file ValidateGeometry.cc.
References gather_cfg::cout, fwGeometry_, FWGeometry::getParameters(), TrackerGeometry::idToDetUnit(), makeHistogram(), fireworks::pixelLocalX(), fireworks::pixelLocalY(), AlCaHLTBitMon_QueryRunRegistry::string, trackerGeometry_, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by analyze().
|
private |
Definition at line 278 of file ValidateGeometry.cc.
References cms::cuda::assert(), RPCRoll::centreOfStrip(), clearData(), compareShape(), compareTransform(), gather_cfg::cout, fwGeometry_, FWGeometry::getMatrix(), FWGeometry::getParameters(), FWGeometry::getShapePars(), runTauDisplay::gp, RPCRoll::id(), RPCGeometry::idToDetUnit(), makeHistogram(), makeHistograms(), makeMuonMisalignmentScenario::matrix, RPCRoll::nstrips(), me0TriggerPseudoDigis_cff::nStrips, hltrates_dqm_sourceclient-live_cfg::offset, StripTopology::pitch(), DetId::rawId(), RPCDetId::region(), RPCGeometry::rolls(), rpcGeometry_, l1trig_cff::shape, RPCRoll::specificTopology(), AlCaHLTBitMon_QueryRunRegistry::string, digitizers_cfi::strip, StripTopology::stripLength(), GeomDet::surface(), Surface::toGlobal(), and PV3DBase< T, PVType, FrameType >::x().
Referenced by analyze().
|
private |
Definition at line 830 of file ValidateGeometry.cc.
References cms::cuda::assert(), gather_cfg::cout, fwGeometry_, FWGeometry::getParameters(), TrackerGeometry::idToDet(), StripTopology::localPosition(), makeHistogram(), StripTopology::nstrips(), StripTopology::pitch(), AlCaHLTBitMon_QueryRunRegistry::string, digitizers_cfi::strip, StripTopology::stripLength(), funct::tan(), trackerGeometry_, and PV3DBase< T, PVType, FrameType >::x().
Referenced by analyze().
|
private |
Definition at line 757 of file ValidateGeometry.cc.
References clearData(), compareShape(), compareTransform(), gather_cfg::cout, fwGeometry_, FWGeometry::getMatrix(), FWGeometry::getShapePars(), runTauDisplay::gp, TrackerGeometry::idToDet(), makeHistograms(), makeMuonMisalignmentScenario::matrix, l1trig_cff::shape, and trackerGeometry_.
Referenced by analyze().
|
private |
Definition at line 119 of file ValidateGeometry.cc.
Referenced by clearData(), compareShape(), dataEmpty(), and makeHistograms().
|
private |
Definition at line 110 of file ValidateGeometry.cc.
Referenced by analyze(), and validateCaloGeometry().
|
private |
Definition at line 104 of file ValidateGeometry.cc.
Referenced by analyze(), and ValidateGeometry().
|
private |
Definition at line 109 of file ValidateGeometry.cc.
Referenced by analyze(), validateCSChamberGeometry(), and validateCSCLayerGeometry().
|
private |
Definition at line 103 of file ValidateGeometry.cc.
Referenced by analyze(), and ValidateGeometry().
|
private |
Definition at line 138 of file ValidateGeometry.cc.
Referenced by analyze(), and ValidateGeometry().
|
private |
Definition at line 137 of file ValidateGeometry.cc.
Referenced by analyze(), and ValidateGeometry().
|
private |
Definition at line 136 of file ValidateGeometry.cc.
Referenced by analyze(), and ValidateGeometry().
|
private |
Definition at line 108 of file ValidateGeometry.cc.
Referenced by analyze(), validateDTChamberGeometry(), and validateDTLayerGeometry().
|
private |
Definition at line 102 of file ValidateGeometry.cc.
Referenced by analyze(), and ValidateGeometry().
|
private |
Definition at line 113 of file ValidateGeometry.cc.
Referenced by validateCaloGeometry(), validateCSChamberGeometry(), validateCSCLayerGeometry(), validateDTChamberGeometry(), validateDTLayerGeometry(), ValidateGeometry(), validatePixelTopology(), validateRPCGeometry(), validateStripTopology(), and validateTrackerGeometry().
|
private |
Definition at line 117 of file ValidateGeometry.cc.
Referenced by clearData(), compareTransform(), dataEmpty(), makeHistograms(), and validateCaloGeometry().
|
private |
Definition at line 98 of file ValidateGeometry.cc.
Referenced by ValidateGeometry().
|
private |
Definition at line 120 of file ValidateGeometry.cc.
Referenced by clearData(), compareShape(), dataEmpty(), and makeHistograms().
|
private |
Definition at line 115 of file ValidateGeometry.cc.
Referenced by beginJob(), endJob(), makeHistograms(), and ValidateGeometry().
|
private |
Definition at line 99 of file ValidateGeometry.cc.
Referenced by endJob(), and ValidateGeometry().
|
private |
Definition at line 107 of file ValidateGeometry.cc.
Referenced by analyze(), and validateRPCGeometry().
|
private |
Definition at line 101 of file ValidateGeometry.cc.
Referenced by analyze(), and ValidateGeometry().
|
private |
Definition at line 121 of file ValidateGeometry.cc.
Referenced by clearData(), compareShape(), dataEmpty(), and makeHistograms().
|
private |
Definition at line 118 of file ValidateGeometry.cc.
Referenced by clearData(), compareShape(), dataEmpty(), and makeHistograms().
|
private |
Definition at line 111 of file ValidateGeometry.cc.
Referenced by analyze(), validatePixelTopology(), validateStripTopology(), and validateTrackerGeometry().
|
private |
Definition at line 105 of file ValidateGeometry.cc.
Referenced by analyze(), and ValidateGeometry().