#include <FWTGeoRecoGeometryESProducer.h>
Private Types | |
enum | ERecoDet { kDummy, kSiPixel, kSiStrip, kMuonDT, kMuonRPC, kMuonCSC, kMuonGEM, kECal, kHCal, kHGCE, kHGCH } |
Private Member Functions | |
void | addCSCGeometry () |
void | addDTGeometry () |
void | addEcalCaloGeometry () |
void | addGEMGeometry () |
void | addHcalCaloGeometryBarrel () |
void | addHcalCaloGeometryEndcap () |
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 | |
kECal | |
kHCal | |
kHGCE | |
kHGCH |
Definition at line 30 of file FWTGeoRecoGeometryESProducer.h.
FWTGeoRecoGeometryESProducer::FWTGeoRecoGeometryESProducer | ( | const edm::ParameterSet & | ) |
Definition at line 63 of file FWTGeoRecoGeometryESProducer.cc.
References edm::ESProducer::setWhatProduced().
|
virtual |
Definition at line 69 of file FWTGeoRecoGeometryESProducer.cc.
|
private |
|
private |
Definition at line 663 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 574 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 1031 of file FWTGeoRecoGeometryESProducer.cc.
References cond::rpcobgas::detid, DetId::Ecal, EcalBarrel, EcalEndcap, end, GetDaughter(), getEcalTrans(), GetMedium(), GetTopHolder(), EBDetId::ieta(), EEDetId::ix(), kECal, m_caloGeom, makeEcalShape(), EBDetId::zside(), and EEDetId::zside().
Referenced by produce().
|
private |
Definition at line 706 of file FWTGeoRecoGeometryESProducer.cc.
References createVolume(), cond::rpcobgas::detid, end, GEMGeometry::etaPartitions(), MuonSubdetId::GEM, GeomDet::geographicalId(), GetDaughter(), GetTopHolder(), kMuonGEM, kMuonRPC, m_geomRecord, DetId::Muon, alignCSCRings::s, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
private |
Definition at line 797 of file FWTGeoRecoGeometryESProducer.cc.
References trackerHits::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 881 of file FWTGeoRecoGeometryESProducer.cc.
References trackerHits::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 403 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 431 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 744 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 542 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 464 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 491 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 516 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 298 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 375 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 111 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 128 of file FWTGeoRecoGeometryESProducer.cc.
References GetMedium().
|
private |
Definition at line 155 of file FWTGeoRecoGeometryESProducer.cc.
References create_public_lumi_plots::color, kECal, kHCal, kHGCE, kHGCH, kMuonCSC, kMuonDT, kMuonGEM, kMuonRPC, kSiPixel, kSiStrip, m_dummyMedium, m_recoMedium, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by addEcalCaloGeometry(), addHcalCaloGeometryBarrel(), addHcalCaloGeometryEndcap(), createVolume(), and GetDaughter().
|
private |
Definition at line 146 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 226 of file FWTGeoRecoGeometryESProducer.cc.
References addCSCGeometry(), addDTGeometry(), addEcalCaloGeometry(), addGEMGeometry(), addHcalCaloGeometryBarrel(), addHcalCaloGeometryEndcap(), addPixelBarrelGeometry(), addPixelForwardGeometry(), addRPCGeometry(), addTECGeometry(), addTIBGeometry(), addTIDGeometry(), addTOBGeometry(), cppFunctionSkipper::exception, relativeConstraints::geom, edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), m_caloGeom, m_dummyMedium, m_fwGeometry, m_geomRecord, m_trackerGeom, fff_deleter::top, DetId::Tracker, and cms::Exception::what().
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 75 of file FWTGeoRecoGeometryESProducer.h.
Referenced by addEcalCaloGeometry(), addHcalCaloGeometryBarrel(), addHcalCaloGeometryEndcap(), and produce().
|
private |
Definition at line 80 of file FWTGeoRecoGeometryESProducer.h.
Referenced by GetMedium(), and produce().
|
private |
Definition at line 78 of file FWTGeoRecoGeometryESProducer.h.
Referenced by produce().
|
private |
Definition at line 74 of file FWTGeoRecoGeometryESProducer.h.
Referenced by addCSCGeometry(), addDTGeometry(), addGEMGeometry(), addRPCGeometry(), and produce().
|
private |
Definition at line 70 of file FWTGeoRecoGeometryESProducer.h.
Referenced by createShape().
|
private |
Definition at line 72 of file FWTGeoRecoGeometryESProducer.h.
Referenced by GetMedium().
|
private |
Definition at line 71 of file FWTGeoRecoGeometryESProducer.h.
Referenced by createVolume().
|
private |
Definition at line 76 of file FWTGeoRecoGeometryESProducer.h.
Referenced by addPixelBarrelGeometry(), addPixelForwardGeometry(), addTECGeometry(), addTIBGeometry(), addTIDGeometry(), addTOBGeometry(), and produce().