Public Member Functions | |
ValidateGeometry (const edm::ParameterSet &) | |
~ValidateGeometry () | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) override |
virtual void | beginJob () override |
void | clearData () |
void | compareShape (const GeomDet *det, const float *shape) |
void | compareTransform (const GlobalPoint &point, const TGeoMatrix *matrix) |
bool | dataEmpty () |
virtual 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::ESHandle< CSCGeometry > | cscGeometry_ |
edm::ESHandle< DTGeometry > | dtGeometry_ |
FWGeometry | fwGeometry_ |
std::vector< double > | globalDistances_ |
std::string | infileName_ |
std::vector< double > | lengths_ |
TFile * | outFile_ |
std::string | outfileName_ |
edm::ESHandle< RPCGeometry > | rpcGeometry_ |
std::vector< double > | thicknesses_ |
std::vector< double > | topWidths_ |
edm::ESHandle< TrackerGeometry > | trackerGeometry_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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 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) |
Definition at line 62 of file ValidateGeometry.cc.
|
explicit |
Definition at line 145 of file ValidateGeometry.cc.
References fwGeometry_, infileName_, FWGeometry::loadMap(), outFile_, and outfileName_.
ValidateGeometry::~ValidateGeometry | ( | ) |
Definition at line 155 of file ValidateGeometry.cc.
|
overrideprivatevirtual |
Implements edm::EDAnalyzer.
Definition at line 160 of file ValidateGeometry.cc.
References DetId::Calo, caloGeometry_, gather_cfg::cout, cscGeometry_, dtGeometry_, DetId::Ecal, EcalBarrel, EcalEndcap, EcalPreshower, fwLog, edm::EventSetup::get(), DetId::Hcal, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, edm::ESHandleBase::isValid(), fwlog::kWarning, rpcGeometry_, HcalZDCDetId::SubdetectorId, HcalCastorDetId::SubdetectorId, trackerGeometry_, validateCaloGeometry(), validateCSChamberGeometry(), validateCSCLayerGeometry(), validateDTChamberGeometry(), validateDTLayerGeometry(), validatePixelTopology(), validateRPCGeometry(), validateStripTopology(), and validateTrackerGeometry().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 1231 of file ValidateGeometry.cc.
References outFile_.
|
inlineprivate |
Definition at line 125 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 1084 of file ValidateGeometry.cc.
References assert(), bottomWidths_, Surface::bounds(), gather_cfg::cout, Bounds::length(), lengths_, GeomDet::surface(), Bounds::thickness(), thicknesses_, topWidths_, and Bounds::width().
Referenced by validateCSChamberGeometry(), validateCSCLayerGeometry(), validateDTChamberGeometry(), validateDTLayerGeometry(), validateRPCGeometry(), and validateTrackerGeometry().
|
private |
Definition at line 1067 of file ValidateGeometry.cc.
References HLT_FULL_cff::distance, getDistance(), and globalDistances_.
Referenced by validateCSChamberGeometry(), validateCSCLayerGeometry(), validateDTChamberGeometry(), validateDTLayerGeometry(), validateRPCGeometry(), and validateTrackerGeometry().
|
inlineprivate |
Definition at line 134 of file ValidateGeometry.cc.
References bottomWidths_, globalDistances_, lengths_, thicknesses_, and topWidths_.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 1238 of file ValidateGeometry.cc.
References gather_cfg::cout, outFile_, and outfileName_.
|
private |
Definition at line 1165 of file ValidateGeometry.cc.
References mathSSE::sqrt(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by Vispa.Gui.VispaWidget.VispaWidget::_initTextField(), Vispa.Gui.VispaWidget.VispaWidget::_initTitleField(), Vispa.Gui.ConnectableWidget.ConnectableWidget::arrangePorts(), Vispa.Gui.WidgetContainer.WidgetContainer::autolayoutChildren(), Vispa.Views.LineDecayView.LineDecayContainer::autolayoutThreadFinished(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Gui.ConnectableWidget.ConnectableWidget::centerSinglePortVertically(), Vispa.Views.LineDecayView.LineDecayContainer::childrenRect(), compareTransform(), Vispa.Gui.VispaWidget.VispaWidget::contentRect(), Vispa.Gui.WidgetContainer.WidgetContainer::contentStartX(), Vispa.Gui.WidgetContainer.WidgetContainer::contentStartY(), Vispa.Gui.VispaWidget.VispaWidget::defineArrowBackgroundShape(), Vispa.Gui.VispaWidget.VispaWidget::defineRectBackgroundShape(), Vispa.Gui.VispaWidget.VispaWidget::defineRoundRectBackgroundShape(), Vispa.Gui.VispaWidget.VispaWidget::drawHeaderBackground(), Vispa.Gui.MenuWidget.MenuWidget::drawMenuEntries(), Vispa.Gui.ConnectableWidget.ConnectableWidget::drawPortNames(), Vispa.Gui.VispaWidget.VispaWidget::drawTextField(), Vispa.Gui.VispaWidget.VispaWidget::drawTitle(), Vispa.Gui.ConnectableWidget.ConnectableWidget::dropArea(), Vispa.Gui.VispaWidget.VispaWidget::height(), Vispa.Gui.VispaWidget.VispaWidget::imageRectF(), Vispa.Gui.VispaWidget.VispaWidget::isTitlePoint(), Vispa.Gui.WidgetContainer.WidgetContainer::mouseDoubleClickEvent(), Vispa.Gui.WidgetContainer.WidgetContainer::mouseMoveEvent(), Vispa.Gui.VispaWidget.VispaWidget::paint(), Vispa.Gui.VispaWidget.VispaWidget::rearangeContent(), Vispa.Gui.WidgetContainer.WidgetContainer::sizeHint(), Vispa.Gui.ConnectableWidget.ConnectableWidget::sizeHint(), Vispa.Gui.VispaWidget.VispaWidget::sizeHint(), validateCaloGeometry(), and Vispa.Gui.VispaWidget.VispaWidget::width().
|
private |
Definition at line 1206 of file ValidateGeometry.cc.
References estimatePileup::hist.
Referenced by makeHistograms(), validateCSCLayerGeometry(), validateDTLayerGeometry(), validatePixelTopology(), validateRPCGeometry(), and validateStripTopology().
|
private |
Definition at line 1180 of file ValidateGeometry.cc.
References bottomWidths_, ztail::d, globalDistances_, lengths_, makeHistogram(), outFile_, AlCaHLTBitMon_QueryRunRegistry::string, thicknesses_, and topWidths_.
Referenced by validateCaloGeometry(), validateCSChamberGeometry(), validateCSCLayerGeometry(), validateDTChamberGeometry(), validateDTLayerGeometry(), validateRPCGeometry(), and validateTrackerGeometry().
|
private |
Definition at line 825 of file ValidateGeometry.cc.
References assert(), caloGeometry_, clearData(), gather_cfg::cout, HLT_FULL_cff::distance, fwGeometry_, geometry, CaloCellGeometry::getCorners(), FWGeometry::getCorners(), getDistance(), CaloSubdetectorGeometry::getGeometry(), CaloSubdetectorGeometry::getValidDetIds(), globalDistances_, i, makeHistograms(), hltrates_dqm_sourceclient-live_cfg::offset, EZArrayFL< T >::size(), x, y, and z.
Referenced by analyze().
|
private |
Definition at line 504 of file ValidateGeometry.cc.
References chambers, clearData(), compareShape(), compareTransform(), gather_cfg::cout, cscGeometry_, Reference_intrackfit_cff::endcap, CSCDetId::endcap(), fwGeometry_, GeomDet::geographicalId(), FWGeometry::getMatrix(), FWGeometry::getShapePars(), CSCChamber::id(), makeHistograms(), makeMuonMisalignmentScenario::matrix, DetId::rawId(), GeomDet::surface(), and Surface::toGlobal().
Referenced by analyze().
|
private |
Definition at line 549 of file ValidateGeometry.cc.
References CSCRadialStripTopology::angularWidth(), assert(), CSCRadialStripTopology::centreToIntersection(), clearData(), compareShape(), compareTransform(), gather_cfg::cout, cscGeometry_, Reference_intrackfit_cff::endcap, CSCDetId::endcap(), fwGeometry_, GeomDet::geographicalId(), CSCLayer::geometry(), FWGeometry::getMatrix(), FWGeometry::getParameters(), FWGeometry::getShapePars(), CSCLayer::id(), LayerTriplets::layers(), CSCLayerGeometry::localCenterOfWireGroup(), makeHistogram(), makeHistograms(), makeMuonMisalignmentScenario::matrix, CSCLayerGeometry::numberOfStrips(), CSCLayerGeometry::numberOfWireGroups(), HLT_FULL_cff::parameters, CSCRadialStripTopology::phiOfOneEdge(), DetId::rawId(), relativeConstraints::ring, CSCDetId::ring(), relativeConstraints::station, CSCDetId::station(), AlCaHLTBitMon_QueryRunRegistry::string, OffsetRadialStripTopology::stripOffset(), GeomDet::surface(), funct::tan(), Surface::toGlobal(), CSCLayerGeometry::topology(), CSCWireTopology::wireAngle(), CSCWireTopology::wireSpacing(), CSCLayerGeometry::wireTopology(), CSCLayerGeometry::xOfStrip(), PV3DBase< T, PVType, FrameType >::y(), CSCRadialStripTopology::yAxisOrientation(), and CSCRadialStripTopology::yCentreOfStripPlane().
Referenced by analyze().
|
private |
Definition at line 371 of file ValidateGeometry.cc.
References chambers, clearData(), compareShape(), compareTransform(), gather_cfg::cout, dtGeometry_, fwGeometry_, FWGeometry::getMatrix(), FWGeometry::getShapePars(), DTChamber::id(), makeHistograms(), makeMuonMisalignmentScenario::matrix, DetId::rawId(), GeomDet::surface(), and Surface::toGlobal().
Referenced by analyze().
|
private |
Definition at line 417 of file ValidateGeometry.cc.
References assert(), Surface::bounds(), clearData(), compareShape(), compareTransform(), gather_cfg::cout, dtGeometry_, DTTopology::firstChannel(), fwGeometry_, FWGeometry::getMatrix(), FWGeometry::getParameters(), FWGeometry::getShapePars(), DTLayer::id(), DTTopology::lastChannel(), LayerTriplets::layers(), Bounds::length(), makeHistogram(), makeHistograms(), makeMuonMisalignmentScenario::matrix, ecaldqm::nChannels, HLT_FULL_cff::parameters, DetId::rawId(), DTLayer::specificTopology(), GeomDet::surface(), Bounds::thickness(), Surface::toGlobal(), Bounds::width(), create_public_lumi_plots::width, and DTTopology::wirePosition().
Referenced by analyze().
|
private |
Definition at line 912 of file ValidateGeometry.cc.
References assert(), gather_cfg::cout, fwGeometry_, FWGeometry::getParameters(), makeHistogram(), HLT_FULL_cff::parameters, 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 283 of file ValidateGeometry.cc.
References assert(), RPCRoll::centreOfStrip(), clearData(), compareShape(), compareTransform(), gather_cfg::cout, fwGeometry_, FWGeometry::getMatrix(), FWGeometry::getParameters(), FWGeometry::getShapePars(), RPCRoll::id(), makeHistogram(), makeHistograms(), makeMuonMisalignmentScenario::matrix, RPCRoll::nstrips(), hltrates_dqm_sourceclient-live_cfg::offset, HLT_FULL_cff::parameters, StripTopology::pitch(), DetId::rawId(), RPCDetId::region(), rpcGeometry_, RPCRoll::specificTopology(), AlCaHLTBitMon_QueryRunRegistry::string, StripTopology::stripLength(), GeomDet::surface(), Surface::toGlobal(), and PV3DBase< T, PVType, FrameType >::x().
Referenced by analyze().
|
private |
Definition at line 970 of file ValidateGeometry.cc.
References assert(), gather_cfg::cout, fwGeometry_, FWGeometry::getParameters(), StripTopology::localPosition(), makeHistogram(), StripTopology::nstrips(), HLT_FULL_cff::parameters, StripTopology::pitch(), AlCaHLTBitMon_QueryRunRegistry::string, StripTopology::stripLength(), funct::tan(), trackerGeometry_, and PV3DBase< T, PVType, FrameType >::x().
Referenced by analyze().
|
private |
Definition at line 872 of file ValidateGeometry.cc.
References clearData(), compareShape(), compareTransform(), gather_cfg::cout, fwGeometry_, FWGeometry::getMatrix(), FWGeometry::getShapePars(), makeHistograms(), makeMuonMisalignmentScenario::matrix, and trackerGeometry_.
Referenced by analyze().
|
private |
Definition at line 121 of file ValidateGeometry.cc.
Referenced by clearData(), compareShape(), dataEmpty(), and makeHistograms().
|
private |
Definition at line 112 of file ValidateGeometry.cc.
Referenced by analyze(), and validateCaloGeometry().
|
private |
Definition at line 111 of file ValidateGeometry.cc.
Referenced by analyze(), validateCSChamberGeometry(), and validateCSCLayerGeometry().
|
private |
Definition at line 110 of file ValidateGeometry.cc.
Referenced by analyze(), validateDTChamberGeometry(), and validateDTLayerGeometry().
|
private |
Definition at line 115 of file ValidateGeometry.cc.
Referenced by validateCaloGeometry(), validateCSChamberGeometry(), validateCSCLayerGeometry(), validateDTChamberGeometry(), validateDTLayerGeometry(), ValidateGeometry(), validatePixelTopology(), validateRPCGeometry(), validateStripTopology(), and validateTrackerGeometry().
|
private |
Definition at line 119 of file ValidateGeometry.cc.
Referenced by clearData(), compareTransform(), dataEmpty(), makeHistograms(), and validateCaloGeometry().
|
private |
Definition at line 106 of file ValidateGeometry.cc.
Referenced by ValidateGeometry().
|
private |
Definition at line 122 of file ValidateGeometry.cc.
Referenced by clearData(), compareShape(), dataEmpty(), and makeHistograms().
|
private |
Definition at line 117 of file ValidateGeometry.cc.
Referenced by beginJob(), endJob(), makeHistograms(), and ValidateGeometry().
|
private |
Definition at line 107 of file ValidateGeometry.cc.
Referenced by endJob(), and ValidateGeometry().
|
private |
Definition at line 109 of file ValidateGeometry.cc.
Referenced by analyze(), and validateRPCGeometry().
|
private |
Definition at line 123 of file ValidateGeometry.cc.
Referenced by clearData(), compareShape(), dataEmpty(), and makeHistograms().
|
private |
Definition at line 120 of file ValidateGeometry.cc.
Referenced by clearData(), compareShape(), dataEmpty(), and makeHistograms().
|
private |
Definition at line 113 of file ValidateGeometry.cc.
Referenced by analyze(), validatePixelTopology(), validateStripTopology(), and validateTrackerGeometry().