Geant4
10.01.p03
|
#include <G4GDMLReadMaterials.hh>
Public Member Functions | |
G4Element * | GetElement (const G4String &, G4bool verbose=true) const |
G4Isotope * | GetIsotope (const G4String &, G4bool verbose=true) const |
G4Material * | GetMaterial (const G4String &, G4bool verbose=true) const |
virtual void | MaterialsRead (const xercesc::DOMElement *const) |
Public Member Functions inherited from G4GDMLReadDefine | |
G4bool | IsValidID (const G4String &) const |
G4double | GetConstant (const G4String &) |
G4double | GetVariable (const G4String &) |
G4double | GetQuantity (const G4String &) |
G4ThreeVector | GetPosition (const G4String &) |
G4ThreeVector | GetRotation (const G4String &) |
G4ThreeVector | GetScale (const G4String &) |
G4GDMLMatrix | GetMatrix (const G4String &) |
virtual void | DefineRead (const xercesc::DOMElement *const) |
Public Member Functions inherited from G4GDMLRead | |
virtual void | SetupRead (const xercesc::DOMElement *const)=0 |
virtual void | SolidsRead (const xercesc::DOMElement *const)=0 |
virtual void | Paramvol_contentRead (const xercesc::DOMElement *const)=0 |
virtual void | Volume_contentRead (const xercesc::DOMElement *const)=0 |
virtual void | StructureRead (const xercesc::DOMElement *const)=0 |
virtual void | ExtensionRead (const xercesc::DOMElement *const) |
virtual G4LogicalVolume * | GetVolume (const G4String &) const =0 |
virtual G4String | GetSetup (const G4String &)=0 |
void | Read (const G4String &, G4bool validation, G4bool isModule, G4bool strip=true) |
void | StripNames () const |
void | StripName (G4String &) const |
void | OverlapCheck (G4bool) |
Protected Member Functions | |
G4GDMLReadMaterials () | |
virtual | ~G4GDMLReadMaterials () |
G4double | AtomRead (const xercesc::DOMElement *const) |
G4int | CompositeRead (const xercesc::DOMElement *const, G4String &) |
G4double | DRead (const xercesc::DOMElement *const) |
G4double | PRead (const xercesc::DOMElement *const) |
G4double | TRead (const xercesc::DOMElement *const) |
G4double | MEERead (const xercesc::DOMElement *const) |
void | ElementRead (const xercesc::DOMElement *const) |
G4double | FractionRead (const xercesc::DOMElement *const, G4String &) |
void | IsotopeRead (const xercesc::DOMElement *const) |
void | MaterialRead (const xercesc::DOMElement *const) |
void | MixtureRead (const xercesc::DOMElement *const, G4Element *) |
void | MixtureRead (const xercesc::DOMElement *const, G4Material *) |
void | PropertyRead (const xercesc::DOMElement *const, G4Material *) |
Protected Member Functions inherited from G4GDMLReadDefine | |
G4GDMLReadDefine () | |
virtual | ~G4GDMLReadDefine () |
G4RotationMatrix | GetRotationMatrix (const G4ThreeVector &) |
void | VectorRead (const xercesc::DOMElement *const, G4ThreeVector &) |
G4String | RefRead (const xercesc::DOMElement *const) |
void | ConstantRead (const xercesc::DOMElement *const) |
void | MatrixRead (const xercesc::DOMElement *const) |
void | PositionRead (const xercesc::DOMElement *const) |
void | RotationRead (const xercesc::DOMElement *const) |
void | ScaleRead (const xercesc::DOMElement *const) |
void | VariableRead (const xercesc::DOMElement *const) |
void | QuantityRead (const xercesc::DOMElement *const) |
void | ExpressionRead (const xercesc::DOMElement *const) |
Protected Member Functions inherited from G4GDMLRead | |
G4GDMLRead () | |
virtual | ~G4GDMLRead () |
G4String | Transcode (const XMLCh *const) |
G4String | GenerateName (const G4String &name, G4bool strip=false) |
G4String | Strip (const G4String &) const |
void | GeneratePhysvolName (const G4String &, G4VPhysicalVolume *) |
void | LoopRead (const xercesc::DOMElement *const, void(G4GDMLRead::*)(const xercesc::DOMElement *const)) |
Additional Inherited Members | |
Protected Attributes inherited from G4GDMLReadDefine | |
std::map< G4String, G4double > | quantityMap |
std::map< G4String, G4ThreeVector > | positionMap |
std::map< G4String, G4ThreeVector > | rotationMap |
std::map< G4String, G4ThreeVector > | scaleMap |
std::map< G4String, G4GDMLMatrix > | matrixMap |
Protected Attributes inherited from G4GDMLRead | |
G4GDMLEvaluator | eval |
G4bool | validate |
G4bool | check |
G4bool | dostrip |
Definition at line 51 of file G4GDMLReadMaterials.hh.
|
protected |
Definition at line 46 of file G4GDMLReadMaterials.cc.
|
protectedvirtual |
Definition at line 50 of file G4GDMLReadMaterials.cc.
|
protected |
Definition at line 55 of file G4GDMLReadMaterials.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, g, G4Exception(), G4UnitDefinition::GetValueOf(), mole, and G4GDMLRead::Transcode().
Referenced by ElementRead(), IsotopeRead(), and MaterialRead().
|
protected |
Definition at line 91 of file G4GDMLReadMaterials.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::EvaluateInteger(), FatalException, G4Exception(), n, and G4GDMLRead::Transcode().
Referenced by MixtureRead().
|
protected |
Definition at line 125 of file G4GDMLReadMaterials.cc.
References cm3, G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, g, G4Exception(), G4UnitDefinition::GetValueOf(), and G4GDMLRead::Transcode().
Referenced by MaterialRead().
|
protected |
Definition at line 263 of file G4GDMLReadMaterials.cc.
References a, AtomRead(), G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), MixtureRead(), name, nComponents, G4GDMLRead::Strip(), and G4GDMLRead::Transcode().
Referenced by MaterialsRead().
|
protected |
Definition at line 331 of file G4GDMLReadMaterials.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), n, and G4GDMLRead::Transcode().
Referenced by MixtureRead().
Definition at line 710 of file G4GDMLReadMaterials.cc.
References FatalException, G4NistManager::FindOrBuildElement(), G4Exception(), G4Element::GetElement(), and G4NistManager::Instance().
Referenced by MixtureRead().
Definition at line 729 of file G4GDMLReadMaterials.cc.
References FatalException, G4Exception(), and G4Isotope::GetIsotope().
Referenced by MixtureRead().
G4Material * G4GDMLReadMaterials::GetMaterial | ( | const G4String & | ref, |
G4bool | verbose = true |
||
) | const |
Definition at line 744 of file G4GDMLReadMaterials.cc.
References FatalException, G4NistManager::FindOrBuildMaterial(), G4Exception(), G4Material::GetMaterial(), and G4NistManager::Instance().
Referenced by MixtureRead(), G03ColorReader::VolumeRead(), and G4GDMLReadStructure::VolumeRead().
|
protected |
Definition at line 366 of file G4GDMLReadMaterials.cc.
References a, AtomRead(), G4GDMLRead::eval, G4GDMLEvaluator::EvaluateInteger(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), name, G4GDMLRead::Strip(), and G4GDMLRead::Transcode().
Referenced by MaterialsRead().
|
protected |
Definition at line 423 of file G4GDMLReadMaterials.cc.
References a, AtomRead(), DRead(), G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4Material::GetIonisation(), G4GDMLReadDefine::GetQuantity(), kStateGas, kStateLiquid, kStateSolid, kStateUndefined, MEERead(), MixtureRead(), name, nComponents, PRead(), PropertyRead(), G4GDMLReadDefine::RefRead(), G4IonisParamMat::SetMeanExcitationEnergy(), G4GDMLRead::Strip(), G4GDMLRead::Transcode(), and TRead().
Referenced by MaterialsRead().
|
virtual |
Implements G4GDMLRead.
Definition at line 677 of file G4GDMLReadMaterials.cc.
References G4GDMLReadDefine::DefineRead(), ElementRead(), FatalException, G4cout, G4endl, G4Exception(), IsotopeRead(), MaterialRead(), and G4GDMLRead::Transcode().
|
protected |
Definition at line 228 of file G4GDMLReadMaterials.cc.
References eV, G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4UnitDefinition::GetValueOf(), and G4GDMLRead::Transcode().
Referenced by MaterialRead().
|
protected |
Definition at line 532 of file G4GDMLReadMaterials.cc.
References G4Element::AddIsotope(), FatalException, FractionRead(), G4Exception(), G4GDMLRead::GenerateName(), GetIsotope(), n, and G4GDMLRead::Transcode().
Referenced by ElementRead(), and MaterialRead().
|
protected |
Definition at line 559 of file G4GDMLReadMaterials.cc.
References G4Material::AddElement(), G4Material::AddMaterial(), CompositeRead(), FatalException, FractionRead(), G4Exception(), G4GDMLRead::GenerateName(), GetElement(), GetMaterial(), n, and G4GDMLRead::Transcode().
|
protected |
Definition at line 160 of file G4GDMLReadMaterials.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4UnitDefinition::GetValueOf(), hep_pascal, and G4GDMLRead::Transcode().
Referenced by MaterialRead().
|
protected |
Definition at line 608 of file G4GDMLReadMaterials.cc.
References G4MaterialPropertiesTable::AddConstProperty(), G4MaterialPropertiesTable::AddProperty(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4GDMLMatrix::Get(), G4GDMLMatrix::GetCols(), G4Material::GetMaterialPropertiesTable(), G4GDMLReadDefine::GetMatrix(), G4GDMLMatrix::GetRows(), G4PhysicsOrderedFreeVector::InsertValues(), name, G4Material::SetMaterialPropertiesTable(), G4GDMLRead::Strip(), and G4GDMLRead::Transcode().
Referenced by MaterialRead().
|
protected |
Definition at line 194 of file G4GDMLReadMaterials.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4UnitDefinition::GetValueOf(), kelvin, and G4GDMLRead::Transcode().
Referenced by MaterialRead().