#include <Fireworks/Geometry/interface/TGeoMgrFromDdd.h>
Public Types | |
typedef std::shared_ptr< TGeoManager > | ReturnType |
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 |
Private Member Functions | |
TGeoManager * | createManager (int level) |
TGeoMaterial * | createMaterial (const DDMaterial &iMaterial) |
TGeoShape * | createShape (const std::string &iName, const DDSolid &iSolid) |
TGeoVolume * | createVolume (const std::string &iName, const DDSolid &iSolid, const DDMaterial &iMaterial) |
const TGeoMgrFromDdd & | operator= (const TGeoMgrFromDdd &) |
TGeoMgrFromDdd (const TGeoMgrFromDdd &) | |
Private Attributes | |
int | m_level |
bool | m_verbose |
std::map< std::string, TGeoMaterial * > | nameToMaterial_ |
std::map< std::string, TGeoMedium * > | nameToMedium_ |
std::map< std::string, TGeoShape * > | nameToShape_ |
std::map< std::string, TGeoVolume * > | nameToVolume_ |
Additional Inherited Members | |
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 &) |
Description: [one line class summary]
Usage: <usage>
Definition at line 47 of file TGeoMgrFromDdd.h.
typedef std::shared_ptr<TGeoManager> TGeoMgrFromDdd::ReturnType |
Definition at line 53 of file TGeoMgrFromDdd.h.
TGeoMgrFromDdd::TGeoMgrFromDdd | ( | const edm::ParameterSet & | pset | ) |
Definition at line 49 of file TGeoMgrFromDdd.cc.
References edm::ESProducer::setWhatProduced().
|
virtual |
Definition at line 58 of file TGeoMgrFromDdd.cc.
References allElectronIsolations_cfi::elements, alignCSCRings::r, and lumiQTWidget::t.
|
private |
|
private |
|
private |
Definition at line 694 of file TGeoMgrFromDdd.cc.
References DDMaterial::a(), DDMaterial::constituent(), DDMaterial::density(), DDName::fullname(), g, mps_fire::i, ecalTB2006H4_GenSimDigiReco_cfg::mix, DDBase< N, C >::name(), nameToMaterial_, DDMaterial::noOfConstituents(), AlCaHLTBitMon_QueryRunRegistry::string, and DDMaterial::z().
Referenced by createVolume().
|
private |
Definition at line 223 of file TGeoMgrFromDdd.cc.
References funct::abs(), alpha, DDPseudoTrap::atMinusZ(), MessageLogger_cfi::cerr, popcon2dropbox::copy(), funct::cos(), DDTruncTubs::cutAtDelta(), DDTruncTubs::cutAtStart(), DDTruncTubs::cutInside(), edmIntegrityCheck::d, ddbox, ddcons, ddcuttubs, ddellipticaltube, ddextrudedpolygon, ddintersection, ddpolycone_rrz, ddpolyhedra_rrz, ddpseudotrap, ddsubtraction, ddtorus, ddtrap, ddtrunctubs, ddtubs, ddunion, delta, hiPixelPairStep_cff::deltaPhi, DDTruncTubs::deltaPhi(), DDTorus::deltaPhi(), Exception, DDName::fullname(), DDPseudoTrap::halfZ(), mps_fire::i, LogDebug, DDRotation::matrix(), DDName::name(), dataset::name, DDBase< N, C >::name(), nameToShape_, EnergyCorrector::pt, dttmaxenums::R, alignCSCRings::r, DDPseudoTrap::radius(), DDTruncTubs::rIn(), DDTorus::rMax(), DDTorus::rMin(), makeMuonMisalignmentScenario::rot, DDBooleanSolid::rotation(), DDTruncTubs::rOut(), DDTorus::rTorus(), alignCSCRings::s, funct::sin(), DDBooleanSolid::solidA(), DDBooleanSolid::solidB(), mathSSE::sqrt(), DDTruncTubs::startPhi(), DDTorus::startPhi(), AlCaHLTBitMon_QueryRunRegistry::string, groupFilesInBlocks::temp, create_public_lumi_plots::transform, DDBooleanSolid::translation(), groupFilesInBlocks::tt, x, DDPseudoTrap::x1(), DDPseudoTrap::x2(), DDExtrudedPolygon::xVec(), y, DDPseudoTrap::y1(), DDPseudoTrap::y2(), DDExtrudedPolygon::yVec(), z, DDTruncTubs::zHalf(), DDExtrudedPolygon::zscaleVec(), DDExtrudedPolygon::zVec(), DDExtrudedPolygon::zxVec(), and DDExtrudedPolygon::zyVec().
Referenced by createVolume().
|
private |
Definition at line 665 of file TGeoMgrFromDdd.cc.
References createMaterial(), createShape(), DDName::fullname(), DDBase< N, C >::name(), nameToMedium_, nameToVolume_, AlCaHLTBitMon_QueryRunRegistry::string, and findQualityFiles::v.
Referenced by produce().
|
private |
TGeoMgrFromDdd::ReturnType TGeoMgrFromDdd::produce | ( | const DisplayGeomRecord & | iRecord | ) |
Definition at line 90 of file TGeoMgrFromDdd.cc.
References gather_cfg::cout, createVolume(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), DDCompactView::graph(), mps_fire::i, info(), edm::ESHandleBase::isValid(), m_level, m_verbose, DDSolidShapesName::name(), nameToMaterial_, nameToMedium_, nameToShape_, and nameToVolume_.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 79 of file TGeoMgrFromDdd.h.
Referenced by produce().
|
private |
Definition at line 80 of file TGeoMgrFromDdd.h.
Referenced by produce().
|
private |
Definition at line 84 of file TGeoMgrFromDdd.h.
Referenced by createMaterial(), and produce().
|
private |
Definition at line 85 of file TGeoMgrFromDdd.h.
Referenced by createVolume(), and produce().
|
private |
Definition at line 82 of file TGeoMgrFromDdd.h.
Referenced by createShape(), and produce().
|
private |
Definition at line 83 of file TGeoMgrFromDdd.h.
Referenced by createVolume(), and produce().