#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 |
edm::ESHandle< CaloGeometry > | m_caloGeom |
TGeoMedium * | m_dummyMedium |
std::shared_ptr< FWTGeoRecoGeometry > | m_fwGeometry |
edm::ESHandle< GlobalTrackingGeometry > | m_geomRecord |
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 |
const TrackerTopology * | m_trackerTopology |
Additional Inherited Members | |
Public Types inherited from edm::eventsetup::DataProxyProvider | |
typedef std::vector< std::pair< DataKey, edm::propagate_const< std::shared_ptr< DataProxy > > > > | KeyedProxies |
typedef std::vector< EventSetupRecordKey > | Keys |
typedef std::map< EventSetupRecordKey, KeyedProxies > | RecordProxies |
Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::ESProducer | |
template<typename T > | |
void | setWhatProduced (T *iThis, const es::Label &iLabel=es::Label()) |
template<typename T > | |
void | setWhatProduced (T *iThis, const char *iLabel) |
template<typename T > | |
void | setWhatProduced (T *iThis, const std::string &iLabel) |
template<typename T , typename TDecorator > | |
void | setWhatProduced (T *iThis, const TDecorator &iDec, const es::Label &iLabel=es::Label()) |
template<typename T , typename TReturn , typename TRecord > | |
void | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const es::Label &iLabel=es::Label()) |
template<typename T , typename TReturn , typename TRecord , typename TArg > | |
void | setWhatProduced (T *iThis, TReturn(T::*iMethod)(const TRecord &), const TArg &iDec, const es::Label &iLabel=es::Label()) |
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 eventsetup::EventSetupRecordKey &iRecord, std::unique_ptr< eventsetup::ProxyFactoryBase > iFactory, const std::string &iLabel=std::string()) |
virtual void | registerProxies (const eventsetup::EventSetupRecordKey &iRecord, KeyedProxies &aProxyList) |
override DataProxyProvider method More... | |
Protected Member Functions inherited from edm::eventsetup::DataProxyProvider | |
void | eraseAll (const EventSetupRecordKey &iRecordKey) |
deletes all the Proxies in aStream More... | |
void | invalidateProxies (const EventSetupRecordKey &iRecordKey) |
template<class T > | |
void | usingRecord () |
void | usingRecordWithKey (const EventSetupRecordKey &) |
Definition at line 29 of file FWTGeoRecoGeometryESProducer.h.
|
private |
Enumerator | |
---|---|
kDummy | |
kSiPixel | |
kSiStrip | |
kMuonDT | |
kMuonRPC | |
kMuonCSC | |
kMuonGEM | |
kMuonME0 | |
kECal | |
kHCal | |
kCaloTower | |
kHGCE | |
kHGCH |
Definition at line 31 of file FWTGeoRecoGeometryESProducer.h.
FWTGeoRecoGeometryESProducer::FWTGeoRecoGeometryESProducer | ( | const edm::ParameterSet & | pset | ) |
Definition at line 68 of file FWTGeoRecoGeometryESProducer.cc.
References edm::ParameterSet::getUntrackedParameter(), m_calo, m_muon, m_tracker, edm::ESProducer::setWhatProduced(), and funct::true.
|
virtual |
Definition at line 78 of file FWTGeoRecoGeometryESProducer.cc.
References makeMuonMisalignmentScenario::matrix, gen::n, dataset::name, GloballyPositioned< T >::position(), idealTransformation::rotation, GloballyPositioned< T >::rotation(), GeomDet::surface(), PV3DBase< T, PVType, FrameType >::x(), TkRotation< T >::xx(), TkRotation< T >::xy(), TkRotation< T >::xz(), PV3DBase< T, PVType, FrameType >::y(), TkRotation< T >::yx(), TkRotation< T >::yy(), TkRotation< T >::yz(), PV3DBase< T, PVType, FrameType >::z(), TkRotation< T >::zx(), TkRotation< T >::zy(), and TkRotation< T >::zz().
|
private |
|
private |
Definition at line 1179 of file FWTGeoRecoGeometryESProducer.cc.
References EnergyCorrector::c, DetId::Calo, PVValHelper::dz, end, GetDaughter(), CaloGeometry::getGeometry(), GetMedium(), GetTopHolder(), CaloGeometry::getValidDetIds(), CaloTowerDetId::ieta(), kCaloTower, IdealObliquePrism::localCorners(), m_caloGeom, hiPixelPairStep_cff::points, makeMuonMisalignmentScenario::rot, CaloTowerDetId::SubdetId, and CaloTowerDetId::zside().
Referenced by produce().
|
private |
Definition at line 695 of file FWTGeoRecoGeometryESProducer.cc.
References relativeConstraints::chamber, createVolume(), TrackingGeometry::dets(), GetDaughter(), GetTopHolder(), kMuonCSC, kMuonRPC, m_geomRecord, dataset::name, alignCSCRings::s, GlobalTrackingGeometry::slaveGeometry(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
private |
Definition at line 606 of file FWTGeoRecoGeometryESProducer.cc.
References relativeConstraints::chamber, createVolume(), TrackingGeometry::dets(), end, GetDaughter(), GetTopHolder(), kMuonDT, kMuonRPC, m_geomRecord, dataset::name, alignCSCRings::s, GlobalTrackingGeometry::slaveGeometry(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
private |
Definition at line 1315 of file FWTGeoRecoGeometryESProducer.cc.
References DetId::Ecal, EcalBarrel, EcalEndcap, 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 738 of file FWTGeoRecoGeometryESProducer.cc.
References createVolume(), end, GEMGeometry::etaPartitions(), cppFunctionSkipper::exception, MuonSubdetId::GEM, GeomDet::geographicalId(), GetDaughter(), GetTopHolder(), kMuonGEM, kMuonRPC, m_geomRecord, DetId::Muon, dataset::name, alignCSCRings::s, SimDataFormats::CaloAnalysis::sc, GlobalTrackingGeometry::slaveGeometry(), AlCaHLTBitMon_QueryRunRegistry::string, GEMGeometry::superChambers(), and cms::Exception::what().
Referenced by produce().
|
private |
Definition at line 888 of file FWTGeoRecoGeometryESProducer.cc.
References EnergyCorrector::c, PVValHelper::dz, 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 966 of file FWTGeoRecoGeometryESProducer.cc.
References EnergyCorrector::c, PVValHelper::dz, end, GetDaughter(), CaloGeometry::getGeometry(), GetMedium(), GetTopHolder(), CaloGeometry::getValidDetIds(), DetId::Hcal, HcalEndcap, HcalDetId::ieta(), kHCal, IdealObliquePrism::localCorners(), m_caloGeom, hiPixelPairStep_cff::points, makeMuonMisalignmentScenario::rot, and HcalDetId::zside().
Referenced by produce().
|
private |
Definition at line 1112 of file FWTGeoRecoGeometryESProducer.cc.
References EnergyCorrector::c, PVValHelper::dz, end, GetDaughter(), CaloGeometry::getGeometry(), GetMedium(), GetTopHolder(), CaloGeometry::getValidDetIds(), DetId::Hcal, HcalForward, HcalDetId::ieta(), kHCal, IdealZPrism::localCorners(), m_caloGeom, hiPixelPairStep_cff::points, makeMuonMisalignmentScenario::rot, and HcalDetId::zside().
Referenced by produce().
|
private |
Definition at line 1045 of file FWTGeoRecoGeometryESProducer.cc.
References EnergyCorrector::c, PVValHelper::dz, end, GetDaughter(), CaloGeometry::getGeometry(), GetMedium(), GetTopHolder(), CaloGeometry::getValidDetIds(), DetId::Hcal, HcalOuter, HcalDetId::ieta(), kHCal, IdealObliquePrism::localCorners(), m_caloGeom, hiPixelPairStep_cff::points, makeMuonMisalignmentScenario::rot, and HcalDetId::zside().
Referenced by produce().
|
private |
Definition at line 843 of file FWTGeoRecoGeometryESProducer.cc.
References createVolume(), ME0Geometry::etaPartitions(), cppFunctionSkipper::exception, GetDaughter(), GetTopHolder(), kMuonME0, m_geomRecord, DetId::Muon, dataset::name, alignCSCRings::s, GlobalTrackingGeometry::slaveGeometry(), AlCaHLTBitMon_QueryRunRegistry::string, and cms::Exception::what().
Referenced by produce().
|
private |
Definition at line 455 of file FWTGeoRecoGeometryESProducer.cc.
References createVolume(), TrackerGeometry::detsPXB(), GetDaughter(), GetTopHolder(), kSiPixel, PVValHelper::ladder, m_trackerGeom, m_trackerTopology, dataset::name, TrackerTopology::pxbLadder(), TrackerTopology::pxbLayer(), TrackerTopology::pxbModule(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
private |
Definition at line 477 of file FWTGeoRecoGeometryESProducer.cc.
References createVolume(), TrackerGeometry::detsPXF(), GetDaughter(), GetTopHolder(), kSiPixel, m_trackerGeom, m_trackerTopology, dataset::name, TrackerTopology::pxfBlade(), TrackerTopology::pxfDisk(), TrackerTopology::pxfPanel(), TrackerTopology::side(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
private |
Definition at line 809 of file FWTGeoRecoGeometryESProducer.cc.
References createVolume(), end, GeomDet::geographicalId(), GetDaughter(), GetTopHolder(), kMuonRPC, m_geomRecord, DetId::Muon, dataset::name, RPCGeometry::rolls(), MuonSubdetId::RPC, alignCSCRings::s, GlobalTrackingGeometry::slaveGeometry(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
private |
Definition at line 574 of file FWTGeoRecoGeometryESProducer.cc.
References createVolume(), TrackerGeometry::detsTEC(), GetDaughter(), GetTopHolder(), kSiStrip, m_trackerGeom, m_trackerTopology, dataset::name, relativeConstraints::ring, alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, TrackerTopology::tecModule(), TrackerTopology::tecOrder(), and TrackerTopology::tecRing().
Referenced by produce().
|
private |
Definition at line 502 of file FWTGeoRecoGeometryESProducer.cc.
References createVolume(), TrackerGeometry::detsTIB(), GetDaughter(), GetTopHolder(), kSiStrip, m_trackerGeom, m_trackerTopology, dataset::name, alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, TrackerTopology::tibModule(), TrackerTopology::tibOrder(), and TrackerTopology::tibSide().
Referenced by produce().
|
private |
Definition at line 526 of file FWTGeoRecoGeometryESProducer.cc.
References createVolume(), TrackerGeometry::detsTID(), GetDaughter(), GetTopHolder(), kSiStrip, m_trackerGeom, m_trackerTopology, dataset::name, relativeConstraints::ring, alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, TrackerTopology::tidRing(), TrackerTopology::tidSide(), TrackerTopology::tidWheel(), and makeMuonMisalignmentScenario::wheel.
Referenced by produce().
|
private |
Definition at line 550 of file FWTGeoRecoGeometryESProducer.cc.
References createVolume(), TrackerGeometry::detsTOB(), GetDaughter(), GetTopHolder(), kSiStrip, m_trackerGeom, m_trackerTopology, dataset::name, alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, TrackerTopology::tobModule(), TrackerTopology::tobRod(), and TrackerTopology::tobSide().
Referenced by produce().
|
private |
|
private |
Create TGeo shape for GeomDet
Definition at line 351 of file FWTGeoRecoGeometryESProducer.cc.
References b, Surface::bounds(), Bounds::length(), m_nameToShape, dataset::name, TrapezoidalPlaneBounds::parameters(), alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, GeomDet::surface(), Bounds::thickness(), ApeEstimator_cff::width, and Bounds::width().
Referenced by createVolume().
|
private |
Create TGeo volume for GeomDet
Definition at line 428 of file FWTGeoRecoGeometryESProducer.cc.
References createShape(), GetMedium(), and m_shapeToVolume.
Referenced by addCSCGeometry(), addDTGeometry(), addGEMGeometry(), addME0Geometry(), addPixelBarrelGeometry(), addPixelForwardGeometry(), addRPCGeometry(), addTECGeometry(), addTIBGeometry(), addTIDGeometry(), and addTOBGeometry().
|
private |
Definition at line 120 of file FWTGeoRecoGeometryESProducer.cc.
References GetMedium(), and gen::n.
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 137 of file FWTGeoRecoGeometryESProducer.cc.
References GetMedium(), and gen::n.
|
private |
Definition at line 177 of file FWTGeoRecoGeometryESProducer.cc.
References create_public_lumi_plots::color, kCaloTower, kECal, kHCal, kHGCE, kHGCH, kMuonCSC, kMuonDT, kMuonGEM, kMuonME0, kMuonRPC, kSiPixel, kSiStrip, m_dummyMedium, m_recoMedium, dataset::name, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by addCaloTowerGeometry(), addEcalCaloGeometry(), addHcalCaloGeometryBarrel(), addHcalCaloGeometryEndcap(), addHcalCaloGeometryForward(), addHcalCaloGeometryOuter(), createVolume(), and GetDaughter().
|
private |
Definition at line 155 of file FWTGeoRecoGeometryESProducer.cc.
References GetDaughter(), and tablePrinter::prefix.
Referenced by addCaloTowerGeometry(), addCSCGeometry(), addDTGeometry(), addEcalCaloGeometry(), addGEMGeometry(), addHcalCaloGeometryBarrel(), addHcalCaloGeometryEndcap(), addHcalCaloGeometryForward(), addHcalCaloGeometryOuter(), addME0Geometry(), addPixelBarrelGeometry(), addPixelForwardGeometry(), addRPCGeometry(), addTECGeometry(), addTIBGeometry(), addTIDGeometry(), and addTOBGeometry().
|
private |
std::shared_ptr< FWTGeoRecoGeometry > FWTGeoRecoGeometryESProducer::produce | ( | const FWTGeoRecoGeometryRecord & | record | ) |
Definition at line 266 of file FWTGeoRecoGeometryESProducer.cc.
References addCaloTowerGeometry(), addCSCGeometry(), addDTGeometry(), addEcalCaloGeometry(), addGEMGeometry(), addHcalCaloGeometryBarrel(), addHcalCaloGeometryEndcap(), addHcalCaloGeometryForward(), addHcalCaloGeometryOuter(), addME0Geometry(), addPixelBarrelGeometry(), addPixelForwardGeometry(), addRPCGeometry(), addTECGeometry(), addTIBGeometry(), addTIDGeometry(), addTOBGeometry(), relativeConstraints::geom, edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), m_calo, m_caloGeom, m_dummyMedium, m_fwGeometry, m_geomRecord, m_muon, m_tracker, m_trackerGeom, m_trackerTopology, edm::ESHandle< T >::product(), GlobalTrackingGeometry::slaveGeometry(), and DetId::Tracker.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 90 of file FWTGeoRecoGeometryESProducer.h.
Referenced by FWTGeoRecoGeometryESProducer(), and produce().
|
private |
Definition at line 80 of file FWTGeoRecoGeometryESProducer.h.
Referenced by addCaloTowerGeometry(), addEcalCaloGeometry(), addHcalCaloGeometryBarrel(), addHcalCaloGeometryEndcap(), addHcalCaloGeometryForward(), addHcalCaloGeometryOuter(), and produce().
|
private |
Definition at line 86 of file FWTGeoRecoGeometryESProducer.h.
Referenced by GetMedium(), and produce().
|
private |
Definition at line 84 of file FWTGeoRecoGeometryESProducer.h.
Referenced by produce().
|
private |
Definition at line 79 of file FWTGeoRecoGeometryESProducer.h.
Referenced by addCSCGeometry(), addDTGeometry(), addGEMGeometry(), addME0Geometry(), addRPCGeometry(), and produce().
|
private |
Definition at line 89 of file FWTGeoRecoGeometryESProducer.h.
Referenced by FWTGeoRecoGeometryESProducer(), and produce().
|
private |
Definition at line 75 of file FWTGeoRecoGeometryESProducer.h.
Referenced by createShape().
|
private |
Definition at line 77 of file FWTGeoRecoGeometryESProducer.h.
Referenced by GetMedium().
|
private |
Definition at line 76 of file FWTGeoRecoGeometryESProducer.h.
Referenced by createVolume().
|
private |
Definition at line 88 of file FWTGeoRecoGeometryESProducer.h.
Referenced by FWTGeoRecoGeometryESProducer(), and produce().
|
private |
Definition at line 81 of file FWTGeoRecoGeometryESProducer.h.
Referenced by addPixelBarrelGeometry(), addPixelForwardGeometry(), addTECGeometry(), addTIBGeometry(), addTIDGeometry(), addTOBGeometry(), and produce().
|
private |
Definition at line 82 of file FWTGeoRecoGeometryESProducer.h.
Referenced by addPixelBarrelGeometry(), addPixelForwardGeometry(), addTECGeometry(), addTIBGeometry(), addTIDGeometry(), addTOBGeometry(), and produce().