#include <DDG4Builder.h>
Public Member Functions | |
DDGeometryReturnType | BuildGeometry () |
DDG4Builder (const DDCompactView *, bool check=false) | |
~DDG4Builder () | |
Static Public Member Functions | |
static DDG4DispContainer * | theVectorOfDDG4Dispatchables () |
Protected Member Functions | |
G4LogicalVolume * | convertLV (const DDLogicalPart &dLogical) |
G4Material * | convertMaterial (const DDMaterial &dMaterial) |
G4VSolid * | convertSolid (const DDSolid &dSolid) |
double | getDouble (const std::string &s, const DDLogicalPart &dLogical) |
int | getInt (const std::string &s, const DDLogicalPart &dLogical) |
Protected Attributes | |
std::map< DDLogicalPart, G4LogicalVolume * > | logs_ |
std::map< DDMaterial, G4Material * > | mats_ |
DDG4SolidConverter * | solidConverter_ |
std::map< DDSolid, G4VSolid * > | sols_ |
Private Attributes | |
bool | check_ |
const DDCompactView * | compactView |
G4LogicalVolumeToDDLogicalPartMap | map_ |
Static Private Attributes | |
static DDG4DispContainer * | theVectorOfDDG4Dispatchables_ = 0 |
Definition at line 25 of file DDG4Builder.h.
DDG4Builder::DDG4Builder | ( | const DDCompactView * | cpv, |
bool | check = false |
||
) |
Definition at line 34 of file DDG4Builder.cc.
References theVectorOfDDG4Dispatchables_.
DDG4Builder::~DDG4Builder | ( | ) |
DDGeometryReturnType DDG4Builder::BuildGeometry | ( | ) |
Definition at line 108 of file DDG4Builder.cc.
References graph< N, E >::begin(), validate_alignment_devdb10_cfg::catalog, check_, compactView, convertLV(), DDBase< N, C >::ddname(), edm::hlt::Exception, getInt(), DDCompactView::graph(), i, DDMapper< KeyType, ValueType >::insert(), DDBase< N, C >::isDefined(), LogDebug, logs_, map_, evf::evtn::offset(), submit::rm, DDCompactView::root(), GlobalPosition_Frontier_DevDB_cff::tag, cond::rpcobtemp::temp, theVectorOfDDG4Dispatchables_, DDBase< N, C >::toString(), DDG4SensitiveConverter::upDate(), ExpressReco_HICollisions_FallBack::x, ExpressReco_HICollisions_FallBack::y, and z.
|
protected |
Definition at line 43 of file DDG4Builder.cc.
References convertMaterial(), convertSolid(), DDBase< N, C >::ddname(), DDMapper< KeyType, ValueType >::insert(), LogDebug, logs_, m, map_, DDLogicalPart::material(), DDName::name(), DDBase< N, C >::name(), query::result, asciidump::s, DDLogicalPart::solid(), and theVectorOfDDG4Dispatchables_.
Referenced by BuildGeometry().
|
protected |
Definition at line 68 of file DDG4Builder.cc.
References DDMaterial::a(), trackerHits::c, DDMaterial::constituent(), DDMaterial::density(), edm::hlt::Exception, g, i, LogDebug, mats_, DDName::name(), DDBase< N, C >::name(), DDMaterial::noOfConstituents(), query::result, DDBase< N, C >::toString(), and DDMaterial::z().
Referenced by convertLV().
|
protected |
Definition at line 60 of file DDG4Builder.cc.
References DDG4SolidConverter::convert(), query::result, solidConverter_, and sols_.
Referenced by convertLV().
|
protected |
Definition at line 216 of file DDG4Builder.cc.
References DDfetch(), query::result, asciidump::s, DDLogicalPart::specifics(), DDValue::strings(), cond::rpcobtemp::temp, csvLumiCalc::unit, and v.
|
protected |
Definition at line 195 of file DDG4Builder.cc.
References DDfetch(), DDValue::doubles(), query::result, asciidump::s, DDLogicalPart::specifics(), and cond::rpcobtemp::temp.
Referenced by BuildGeometry().
|
static |
Definition at line 30 of file DDG4Builder.cc.
References theVectorOfDDG4Dispatchables_.
|
private |
Definition at line 50 of file DDG4Builder.h.
Referenced by BuildGeometry().
|
private |
Definition at line 47 of file DDG4Builder.h.
Referenced by BuildGeometry().
|
protected |
Definition at line 44 of file DDG4Builder.h.
Referenced by BuildGeometry(), and convertLV().
|
private |
Definition at line 49 of file DDG4Builder.h.
Referenced by BuildGeometry(), and convertLV().
|
protected |
Definition at line 42 of file DDG4Builder.h.
Referenced by convertMaterial().
|
protected |
Definition at line 41 of file DDG4Builder.h.
Referenced by convertSolid(), and ~DDG4Builder().
|
protected |
Definition at line 43 of file DDG4Builder.h.
Referenced by convertSolid().
|
staticprivate |
Definition at line 48 of file DDG4Builder.h.
Referenced by BuildGeometry(), convertLV(), DDG4Builder(), and theVectorOfDDG4Dispatchables().