#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_gem |
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 | |
ESConsumesInfo * | consumesInfoPushBackNew () |
unsigned int | consumesInfoSize () const |
template<typename CallbackT , typename TList , typename TRecord > | |
void | registerProducts (std::shared_ptr< std::pair< unsigned int, std::shared_ptr< CallbackT >>> iCallback, const TList *, const TRecord *iRecord, const es::Label &iLabel) |
template<typename CallbackT , typename TRecord > | |
void | registerProducts (std::shared_ptr< std::pair< unsigned int, std::shared_ptr< CallbackT >>>, const eventsetup::produce::Null *, const TRecord *, const es::Label &) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const es::Label &iLabel={}) |
template<typename T > | |
auto | setWhatProduced (T *iThis, const char *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 TDecorator > | |
auto | setWhatProduced (T *iThis, TReturn(T ::*iMethod)(const TRecord &), const TDecorator &iDec, const es::Label &iLabel={}) |
template<typename TFunc > | |
auto | setWhatProduced (TFunc &&func, const es::Label &iLabel={}) |
template<typename TReturn , typename TRecord , typename TFunc , typename TDecorator > | |
ESConsumesCollectorT< TRecord > | setWhatProduced (TFunc &&func, TDecorator &&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 gpuPixelDoublets::cc, m_calo, m_caloGeomToken, m_gem, m_muon, m_tracker, m_trackerTopologyToken, m_trackingGeomToken, muonDTDigis_cfi::pset, and edm::ESProducer::setWhatProduced().
|
override |
Definition at line 84 of file FWTGeoRecoGeometryESProducer.cc.
|
private |
|
private |
Definition at line 1074 of file FWTGeoRecoGeometryESProducer.cc.
References HltBtagPostValidation_cff::c, DetId::Calo, PVValHelper::dz, mps_fire::end, CaloCellGeometry::etaPos(), CaloCellGeometry::getCorners(), GetDaughter(), CaloGeometry::getGeometry(), GetMedium(), GetTopHolder(), CaloGeometry::getValidDetIds(), CaloTowerDetId::ieta(), kCaloTower, IdealObliquePrism::localCorners(), m_caloGeom, CaloCellGeometry::param(), CaloCellGeometry::phiPos(), hiPixelPairStep_cff::points, makeMuonMisalignmentScenario::rot, CaloTowerDetId::SubdetId, and CaloTowerDetId::zside().
Referenced by produce().
|
private |
Definition at line 635 of file FWTGeoRecoGeometryESProducer.cc.
References relativeConstraints::chamber, dd4hep::createPlacement(), createVolume(), TrackingGeometry::dets(), GetDaughter(), GetTopHolder(), kMuonCSC, kMuonRPC, pixelTopology::layer, m_trackingGeom, Skims_PA_cff::name, alignCSCRings::s, GlobalTrackingGeometry::slaveGeometry(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
private |
Definition at line 561 of file FWTGeoRecoGeometryESProducer.cc.
References relativeConstraints::chamber, dd4hep::createPlacement(), createVolume(), TrackingGeometry::dets(), mps_fire::end, GetDaughter(), GetTopHolder(), kMuonDT, kMuonRPC, pixelTopology::layer, m_trackingGeom, Skims_PA_cff::name, alignCSCRings::s, GlobalTrackingGeometry::slaveGeometry(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
private |
Definition at line 1201 of file FWTGeoRecoGeometryESProducer.cc.
References DetId::Ecal, EcalBarrel, EcalEndcap, mps_fire::end, 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 671 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 792 of file FWTGeoRecoGeometryESProducer.cc.
References HltBtagPostValidation_cff::c, PVValHelper::dz, mps_fire::end, CaloCellGeometry::etaPos(), CaloCellGeometry::getCorners(), GetDaughter(), CaloGeometry::getGeometry(), GetMedium(), GetTopHolder(), CaloGeometry::getValidDetIds(), DetId::Hcal, HcalBarrel, HcalDetId::ieta(), kHCal, IdealObliquePrism::localCorners(), m_caloGeom, CaloCellGeometry::param(), CaloCellGeometry::phiPos(), hiPixelPairStep_cff::points, makeMuonMisalignmentScenario::rot, x, y, z, and HcalDetId::zside().
Referenced by produce().
|
private |
Definition at line 868 of file FWTGeoRecoGeometryESProducer.cc.
References HltBtagPostValidation_cff::c, PVValHelper::dz, mps_fire::end, CaloCellGeometry::etaPos(), CaloCellGeometry::getCorners(), GetDaughter(), CaloGeometry::getGeometry(), GetMedium(), GetTopHolder(), CaloGeometry::getValidDetIds(), DetId::Hcal, HcalEndcap, HcalDetId::ieta(), kHCal, IdealObliquePrism::localCorners(), m_caloGeom, CaloCellGeometry::param(), CaloCellGeometry::phiPos(), hiPixelPairStep_cff::points, makeMuonMisalignmentScenario::rot, and HcalDetId::zside().
Referenced by produce().
|
private |
Definition at line 1008 of file FWTGeoRecoGeometryESProducer.cc.
References HltBtagPostValidation_cff::c, PVValHelper::dz, mps_fire::end, CaloCellGeometry::etaPos(), CaloCellGeometry::getCorners(), GetDaughter(), CaloGeometry::getGeometry(), GetMedium(), GetTopHolder(), CaloGeometry::getValidDetIds(), DetId::Hcal, HcalForward, HcalDetId::ieta(), kHCal, IdealZPrism::localCorners(), m_caloGeom, CaloCellGeometry::param(), CaloCellGeometry::phiPos(), hiPixelPairStep_cff::points, makeMuonMisalignmentScenario::rot, and HcalDetId::zside().
Referenced by produce().
|
private |
Definition at line 942 of file FWTGeoRecoGeometryESProducer.cc.
References HltBtagPostValidation_cff::c, PVValHelper::dz, mps_fire::end, CaloCellGeometry::etaPos(), CaloCellGeometry::getCorners(), GetDaughter(), CaloGeometry::getGeometry(), GetMedium(), GetTopHolder(), CaloGeometry::getValidDetIds(), DetId::Hcal, HcalOuter, HcalDetId::ieta(), kHCal, IdealObliquePrism::localCorners(), m_caloGeom, CaloCellGeometry::param(), CaloCellGeometry::phiPos(), hiPixelPairStep_cff::points, makeMuonMisalignmentScenario::rot, and HcalDetId::zside().
Referenced by produce().
|
private |
Definition at line 758 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 432 of file FWTGeoRecoGeometryESProducer.cc.
References dd4hep::createPlacement(), createVolume(), TrackerGeometry::detsPXB(), GetDaughter(), GetTopHolder(), kSiPixel, PVValHelper::ladder, pixelTopology::layer, m_trackerGeom, m_trackerTopology, callgraph::module, Skims_PA_cff::name, TrackerTopology::pxbLadder(), TrackerTopology::pxbLayer(), TrackerTopology::pxbModule(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
private |
Definition at line 452 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 730 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 535 of file FWTGeoRecoGeometryESProducer.cc.
References dd4hep::createPlacement(), createVolume(), TrackerGeometry::detsTEC(), GetDaughter(), GetTopHolder(), kSiStrip, m_trackerGeom, m_trackerTopology, callgraph::module, 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 475 of file FWTGeoRecoGeometryESProducer.cc.
References dd4hep::createPlacement(), createVolume(), TrackerGeometry::detsTIB(), GetDaughter(), GetTopHolder(), kSiStrip, m_trackerGeom, m_trackerTopology, callgraph::module, 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 495 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 515 of file FWTGeoRecoGeometryESProducer.cc.
References dd4hep::createPlacement(), createVolume(), TrackerGeometry::detsTOB(), GetDaughter(), GetTopHolder(), kSiStrip, m_trackerGeom, m_trackerTopology, callgraph::module, 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 346 of file FWTGeoRecoGeometryESProducer.cc.
References b, b2, Surface::bounds(), Bounds::length(), m_nameToShape, Skims_PA_cff::name, alignCSCRings::s, l1trig_cff::shape, 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 409 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 125 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 142 of file FWTGeoRecoGeometryESProducer.cc.
References GetMedium(), dqmiodumpmetadata::n, and hcallasereventfilter2012_cfi::prefix.
|
private |
Definition at line 185 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 160 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 267 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_gem, m_muon, m_tracker, m_trackerGeom, m_trackerTopology, m_trackerTopologyToken, m_trackingGeom, m_trackingGeomToken, AlCaHarvesting_cff::record, GlobalTrackingGeometry::slaveGeometry(), and DetId::Tracker.
|
private |
Definition at line 105 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 104 of file FWTGeoRecoGeometryESProducer.h.
Referenced by FWTGeoRecoGeometryESProducer(), 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().