#include <FWTGeoRecoGeometryESProducer.h>
Private Types | |
enum | ERecoDet { kDummy, kSiPixel, kSiStrip, kMuonDT, kMuonRPC, kMuonCSC, kMuonGEM, kMuonME0, kECal, kHCal, kHGCE, kHGCH } |
Private Member Functions | |
void | addCSCGeometry () |
void | addDTGeometry () |
void | addEcalCaloGeometry () |
void | addGEMGeometry () |
void | addHcalCaloGeometryBarrel () |
void | addHcalCaloGeometryEndcap () |
void | addME0Geometry () |
void | addPixelBarrelGeometry () |
void | addPixelForwardGeometry () |
void | addRPCGeometry () |
void | addTECGeometry () |
void | addTIBGeometry () |
void | addTIDGeometry () |
void | addTOBGeometry () |
TGeoManager * | createManager (int level) |
TGeoShape * | createShape (const GeomDet *det) |
TGeoVolume * | createVolume (const std::string &name, const GeomDet *det, ERecoDet=kDummy) |
FWTGeoRecoGeometryESProducer (const FWTGeoRecoGeometryESProducer &) | |
TGeoVolume * | GetDaughter (TGeoVolume *mother, const char *prefix, ERecoDet cidx, int id) |
TGeoVolume * | GetDaughter (TGeoVolume *mother, const char *prefix, ERecoDet cidx) |
TGeoMedium * | GetMedium (ERecoDet) |
TGeoVolume * | GetTopHolder (const char *prefix, ERecoDet cidx) |
const FWTGeoRecoGeometryESProducer & | operator= (const FWTGeoRecoGeometryESProducer &) |
Private Attributes | |
edm::ESHandle< CaloGeometry > | m_caloGeom |
TGeoMedium * | m_dummyMedium |
boost::shared_ptr < FWTGeoRecoGeometry > | m_fwGeometry |
edm::ESHandle < GlobalTrackingGeometry > | m_geomRecord |
std::map< std::string, TGeoShape * > | m_nameToShape |
std::map< ERecoDet, TGeoMedium * > | m_recoMedium |
std::map< TGeoShape *, TGeoVolume * > | m_shapeToVolume |
const TrackerGeometry * | m_trackerGeom |
Additional Inherited Members | |
Public Types inherited from edm::eventsetup::DataProxyProvider | |
typedef std::vector< std::pair < DataKey, boost::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::auto_ptr< TFactory > iFactory, const std::string &iLabel=std::string()) |
virtual void | registerFactoryWithKey (const eventsetup::EventSetupRecordKey &iRecord, std::auto_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 28 of file FWTGeoRecoGeometryESProducer.h.
|
private |
Enumerator | |
---|---|
kDummy | |
kSiPixel | |
kSiStrip | |
kMuonDT | |
kMuonRPC | |
kMuonCSC | |
kMuonGEM | |
kMuonME0 | |
kECal | |
kHCal | |
kHGCE | |
kHGCH |
Definition at line 30 of file FWTGeoRecoGeometryESProducer.h.
FWTGeoRecoGeometryESProducer::FWTGeoRecoGeometryESProducer | ( | const edm::ParameterSet & | ) |
Definition at line 65 of file FWTGeoRecoGeometryESProducer.cc.
References edm::ESProducer::setWhatProduced().
|
virtual |
Definition at line 71 of file FWTGeoRecoGeometryESProducer.cc.
|
private |
|
private |
Definition at line 686 of file FWTGeoRecoGeometryESProducer.cc.
References createVolume(), CSCDetId, GetDaughter(), GetTopHolder(), kMuonCSC, kMuonRPC, m_geomRecord, alignCSCRings::s, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
private |
Definition at line 597 of file FWTGeoRecoGeometryESProducer.cc.
References createVolume(), cond::rpcobgas::detid, DTChamberId, DTLayerId, DTSuperLayerId, end, GetDaughter(), GetTopHolder(), kMuonDT, kMuonRPC, m_geomRecord, alignCSCRings::s, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
private |
Definition at line 1086 of file FWTGeoRecoGeometryESProducer.cc.
References cond::rpcobgas::detid, DetId::Ecal, EcalBarrel, EcalEndcap, end, CaloCellGeometry::getCorners(), GetDaughter(), getEcalTrans(), GetMedium(), GetTopHolder(), EBDetId::ieta(), EEDetId::ix(), kECal, m_caloGeom, makeEcalShape(), CaloCellGeometry::param(), EBDetId::zside(), and EEDetId::zside().
Referenced by produce().
|
private |
Definition at line 729 of file FWTGeoRecoGeometryESProducer.cc.
References createVolume(), cond::rpcobgas::detid, end, GEMGeometry::etaPartitions(), cppFunctionSkipper::exception, MuonSubdetId::GEM, GeomDet::geographicalId(), GetDaughter(), GetTopHolder(), kMuonGEM, kMuonRPC, m_geomRecord, DetId::Muon, alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, and cms::Exception::what().
Referenced by produce().
|
private |
Definition at line 852 of file FWTGeoRecoGeometryESProducer.cc.
References EnergyCorrector::c, cond::rpcobgas::detid, end, CaloCellGeometry::etaPos(), CaloCellGeometry::getCorners(), GetDaughter(), GetMedium(), GetTopHolder(), DetId::Hcal, HcalBarrel, HcalDetId::ieta(), kHCal, IdealObliquePrism::localCorners(), m_caloGeom, CaloCellGeometry::param(), CaloCellGeometry::phiPos(), makeMuonMisalignmentScenario::rot, x, detailsBasic3DVector::y, detailsBasic3DVector::z, and HcalDetId::zside().
Referenced by produce().
|
private |
Definition at line 936 of file FWTGeoRecoGeometryESProducer.cc.
References EnergyCorrector::c, cond::rpcobgas::detid, end, GetDaughter(), GetMedium(), GetTopHolder(), DetId::Hcal, HcalEndcap, HcalDetId::ieta(), kHCal, IdealObliquePrism::localCorners(), m_caloGeom, makeMuonMisalignmentScenario::rot, and HcalDetId::zside().
Referenced by produce().
|
private |
Definition at line 805 of file FWTGeoRecoGeometryESProducer.cc.
Referenced by produce().
|
private |
Definition at line 426 of file FWTGeoRecoGeometryESProducer.cc.
References createVolume(), cond::rpcobgas::detid, TrackerGeometry::detsPXB(), end, GetDaughter(), GetTopHolder(), kSiPixel, PXBDetId::layer(), m_trackerGeom, PXBDetId::module(), DetId::rawId(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
private |
Definition at line 454 of file FWTGeoRecoGeometryESProducer.cc.
References createVolume(), cond::rpcobgas::detid, TrackerGeometry::detsPXF(), end, GetDaughter(), GetTopHolder(), kSiPixel, m_trackerGeom, alignCSCRings::s, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
private |
Definition at line 771 of file FWTGeoRecoGeometryESProducer.cc.
References createVolume(), cond::rpcobgas::detid, end, GeomDet::geographicalId(), GetDaughter(), GetTopHolder(), kMuonRPC, m_geomRecord, DetId::Muon, RPCGeometry::rolls(), MuonSubdetId::RPC, alignCSCRings::s, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
private |
Definition at line 565 of file FWTGeoRecoGeometryESProducer.cc.
References createVolume(), cond::rpcobgas::detid, TrackerGeometry::detsTEC(), end, GetDaughter(), GetTopHolder(), kSiStrip, m_trackerGeom, alignCSCRings::s, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
private |
Definition at line 487 of file FWTGeoRecoGeometryESProducer.cc.
References createVolume(), cond::rpcobgas::detid, TrackerGeometry::detsTIB(), end, GetDaughter(), GetTopHolder(), kSiStrip, m_trackerGeom, alignCSCRings::s, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
private |
Definition at line 514 of file FWTGeoRecoGeometryESProducer.cc.
References createVolume(), cond::rpcobgas::detid, TrackerGeometry::detsTID(), end, GetDaughter(), GetTopHolder(), kSiStrip, m_trackerGeom, alignCSCRings::s, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
private |
Definition at line 539 of file FWTGeoRecoGeometryESProducer.cc.
References createVolume(), cond::rpcobgas::detid, TrackerGeometry::detsTOB(), end, GetDaughter(), GetTopHolder(), kSiStrip, m_trackerGeom, alignCSCRings::s, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
private |
|
private |
Create TGeo shape for GeomDet
Definition at line 321 of file FWTGeoRecoGeometryESProducer.cc.
References b, Surface::bounds(), Bounds::length(), m_nameToShape, mergeVDriftHistosByStation::name, TrapezoidalPlaneBounds::parameters(), alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, GeomDet::surface(), Bounds::thickness(), Bounds::width(), and create_public_lumi_plots::width.
Referenced by createVolume().
|
private |
Create TGeo volume for GeomDet
Definition at line 398 of file FWTGeoRecoGeometryESProducer.cc.
References createShape(), GetMedium(), and m_shapeToVolume.
Referenced by addCSCGeometry(), addDTGeometry(), addGEMGeometry(), addPixelBarrelGeometry(), addPixelForwardGeometry(), addRPCGeometry(), addTECGeometry(), addTIBGeometry(), addTIDGeometry(), and addTOBGeometry().
|
private |
Definition at line 113 of file FWTGeoRecoGeometryESProducer.cc.
References GetMedium().
Referenced by addCSCGeometry(), addDTGeometry(), addEcalCaloGeometry(), addGEMGeometry(), addHcalCaloGeometryBarrel(), addHcalCaloGeometryEndcap(), addPixelBarrelGeometry(), addPixelForwardGeometry(), addRPCGeometry(), addTECGeometry(), addTIBGeometry(), addTIDGeometry(), addTOBGeometry(), and GetTopHolder().
|
private |
Definition at line 130 of file FWTGeoRecoGeometryESProducer.cc.
References GetMedium().
|
private |
Definition at line 170 of file FWTGeoRecoGeometryESProducer.cc.
References create_public_lumi_plots::color, kECal, kHCal, kHGCE, kHGCH, kMuonCSC, kMuonDT, kMuonGEM, kMuonME0, kMuonRPC, kSiPixel, kSiStrip, m_dummyMedium, m_recoMedium, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by addEcalCaloGeometry(), addHcalCaloGeometryBarrel(), addHcalCaloGeometryEndcap(), createVolume(), and GetDaughter().
|
private |
Definition at line 148 of file FWTGeoRecoGeometryESProducer.cc.
References GetDaughter(), and prof2calltree::prefix.
Referenced by addCSCGeometry(), addDTGeometry(), addEcalCaloGeometry(), addGEMGeometry(), addHcalCaloGeometryBarrel(), addHcalCaloGeometryEndcap(), addPixelBarrelGeometry(), addPixelForwardGeometry(), addRPCGeometry(), addTECGeometry(), addTIBGeometry(), addTIDGeometry(), and addTOBGeometry().
|
private |
boost::shared_ptr< FWTGeoRecoGeometry > FWTGeoRecoGeometryESProducer::produce | ( | const FWTGeoRecoGeometryRecord & | record | ) |
Definition at line 255 of file FWTGeoRecoGeometryESProducer.cc.
References addCSCGeometry(), addDTGeometry(), addEcalCaloGeometry(), addGEMGeometry(), addHcalCaloGeometryBarrel(), addHcalCaloGeometryEndcap(), addME0Geometry(), addPixelBarrelGeometry(), addPixelForwardGeometry(), addRPCGeometry(), addTECGeometry(), addTIBGeometry(), addTIDGeometry(), addTOBGeometry(), relativeConstraints::geom, edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), m_caloGeom, m_dummyMedium, m_fwGeometry, m_geomRecord, m_trackerGeom, and DetId::Tracker.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 76 of file FWTGeoRecoGeometryESProducer.h.
Referenced by addEcalCaloGeometry(), addHcalCaloGeometryBarrel(), addHcalCaloGeometryEndcap(), and produce().
|
private |
Definition at line 81 of file FWTGeoRecoGeometryESProducer.h.
Referenced by GetMedium(), and produce().
|
private |
Definition at line 79 of file FWTGeoRecoGeometryESProducer.h.
Referenced by produce().
|
private |
Definition at line 75 of file FWTGeoRecoGeometryESProducer.h.
Referenced by addCSCGeometry(), addDTGeometry(), addGEMGeometry(), addRPCGeometry(), and produce().
|
private |
Definition at line 71 of file FWTGeoRecoGeometryESProducer.h.
Referenced by createShape().
|
private |
Definition at line 73 of file FWTGeoRecoGeometryESProducer.h.
Referenced by GetMedium().
|
private |
Definition at line 72 of file FWTGeoRecoGeometryESProducer.h.
Referenced by createVolume().
|
private |
Definition at line 77 of file FWTGeoRecoGeometryESProducer.h.
Referenced by addPixelBarrelGeometry(), addPixelForwardGeometry(), addTECGeometry(), addTIBGeometry(), addTIDGeometry(), addTOBGeometry(), and produce().