#include <FWTGeoRecoGeometryESProducer.h>
Private Types | |
enum | ERecoDet { kDummy, kSiPixel, kSiStrip, kMuonDT, kMuonRPC, kMuonCSC, kMuonGEM, kMuonME0, kECal, kHCal, kCaloTower, kHGCE, kHGCH } |
Private Attributes | |
bool | m_calo |
const CaloGeometry * | m_caloGeom = nullptr |
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > | m_caloGeomToken |
TGeoMedium * | m_dummyMedium = nullptr |
bool | m_muon |
std::map< std::string, TGeoShape * > | m_nameToShape |
std::map< ERecoDet, TGeoMedium * > | m_recoMedium |
std::map< TGeoShape *, TGeoVolume * > | m_shapeToVolume |
bool | m_tracker |
const TrackerGeometry * | m_trackerGeom = nullptr |
const TrackerTopology * | m_trackerTopology = nullptr |
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > | m_trackerTopologyToken |
const GlobalTrackingGeometry * | m_trackingGeom = nullptr |
edm::ESGetToken< GlobalTrackingGeometry, GlobalTrackingGeometryRecord > | m_trackingGeomToken |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Types inherited from edm::ESProxyFactoryProducer | |
using | EventSetupRecordKey = eventsetup::EventSetupRecordKey |
Protected Types inherited from edm::eventsetup::DataProxyProvider | |
using | KeyedProxiesVector = std::vector< std::pair< DataKey, std::shared_ptr< DataProxy > >> |
Protected Member Functions inherited from edm::ESProducer | |
template<typename T > | |
auto | setWhatProduced (T *iThis, const char *iLabel) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const es::Label &iLabel={}) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const std::string &iLabel) |
template<typename T , typename TDecorator > | |
auto | setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel={}) |
template<typename T , typename TReturn , typename TRecord > | |
auto | setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const es::Label &iLabel={}) |
template<typename T , typename TReturn , typename TRecord , typename TArg > | |
ESConsumesCollectorT< TRecord > | setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel={}) |
void | usesResources (std::vector< std::string > const &) |
Protected Member Functions inherited from edm::ESProxyFactoryProducer | |
template<class TFactory > | |
void | registerFactory (std::unique_ptr< TFactory > iFactory, const std::string &iLabel=std::string()) |
virtual void | registerFactoryWithKey (const EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string()) |
KeyedProxiesVector | registerProxies (const EventSetupRecordKey &, unsigned int iovIndex) override |
Protected Member Functions inherited from edm::eventsetup::DataProxyProvider | |
template<class T > | |
void | usingRecord () |
void | usingRecordWithKey (const EventSetupRecordKey &key) |
Definition at line 31 of file FWTGeoRecoGeometryESProducer.h.
|
private |
Enumerator | |
---|---|
kDummy | |
kSiPixel | |
kSiStrip | |
kMuonDT | |
kMuonRPC | |
kMuonCSC | |
kMuonGEM | |
kMuonME0 | |
kECal | |
kHCal | |
kCaloTower | |
kHGCE | |
kHGCH |
Definition at line 32 of file FWTGeoRecoGeometryESProducer.h.
FWTGeoRecoGeometryESProducer::FWTGeoRecoGeometryESProducer | ( | const edm::ParameterSet & | pset | ) |
Definition at line 63 of file FWTGeoRecoGeometryESProducer.cc.
References m_calo, m_caloGeomToken, m_muon, m_tracker, m_trackerTopologyToken, m_trackingGeomToken, muonDTDigis_cfi::pset, and edm::ESProducer::setWhatProduced().
|
override |
Definition at line 80 of file FWTGeoRecoGeometryESProducer.cc.
|
private |
|
private |
Definition at line 1067 of file FWTGeoRecoGeometryESProducer.cc.
References c, DetId::Calo, PVValHelper::dz, mps_fire::end, CaloCellGeometry::etaPos(), get, CaloCellGeometry::getCorners(), GetDaughter(), CaloGeometry::getGeometry(), GetMedium(), GetTopHolder(), CaloGeometry::getValidDetIds(), CaloTowerDetId::ieta(), kCaloTower, IdealObliquePrism::localCorners(), m_caloGeom, CaloCellGeometry::param(), CaloCellGeometry::phiPos(), HLT_FULL_cff::points, makeMuonMisalignmentScenario::rot, CaloTowerDetId::SubdetId, x, y, z, and CaloTowerDetId::zside().
Referenced by produce().
|
private |
Definition at line 628 of file FWTGeoRecoGeometryESProducer.cc.
References relativeConstraints::chamber, dd4hep::createPlacement(), createVolume(), TrackingGeometry::dets(), GetDaughter(), GetTopHolder(), kMuonCSC, kMuonRPC, phase1PixelTopology::layer, m_trackingGeom, Skims_PA_cff::name, alignCSCRings::s, GlobalTrackingGeometry::slaveGeometry(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
private |
Definition at line 554 of file FWTGeoRecoGeometryESProducer.cc.
References relativeConstraints::chamber, dd4hep::createPlacement(), createVolume(), TrackingGeometry::dets(), mps_fire::end, GetDaughter(), GetTopHolder(), kMuonDT, kMuonRPC, phase1PixelTopology::layer, m_trackingGeom, Skims_PA_cff::name, alignCSCRings::s, GlobalTrackingGeometry::slaveGeometry(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
private |
Definition at line 1194 of file FWTGeoRecoGeometryESProducer.cc.
References DetId::Ecal, EcalBarrel, EcalEndcap, mps_fire::end, get, CaloCellGeometry::getCorners(), GetDaughter(), getEcalTrans(), CaloGeometry::getGeometry(), GetMedium(), GetTopHolder(), CaloGeometry::getValidDetIds(), EBDetId::ieta(), EEDetId::ix(), kECal, m_caloGeom, makeEcalShape(), CaloCellGeometry::param(), EBDetId::zside(), and EEDetId::zside().
Referenced by produce().
|
private |
Definition at line 664 of file FWTGeoRecoGeometryESProducer.cc.
References dd4hep::createPlacement(), createVolume(), mps_fire::end, GEMGeometry::etaPartitions(), cppFunctionSkipper::exception, MuonSubdetId::GEM, GeomDet::geographicalId(), GetDaughter(), GetTopHolder(), kMuonGEM, kMuonRPC, m_trackingGeom, DetId::Muon, Skims_PA_cff::name, alignCSCRings::s, GlobalTrackingGeometry::slaveGeometry(), AlCaHLTBitMon_QueryRunRegistry::string, and GEMGeometry::superChambers().
Referenced by produce().
|
private |
Definition at line 785 of file FWTGeoRecoGeometryESProducer.cc.
References c, PVValHelper::dz, mps_fire::end, CaloCellGeometry::etaPos(), get, CaloCellGeometry::getCorners(), GetDaughter(), CaloGeometry::getGeometry(), GetMedium(), GetTopHolder(), CaloGeometry::getValidDetIds(), DetId::Hcal, HcalBarrel, HcalDetId::ieta(), kHCal, IdealObliquePrism::localCorners(), m_caloGeom, CaloCellGeometry::param(), CaloCellGeometry::phiPos(), HLT_FULL_cff::points, makeMuonMisalignmentScenario::rot, x, y, z, and HcalDetId::zside().
Referenced by produce().
|
private |
Definition at line 861 of file FWTGeoRecoGeometryESProducer.cc.
References c, PVValHelper::dz, mps_fire::end, CaloCellGeometry::etaPos(), get, CaloCellGeometry::getCorners(), GetDaughter(), CaloGeometry::getGeometry(), GetMedium(), GetTopHolder(), CaloGeometry::getValidDetIds(), DetId::Hcal, HcalEndcap, HcalDetId::ieta(), kHCal, IdealObliquePrism::localCorners(), m_caloGeom, CaloCellGeometry::param(), CaloCellGeometry::phiPos(), HLT_FULL_cff::points, makeMuonMisalignmentScenario::rot, x, y, z, and HcalDetId::zside().
Referenced by produce().
|
private |
Definition at line 1001 of file FWTGeoRecoGeometryESProducer.cc.
References c, PVValHelper::dz, mps_fire::end, CaloCellGeometry::etaPos(), get, CaloCellGeometry::getCorners(), GetDaughter(), CaloGeometry::getGeometry(), GetMedium(), GetTopHolder(), CaloGeometry::getValidDetIds(), DetId::Hcal, HcalForward, HcalDetId::ieta(), kHCal, IdealZPrism::localCorners(), m_caloGeom, CaloCellGeometry::param(), CaloCellGeometry::phiPos(), HLT_FULL_cff::points, makeMuonMisalignmentScenario::rot, x, y, z, and HcalDetId::zside().
Referenced by produce().
|
private |
Definition at line 935 of file FWTGeoRecoGeometryESProducer.cc.
References c, PVValHelper::dz, mps_fire::end, CaloCellGeometry::etaPos(), get, CaloCellGeometry::getCorners(), GetDaughter(), CaloGeometry::getGeometry(), GetMedium(), GetTopHolder(), CaloGeometry::getValidDetIds(), DetId::Hcal, HcalOuter, HcalDetId::ieta(), kHCal, IdealObliquePrism::localCorners(), m_caloGeom, CaloCellGeometry::param(), CaloCellGeometry::phiPos(), HLT_FULL_cff::points, makeMuonMisalignmentScenario::rot, x, y, z, and HcalDetId::zside().
Referenced by produce().
|
private |
Definition at line 751 of file FWTGeoRecoGeometryESProducer.cc.
References dd4hep::createPlacement(), createVolume(), ME0Geometry::etaPartitions(), cppFunctionSkipper::exception, GetDaughter(), GetTopHolder(), kMuonME0, m_trackingGeom, DetId::Muon, Skims_PA_cff::name, alignCSCRings::s, GlobalTrackingGeometry::slaveGeometry(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
private |
Definition at line 425 of file FWTGeoRecoGeometryESProducer.cc.
References dd4hep::createPlacement(), createVolume(), TrackerGeometry::detsPXB(), GetDaughter(), GetTopHolder(), kSiPixel, PVValHelper::ladder, phase1PixelTopology::layer, m_trackerGeom, m_trackerTopology, Skims_PA_cff::name, TrackerTopology::pxbLadder(), TrackerTopology::pxbLayer(), TrackerTopology::pxbModule(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
private |
Definition at line 445 of file FWTGeoRecoGeometryESProducer.cc.
References dd4hep::createPlacement(), createVolume(), TrackerGeometry::detsPXF(), GetDaughter(), GetTopHolder(), kSiPixel, m_trackerGeom, m_trackerTopology, Skims_PA_cff::name, TrackerTopology::pxfBlade(), TrackerTopology::pxfDisk(), TrackerTopology::pxfPanel(), TrackerTopology::side(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
private |
Definition at line 723 of file FWTGeoRecoGeometryESProducer.cc.
References dd4hep::createPlacement(), createVolume(), mps_fire::end, GeomDet::geographicalId(), GetDaughter(), GetTopHolder(), kMuonRPC, m_trackingGeom, DetId::Muon, Skims_PA_cff::name, RPCGeometry::rolls(), MuonSubdetId::RPC, alignCSCRings::s, GlobalTrackingGeometry::slaveGeometry(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
private |
Definition at line 528 of file FWTGeoRecoGeometryESProducer.cc.
References dd4hep::createPlacement(), createVolume(), TrackerGeometry::detsTEC(), GetDaughter(), GetTopHolder(), kSiStrip, m_trackerGeom, m_trackerTopology, Skims_PA_cff::name, eventshapeDQM_cfi::order, TrackerTopology::print(), relativeConstraints::ring, AlCaHLTBitMon_QueryRunRegistry::string, TrackerTopology::tecModule(), TrackerTopology::tecOrder(), and TrackerTopology::tecRing().
Referenced by produce().
|
private |
Definition at line 468 of file FWTGeoRecoGeometryESProducer.cc.
References dd4hep::createPlacement(), createVolume(), TrackerGeometry::detsTIB(), GetDaughter(), GetTopHolder(), kSiStrip, m_trackerGeom, m_trackerTopology, Skims_PA_cff::name, eventshapeDQM_cfi::order, TrackerTopology::print(), AlCaHLTBitMon_QueryRunRegistry::string, TrackerTopology::tibModule(), TrackerTopology::tibOrder(), and TrackerTopology::tibSide().
Referenced by produce().
|
private |
Definition at line 488 of file FWTGeoRecoGeometryESProducer.cc.
References dd4hep::createPlacement(), createVolume(), TrackerGeometry::detsTID(), GetDaughter(), GetTopHolder(), kSiStrip, m_trackerGeom, m_trackerTopology, Skims_PA_cff::name, TrackerTopology::print(), relativeConstraints::ring, AlCaHLTBitMon_QueryRunRegistry::string, TrackerTopology::tidRing(), TrackerTopology::tidSide(), TrackerTopology::tidWheel(), and makeMuonMisalignmentScenario::wheel.
Referenced by produce().
|
private |
Definition at line 508 of file FWTGeoRecoGeometryESProducer.cc.
References dd4hep::createPlacement(), createVolume(), TrackerGeometry::detsTOB(), GetDaughter(), GetTopHolder(), kSiStrip, m_trackerGeom, m_trackerTopology, Skims_PA_cff::name, TrackerTopology::print(), AlCaHLTBitMon_QueryRunRegistry::string, TrackerTopology::tobModule(), TrackerTopology::tobRod(), and TrackerTopology::tobSide().
Referenced by produce().
|
private |
|
private |
Create TGeo shape for GeomDet
Definition at line 339 of file FWTGeoRecoGeometryESProducer.cc.
References b, b2, Surface::bounds(), Bounds::length(), m_nameToShape, Skims_PA_cff::name, alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, GeomDet::surface(), Bounds::thickness(), Calorimetry_cff::thickness, ApeEstimator_cff::width, and Bounds::width().
Referenced by createVolume().
|
private |
Create TGeo volume for GeomDet
Definition at line 402 of file FWTGeoRecoGeometryESProducer.cc.
References createShape(), GetMedium(), m_shapeToVolume, and Skims_PA_cff::name.
Referenced by addCSCGeometry(), addDTGeometry(), addGEMGeometry(), addME0Geometry(), addPixelBarrelGeometry(), addPixelForwardGeometry(), addRPCGeometry(), addTECGeometry(), addTIBGeometry(), addTIDGeometry(), and addTOBGeometry().
|
private |
Definition at line 138 of file FWTGeoRecoGeometryESProducer.cc.
References GetMedium(), dqmiodumpmetadata::n, and hcallasereventfilter2012_cfi::prefix.
|
private |
Definition at line 121 of file FWTGeoRecoGeometryESProducer.cc.
References GetMedium(), dqmiodumpmetadata::n, and hcallasereventfilter2012_cfi::prefix.
Referenced by addCaloTowerGeometry(), addCSCGeometry(), addDTGeometry(), addEcalCaloGeometry(), addGEMGeometry(), addHcalCaloGeometryBarrel(), addHcalCaloGeometryEndcap(), addHcalCaloGeometryForward(), addHcalCaloGeometryOuter(), addME0Geometry(), addPixelBarrelGeometry(), addPixelForwardGeometry(), addRPCGeometry(), addTECGeometry(), addTIBGeometry(), addTIDGeometry(), addTOBGeometry(), and GetTopHolder().
|
private |
Definition at line 181 of file FWTGeoRecoGeometryESProducer.cc.
References kCaloTower, kECal, kHCal, kHGCE, kHGCH, kMuonCSC, kMuonDT, kMuonGEM, kMuonME0, kMuonRPC, kSiPixel, kSiStrip, m_dummyMedium, m_recoMedium, Skims_PA_cff::name, AlCaHLTBitMon_QueryRunRegistry::string, and Phase2TrackerMonitorDigi_cff::switch.
Referenced by addCaloTowerGeometry(), addEcalCaloGeometry(), addHcalCaloGeometryBarrel(), addHcalCaloGeometryEndcap(), addHcalCaloGeometryForward(), addHcalCaloGeometryOuter(), createVolume(), and GetDaughter().
|
private |
Definition at line 156 of file FWTGeoRecoGeometryESProducer.cc.
References GetDaughter(), and hcallasereventfilter2012_cfi::prefix.
Referenced by addCaloTowerGeometry(), addCSCGeometry(), addDTGeometry(), addEcalCaloGeometry(), addGEMGeometry(), addHcalCaloGeometryBarrel(), addHcalCaloGeometryEndcap(), addHcalCaloGeometryForward(), addHcalCaloGeometryOuter(), addME0Geometry(), addPixelBarrelGeometry(), addPixelForwardGeometry(), addRPCGeometry(), addTECGeometry(), addTIBGeometry(), addTIDGeometry(), and addTOBGeometry().
|
private |
std::unique_ptr< FWTGeoRecoGeometry > FWTGeoRecoGeometryESProducer::produce | ( | const FWTGeoRecoGeometryRecord & | record | ) |
Definition at line 263 of file FWTGeoRecoGeometryESProducer.cc.
References addCaloTowerGeometry(), addCSCGeometry(), addDTGeometry(), addEcalCaloGeometry(), addGEMGeometry(), addHcalCaloGeometryBarrel(), addHcalCaloGeometryEndcap(), addHcalCaloGeometryForward(), addHcalCaloGeometryOuter(), addME0Geometry(), addPixelBarrelGeometry(), addPixelForwardGeometry(), addRPCGeometry(), addTECGeometry(), addTIBGeometry(), addTIDGeometry(), addTOBGeometry(), relativeConstraints::geom, m_calo, m_caloGeom, m_caloGeomToken, m_dummyMedium, m_muon, m_tracker, m_trackerGeom, m_trackerTopology, m_trackerTopologyToken, m_trackingGeom, m_trackingGeomToken, GlobalPosition_Frontier_DevDB_cff::record, GlobalTrackingGeometry::slaveGeometry(), and DetId::Tracker.
|
private |
Definition at line 104 of file FWTGeoRecoGeometryESProducer.h.
Referenced by FWTGeoRecoGeometryESProducer(), and produce().
|
private |
Definition at line 96 of file FWTGeoRecoGeometryESProducer.h.
Referenced by addCaloTowerGeometry(), addEcalCaloGeometry(), addHcalCaloGeometryBarrel(), addHcalCaloGeometryEndcap(), addHcalCaloGeometryForward(), addHcalCaloGeometryOuter(), and produce().
|
private |
Definition at line 93 of file FWTGeoRecoGeometryESProducer.h.
Referenced by FWTGeoRecoGeometryESProducer(), and produce().
|
private |
Definition at line 100 of file FWTGeoRecoGeometryESProducer.h.
Referenced by GetMedium(), and produce().
|
private |
Definition at line 103 of file FWTGeoRecoGeometryESProducer.h.
Referenced by FWTGeoRecoGeometryESProducer(), and produce().
|
private |
Definition at line 87 of file FWTGeoRecoGeometryESProducer.h.
Referenced by createShape().
|
private |
Definition at line 89 of file FWTGeoRecoGeometryESProducer.h.
Referenced by GetMedium().
|
private |
Definition at line 88 of file FWTGeoRecoGeometryESProducer.h.
Referenced by createVolume().
|
private |
Definition at line 102 of file FWTGeoRecoGeometryESProducer.h.
Referenced by FWTGeoRecoGeometryESProducer(), and produce().
|
private |
Definition at line 97 of file FWTGeoRecoGeometryESProducer.h.
Referenced by addPixelBarrelGeometry(), addPixelForwardGeometry(), addTECGeometry(), addTIBGeometry(), addTIDGeometry(), addTOBGeometry(), and produce().
|
private |
Definition at line 98 of file FWTGeoRecoGeometryESProducer.h.
Referenced by addPixelBarrelGeometry(), addPixelForwardGeometry(), addTECGeometry(), addTIBGeometry(), addTIDGeometry(), addTOBGeometry(), and produce().
|
private |
Definition at line 92 of file FWTGeoRecoGeometryESProducer.h.
Referenced by FWTGeoRecoGeometryESProducer(), and produce().
|
private |
Definition at line 95 of file FWTGeoRecoGeometryESProducer.h.
Referenced by addCSCGeometry(), addDTGeometry(), addGEMGeometry(), addME0Geometry(), addRPCGeometry(), and produce().
|
private |
Definition at line 91 of file FWTGeoRecoGeometryESProducer.h.
Referenced by FWTGeoRecoGeometryESProducer(), and produce().