#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 22 of file DDG4Builder.h.
DDG4Builder::DDG4Builder | ( | const DDCompactView * | cpv, |
bool | check = false |
||
) |
Definition at line 32 of file DDG4Builder.cc.
References theVectorOfDDG4Dispatchables_.
DDG4Builder::~DDG4Builder | ( | ) |
DDGeometryReturnType DDG4Builder::BuildGeometry | ( | ) |
Definition at line 107 of file DDG4Builder.cc.
References getEcalConditions_orcoffint2r_cff::catalog, check_, compactView, convertLV(), DDBase< N, C >::ddname(), Exception, getInt(), DDCompactView::graph(), AnalysisDataFormats_SUSYBSMObjects::hr, mps_fire::i, DDMapper< KeyType, ValueType >::insert(), DDBase< N, C >::isDefined(), logs_, map_, PFRecoTauDiscriminationByIsolation_cfi::offset, submit::rm, DDCompactView::root(), AlCaHLTBitMon_QueryRunRegistry::string, GlobalPosition_Frontier_DevDB_cff::tag, groupFilesInBlocks::temp, theVectorOfDDG4Dispatchables_, DDBase< N, C >::toString(), DDG4SensitiveConverter::upDate(), x, y, and z.
|
protected |
Definition at line 39 of file DDG4Builder.cc.
References convertMaterial(), convertSolid(), DDBase< N, C >::ddname(), DDMapper< KeyType, ValueType >::insert(), LogDebug, logs_, map_, DDLogicalPart::material(), DDName::name(), DDBase< N, C >::name(), mps_fire::result, DDLogicalPart::solid(), and theVectorOfDDG4Dispatchables_.
Referenced by BuildGeometry().
|
protected |
Definition at line 66 of file DDG4Builder.cc.
References DDMaterial::a(), EnergyCorrector::c, DDMaterial::constituent(), DDMaterial::density(), Exception, g, mps_fire::i, LogDebug, mats_, DDName::name(), DDBase< N, C >::name(), DDMaterial::noOfConstituents(), mps_fire::result, DDBase< N, C >::toString(), and DDMaterial::z().
Referenced by convertLV().
|
protected |
Definition at line 57 of file DDG4Builder.cc.
References DDG4SolidConverter::convert(), mps_fire::result, solidConverter_, and sols_.
Referenced by convertLV().
|
protected |
Definition at line 225 of file DDG4Builder.cc.
References DDfetch(), Exception, mps_fire::result, DDLogicalPart::specifics(), AlCaHLTBitMon_QueryRunRegistry::string, DDValue::strings(), groupFilesInBlocks::temp, csvLumiCalc::unit, findQualityFiles::v, and heppy_batch::val.
|
protected |
Definition at line 202 of file DDG4Builder.cc.
References DDfetch(), DDValue::doubles(), Exception, createfilelist::int, mps_fire::result, DDLogicalPart::specifics(), groupFilesInBlocks::temp, and heppy_batch::val.
Referenced by BuildGeometry().
|
static |
Definition at line 30 of file DDG4Builder.cc.
References theVectorOfDDG4Dispatchables_.
|
private |
Definition at line 46 of file DDG4Builder.h.
Referenced by BuildGeometry().
|
private |
Definition at line 43 of file DDG4Builder.h.
Referenced by BuildGeometry().
|
protected |
Definition at line 40 of file DDG4Builder.h.
Referenced by BuildGeometry(), and convertLV().
|
private |
Definition at line 45 of file DDG4Builder.h.
Referenced by BuildGeometry(), and convertLV().
|
protected |
Definition at line 38 of file DDG4Builder.h.
Referenced by convertMaterial().
|
protected |
Definition at line 37 of file DDG4Builder.h.
Referenced by convertSolid(), and ~DDG4Builder().
|
protected |
Definition at line 39 of file DDG4Builder.h.
Referenced by convertSolid().
|
staticprivate |
Definition at line 44 of file DDG4Builder.h.
Referenced by BuildGeometry(), convertLV(), DDG4Builder(), and theVectorOfDDG4Dispatchables().