#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 35 of file DDG4Builder.cc.
References theVectorOfDDG4Dispatchables_.
DDG4Builder::~DDG4Builder | ( | ) |
DDGeometryReturnType DDG4Builder::BuildGeometry | ( | ) |
Definition at line 109 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(), AnalysisDataFormats_SUSYBSMObjects::hr, i, DDMapper< KeyType, ValueType >::insert(), DDBase< N, C >::isDefined(), LogDebug, logs_, map_, evf::evtn::offset(), submit::rm, DDCompactView::root(), AlCaHLTBitMon_QueryRunRegistry::string, GlobalPosition_Frontier_DevDB_cff::tag, groupFilesInBlocks::temp, theVectorOfDDG4Dispatchables_, DDBase< N, C >::toString(), DDG4SensitiveConverter::upDate(), x, detailsBasic3DVector::y, and detailsBasic3DVector::z.
|
protected |
Definition at line 44 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, alignCSCRings::s, DDLogicalPart::solid(), and theVectorOfDDG4Dispatchables_.
Referenced by BuildGeometry().
|
protected |
Definition at line 69 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 61 of file DDG4Builder.cc.
References DDG4SolidConverter::convert(), query::result, solidConverter_, and sols_.
Referenced by convertLV().
|
protected |
Definition at line 217 of file DDG4Builder.cc.
References DDfetch(), query::result, alignCSCRings::s, DDLogicalPart::specifics(), AlCaHLTBitMon_QueryRunRegistry::string, DDValue::strings(), groupFilesInBlocks::temp, csvLumiCalc::unit, and findQualityFiles::v.
|
protected |
Definition at line 196 of file DDG4Builder.cc.
References DDfetch(), DDValue::doubles(), query::result, alignCSCRings::s, DDLogicalPart::specifics(), and groupFilesInBlocks::temp.
Referenced by BuildGeometry().
|
static |
Definition at line 31 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().