#include <Fireworks/Geometry/interface/TGeoFromDddService.h>
Public Member Functions | |
TGeoManager * | getGeoManager () |
void | postBeginRun (const edm::Run &, const edm::EventSetup &) |
void | postEndRun (const edm::Run &, const edm::EventSetup &) |
TGeoFromDddService (const edm::ParameterSet &, edm::ActivityRegistry &) | |
virtual | ~TGeoFromDddService () |
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 TGeoFromDddService & | operator= (const TGeoFromDddService &)=delete |
TGeoFromDddService (const TGeoFromDddService &)=delete | |
Private Attributes | |
const edm::EventSetup * | m_eventSetup |
TGeoManager * | m_geoManager |
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_ |
Description: [one line class summary]
Usage: <usage>
Definition at line 46 of file TGeoFromDddService.h.
TGeoFromDddService::TGeoFromDddService | ( | const edm::ParameterSet & | pset, |
edm::ActivityRegistry & | ar | ||
) |
Definition at line 58 of file TGeoFromDddService.cc.
References postBeginRun(), postEndRun(), edm::ActivityRegistry::watchPostBeginRun(), and edm::ActivityRegistry::watchPostEndRun().
|
virtual |
Definition at line 67 of file TGeoFromDddService.cc.
References m_geoManager.
|
privatedelete |
|
private |
Definition at line 133 of file TGeoFromDddService.cc.
References gather_cfg::cout, dd4hep::createPlacement(), createVolume(), edm::EventSetup::get(), get, DDCompactView::graph(), mps_fire::i, info(), edm::ESHandleBase::isValid(), personalPlayback::level, m_eventSetup, m_verbose, DDSolidShapesName::name(), nameToMaterial_, nameToMedium_, nameToShape_, nameToVolume_, and DDCompactView::root().
Referenced by getGeoManager().
|
private |
Definition at line 466 of file TGeoFromDddService.cc.
References DDMaterial::a(), DDMaterial::constituent(), DDMaterial::density(), DDName::fullname(), g, mps_fire::i, GeneratorMix_cff::mix, DDBase< N, C >::name(), nameToMaterial_, DDMaterial::noOfConstituents(), AlCaHLTBitMon_QueryRunRegistry::string, and DDMaterial::z().
Referenced by createVolume().
|
private |
Definition at line 237 of file TGeoFromDddService.cc.
References cms::cuda::assert(), beam_dqm_sourceclient-live_cfg::cerr, filterCSVwithJSON::copy, dd4hep::createPlacement(), ztail::d, ddbox, ddcons, ddcuttubs, ddextrudedpolygon, ddintersection, ddpolycone_rrz, ddpolyhedra_rrz, ddpseudotrap, ddsubtraction, ddtrap, ddtubs, ddunion, dumpMFGeometry_cfg::delta, Exception, DDName::fullname(), mps_fire::i, DDRotation::matrix(), DDBase< N, C >::name(), nameToShape_, DDSolid::parameters(), CalibrationSummaryClient_cfi::params, DiDispStaMuonMonitor_cfi::pt, alignCSCRings::r, DDBooleanSolid::rotation(), DDSolid::shape(), DDBooleanSolid::solidA(), DDBooleanSolid::solidB(), mathSSE::sqrt(), groupFilesInBlocks::temp, HcalDetIdTransform::transform(), DDBooleanSolid::translation(), x, DDExtrudedPolygon::xVec(), y, DDExtrudedPolygon::yVec(), z, DDExtrudedPolygon::zscaleVec(), DDExtrudedPolygon::zVec(), DDExtrudedPolygon::zxVec(), and DDExtrudedPolygon::zyVec().
Referenced by createVolume().
|
private |
Definition at line 445 of file TGeoFromDddService.cc.
References createMaterial(), createShape(), DDName::fullname(), DDBase< N, C >::name(), nameToMedium_, nameToVolume_, AlCaHLTBitMon_QueryRunRegistry::string, and findQualityFiles::v.
Referenced by createManager().
TGeoManager * TGeoFromDddService::getGeoManager | ( | ) |
Definition at line 97 of file TGeoFromDddService.cc.
References createManager(), m_eventSetup, m_geoManager, and m_level.
|
privatedelete |
void TGeoFromDddService::postBeginRun | ( | const edm::Run & | , |
const edm::EventSetup & | es | ||
) |
Definition at line 77 of file TGeoFromDddService.cc.
References m_eventSetup.
Referenced by TGeoFromDddService().
void TGeoFromDddService::postEndRun | ( | const edm::Run & | , |
const edm::EventSetup & | |||
) |
Definition at line 83 of file TGeoFromDddService.cc.
References m_eventSetup.
Referenced by TGeoFromDddService().
|
private |
Definition at line 76 of file TGeoFromDddService.h.
Referenced by createManager(), getGeoManager(), postBeginRun(), and postEndRun().
|
private |
Definition at line 77 of file TGeoFromDddService.h.
Referenced by getGeoManager(), and ~TGeoFromDddService().
|
private |
Definition at line 74 of file TGeoFromDddService.h.
Referenced by getGeoManager().
|
private |
Definition at line 75 of file TGeoFromDddService.h.
Referenced by createManager().
|
private |
Definition at line 81 of file TGeoFromDddService.h.
Referenced by createManager(), and createMaterial().
|
private |
Definition at line 82 of file TGeoFromDddService.h.
Referenced by createManager(), and createVolume().
|
private |
Definition at line 79 of file TGeoFromDddService.h.
Referenced by createManager(), and createShape().
|
private |
Definition at line 80 of file TGeoFromDddService.h.
Referenced by createManager(), and createVolume().