Geant4
10.01.p03
|
#include <G4GDMLReadStructure.hh>
Public Member Functions | |
G4GDMLReadStructure () | |
virtual | ~G4GDMLReadStructure () |
G4VPhysicalVolume * | GetPhysvol (const G4String &) const |
G4LogicalVolume * | GetVolume (const G4String &) const |
G4AssemblyVolume * | GetAssembly (const G4String &) const |
G4GDMLAuxListType | GetVolumeAuxiliaryInformation (G4LogicalVolume *) const |
G4VPhysicalVolume * | GetWorldVolume (const G4String &) |
const G4GDMLAuxMapType * | GetAuxMap () const |
void | Clear () |
virtual void | VolumeRead (const xercesc::DOMElement *const) |
virtual void | Volume_contentRead (const xercesc::DOMElement *const) |
virtual void | StructureRead (const xercesc::DOMElement *const) |
Public Member Functions inherited from G4GDMLReadParamvol | |
virtual void | ParamvolRead (const xercesc::DOMElement *const, G4LogicalVolume *) |
virtual void | Paramvol_contentRead (const xercesc::DOMElement *const) |
Public Member Functions inherited from G4GDMLReadSetup | |
G4String | GetSetup (const G4String &) |
virtual void | SetupRead (const xercesc::DOMElement *const element) |
Public Member Functions inherited from G4GDMLReadSolids | |
G4VSolid * | GetSolid (const G4String &) const |
G4SurfaceProperty * | GetSurfaceProperty (const G4String &) const |
virtual void | SolidsRead (const xercesc::DOMElement *const) |
Public Member Functions inherited from G4GDMLReadMaterials | |
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 | ExtensionRead (const xercesc::DOMElement *const) |
void | Read (const G4String &, G4bool validation, G4bool isModule, G4bool strip=true) |
void | StripNames () const |
void | StripName (G4String &) const |
void | OverlapCheck (G4bool) |
Protected Member Functions | |
G4GDMLAuxPairType | AuxiliaryRead (const xercesc::DOMElement *const) |
void | AssemblyRead (const xercesc::DOMElement *const) |
void | DivisionvolRead (const xercesc::DOMElement *const) |
G4LogicalVolume * | FileRead (const xercesc::DOMElement *const) |
void | PhysvolRead (const xercesc::DOMElement *const, G4AssemblyVolume *assembly=0) |
void | ReplicavolRead (const xercesc::DOMElement *const, G4int number) |
void | ReplicaRead (const xercesc::DOMElement *const replicaElement, G4LogicalVolume *logvol, G4int number) |
EAxis | AxisRead (const xercesc::DOMElement *const axisElement) |
G4double | QuantityRead (const xercesc::DOMElement *const readElement) |
void | BorderSurfaceRead (const xercesc::DOMElement *const) |
void | SkinSurfaceRead (const xercesc::DOMElement *const) |
Protected Member Functions inherited from G4GDMLReadParamvol | |
G4GDMLReadParamvol () | |
virtual | ~G4GDMLReadParamvol () |
void | Box_dimensionsRead (const xercesc::DOMElement *const, G4GDMLParameterisation::PARAMETER &) |
void | Trd_dimensionsRead (const xercesc::DOMElement *const, G4GDMLParameterisation::PARAMETER &) |
void | Trap_dimensionsRead (const xercesc::DOMElement *const, G4GDMLParameterisation::PARAMETER &) |
void | Tube_dimensionsRead (const xercesc::DOMElement *const, G4GDMLParameterisation::PARAMETER &) |
void | Cone_dimensionsRead (const xercesc::DOMElement *const, G4GDMLParameterisation::PARAMETER &) |
void | Sphere_dimensionsRead (const xercesc::DOMElement *const, G4GDMLParameterisation::PARAMETER &) |
void | Orb_dimensionsRead (const xercesc::DOMElement *const, G4GDMLParameterisation::PARAMETER &) |
void | Torus_dimensionsRead (const xercesc::DOMElement *const, G4GDMLParameterisation::PARAMETER &) |
void | Ellipsoid_dimensionsRead (const xercesc::DOMElement *const, G4GDMLParameterisation::PARAMETER &) |
void | Para_dimensionsRead (const xercesc::DOMElement *const, G4GDMLParameterisation::PARAMETER &) |
void | Hype_dimensionsRead (const xercesc::DOMElement *const, G4GDMLParameterisation::PARAMETER &) |
void | Polycone_dimensionsRead (const xercesc::DOMElement *const, G4GDMLParameterisation::PARAMETER &) |
void | Polyhedra_dimensionsRead (const xercesc::DOMElement *const, G4GDMLParameterisation::PARAMETER &) |
void | ParameterisedRead (const xercesc::DOMElement *const) |
void | ParametersRead (const xercesc::DOMElement *const) |
Protected Member Functions inherited from G4GDMLReadSetup | |
G4GDMLReadSetup () | |
virtual | ~G4GDMLReadSetup () |
Protected Member Functions inherited from G4GDMLReadSolids | |
G4GDMLReadSolids () | |
virtual | ~G4GDMLReadSolids () |
void | BooleanRead (const xercesc::DOMElement *const, const BooleanOp) |
void | BoxRead (const xercesc::DOMElement *const) |
void | ConeRead (const xercesc::DOMElement *const) |
void | ElconeRead (const xercesc::DOMElement *const) |
void | EllipsoidRead (const xercesc::DOMElement *const) |
void | EltubeRead (const xercesc::DOMElement *const) |
void | XtruRead (const xercesc::DOMElement *const) |
void | HypeRead (const xercesc::DOMElement *const) |
void | MultiUnionNodeRead (const xercesc::DOMElement *const, G4MultiUnion *const) |
void | MultiUnionRead (const xercesc::DOMElement *const) |
void | OrbRead (const xercesc::DOMElement *const) |
void | ParaRead (const xercesc::DOMElement *const) |
void | ParaboloidRead (const xercesc::DOMElement *const) |
void | PolyconeRead (const xercesc::DOMElement *const) |
void | GenericPolyconeRead (const xercesc::DOMElement *const) |
void | PolyhedraRead (const xercesc::DOMElement *const) |
void | GenericPolyhedraRead (const xercesc::DOMElement *const) |
G4QuadrangularFacet * | QuadrangularRead (const xercesc::DOMElement *const) |
void | ReflectedSolidRead (const xercesc::DOMElement *const) |
G4ExtrudedSolid::ZSection | SectionRead (const xercesc::DOMElement *const, G4double) |
void | SphereRead (const xercesc::DOMElement *const) |
void | TessellatedRead (const xercesc::DOMElement *const) |
void | TetRead (const xercesc::DOMElement *const) |
void | TorusRead (const xercesc::DOMElement *const) |
void | GenTrapRead (const xercesc::DOMElement *const) |
void | TrapRead (const xercesc::DOMElement *const) |
void | TrdRead (const xercesc::DOMElement *const) |
void | TubeRead (const xercesc::DOMElement *const) |
void | CutTubeRead (const xercesc::DOMElement *const) |
void | TwistedboxRead (const xercesc::DOMElement *const) |
void | TwistedtrapRead (const xercesc::DOMElement *const) |
void | TwistedtrdRead (const xercesc::DOMElement *const) |
void | TwistedtubsRead (const xercesc::DOMElement *const) |
G4TriangularFacet * | TriangularRead (const xercesc::DOMElement *const) |
G4TwoVector | TwoDimVertexRead (const xercesc::DOMElement *const, G4double) |
zplaneType | ZplaneRead (const xercesc::DOMElement *const) |
rzPointType | RZPointRead (const xercesc::DOMElement *const) |
void | OpticalSurfaceRead (const xercesc::DOMElement *const) |
Protected Member Functions inherited from G4GDMLReadMaterials | |
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)) |
Protected Attributes | |
G4GDMLAuxMapType | auxMap |
G4GDMLAssemblyMapType | assemblyMap |
G4LogicalVolume * | pMotherLogical |
std::map< std::string, G4VPhysicalVolume * > | setuptoPV |
G4bool | strip |
Protected Attributes inherited from G4GDMLReadParamvol | |
G4GDMLParameterisation * | parameterisation |
Protected Attributes inherited from G4GDMLReadSetup | |
std::map< G4String, G4String > | setupMap |
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 62 of file G4GDMLReadStructure.hh.
G4GDMLReadStructure::G4GDMLReadStructure | ( | ) |
Definition at line 49 of file G4GDMLReadStructure.cc.
|
virtual |
Definition at line 54 of file G4GDMLReadStructure.cc.
|
protected |
Definition at line 636 of file G4GDMLReadStructure.cc.
References assemblyMap, FatalException, G4cout, G4endl, G4Exception(), G4GDMLRead::GenerateName(), name, PhysvolRead(), release(), and G4GDMLRead::Transcode().
Referenced by StructureRead().
|
protected |
Definition at line 59 of file G4GDMLReadStructure.cc.
References FatalException, G4Exception(), G4GDMLRead::Transcode(), G4GDMLAuxPairType::type, and G4GDMLAuxPairType::value.
Referenced by G03ColorReader::VolumeRead(), and VolumeRead().
|
protected |
Definition at line 518 of file G4GDMLReadStructure.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), kPhi, kRho, kUndefined, kXAxis, kYAxis, kZAxis, and G4GDMLRead::Transcode().
Referenced by ReplicaRead().
|
protected |
Definition at line 95 of file G4GDMLReadStructure.cc.
References FatalException, G4Exception(), G4GDMLRead::GenerateName(), GetPhysvol(), G4GDMLReadSolids::GetSurfaceProperty(), name, G4GDMLReadDefine::RefRead(), G4GDMLRead::Strip(), and G4GDMLRead::Transcode().
Referenced by StructureRead().
void G4GDMLReadStructure::Clear | ( | ) |
Definition at line 925 of file G4GDMLReadStructure.cc.
References G4GDMLEvaluator::Clear(), G4GDMLRead::eval, and setuptoPV.
|
protected |
Definition at line 160 of file G4GDMLReadStructure.cc.
References G4ReflectionFactory::Divide(), G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), G4GDMLEvaluator::EvaluateInteger(), FatalException, G4String::first(), G4Exception(), G4GDMLRead::GenerateName(), G4GDMLRead::GeneratePhysvolName(), G4PVDivisionFactory::GetInstance(), G4LogicalVolume::GetName(), G4UnitDefinition::GetValueOf(), GetVolume(), G4ReflectionFactory::Instance(), kPhi, kRho, kUndefined, kXAxis, kYAxis, kZAxis, name, pMotherLogical, G4GDMLReadDefine::RefRead(), G4GDMLRead::Transcode(), and width.
Referenced by Volume_contentRead().
|
protected |
Definition at line 256 of file G4GDMLReadStructure.cc.
References auxMap, FatalException, G4Exception(), G4GDMLRead::GenerateName(), GetAuxMap(), G4GDMLReadSetup::GetSetup(), GetVolume(), name, pos, G4GDMLRead::Read(), G4GDMLRead::Transcode(), and G4GDMLRead::validate.
Referenced by PhysvolRead().
G4AssemblyVolume * G4GDMLReadStructure::GetAssembly | ( | const G4String & | ref | ) | const |
Definition at line 882 of file G4GDMLReadStructure.cc.
References assemblyMap, and pos.
Referenced by PhysvolRead().
const G4GDMLAuxMapType * G4GDMLReadStructure::GetAuxMap | ( | ) | const |
Definition at line 898 of file G4GDMLReadStructure.cc.
References auxMap.
Referenced by FileRead().
G4VPhysicalVolume * G4GDMLReadStructure::GetPhysvol | ( | const G4String & | ref | ) | const |
Definition at line 850 of file G4GDMLReadStructure.cc.
References FatalException, G4Exception(), G4PhysicalVolumeStore::GetInstance(), and G4PhysicalVolumeStore::GetVolume().
Referenced by BorderSurfaceRead().
|
virtual |
Implements G4GDMLRead.
Definition at line 866 of file G4GDMLReadStructure.cc.
References FatalException, G4Exception(), G4LogicalVolumeStore::GetInstance(), and G4LogicalVolumeStore::GetVolume().
Referenced by DivisionvolRead(), FileRead(), GetWorldVolume(), PhysvolRead(), ReplicavolRead(), and SkinSurfaceRead().
G4GDMLAuxListType G4GDMLReadStructure::GetVolumeAuxiliaryInformation | ( | G4LogicalVolume * | logvol | ) | const |
Definition at line 890 of file G4GDMLReadStructure.cc.
G4VPhysicalVolume * G4GDMLReadStructure::GetWorldVolume | ( | const G4String & | setupName | ) |
Definition at line 904 of file G4GDMLReadStructure.cc.
References G4GDMLRead::dostrip, G4GDMLRead::GenerateName(), G4LogicalVolume::GetName(), G4GDMLReadSetup::GetSetup(), GetVolume(), G4VisAttributes::Invisible, setuptoPV, and G4LogicalVolume::SetVisAttributes().
|
protected |
Definition at line 317 of file G4GDMLReadStructure.cc.
References G4AssemblyVolume::AddPlacedVolume(), G4GDMLRead::check, FatalException, FileRead(), G4String::first(), G4Exception(), G4GDMLRead::GenerateName(), G4GDMLRead::GeneratePhysvolName(), GetAssembly(), G4LogicalVolume::GetName(), G4GDMLReadDefine::GetPosition(), G4GDMLReadDefine::GetRotation(), G4GDMLReadDefine::GetRotationMatrix(), G4GDMLReadDefine::GetScale(), GetVolume(), G4ReflectionFactory::Instance(), G4AssemblyVolume::MakeImprint(), name, G4ReflectionFactory::Place(), pMotherLogical, position, G4GDMLReadDefine::RefRead(), G4GDMLRead::Transcode(), and G4GDMLReadDefine::VectorRead().
Referenced by AssemblyRead(), and Volume_contentRead().
|
protected |
Definition at line 560 of file G4GDMLReadStructure.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4UnitDefinition::GetValueOf(), and G4GDMLRead::Transcode().
Referenced by ReplicaRead().
|
protected |
Definition at line 461 of file G4GDMLReadStructure.cc.
References AxisRead(), FatalException, G4String::first(), G4Exception(), G4GDMLRead::GenerateName(), G4GDMLRead::GeneratePhysvolName(), G4LogicalVolume::GetName(), G4GDMLReadDefine::GetPosition(), G4GDMLReadDefine::GetRotation(), G4ReflectionFactory::Instance(), kUndefined, name, pMotherLogical, position, QuantityRead(), G4GDMLReadDefine::RefRead(), G4ReflectionFactory::Replicate(), G4GDMLRead::Transcode(), G4GDMLReadDefine::VectorRead(), and width.
Referenced by ReplicavolRead().
|
protected |
Definition at line 425 of file G4GDMLReadStructure.cc.
References FatalException, G4Exception(), G4GDMLRead::GenerateName(), GetVolume(), G4GDMLReadDefine::RefRead(), ReplicaRead(), and G4GDMLRead::Transcode().
Referenced by Volume_contentRead().
|
protected |
Definition at line 672 of file G4GDMLReadStructure.cc.
References FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4GDMLReadSolids::GetSurfaceProperty(), GetVolume(), name, G4GDMLReadDefine::RefRead(), G4GDMLRead::Strip(), and G4GDMLRead::Transcode().
Referenced by StructureRead().
|
virtual |
Implements G4GDMLRead.
Definition at line 816 of file G4GDMLReadStructure.cc.
References AssemblyRead(), BorderSurfaceRead(), FatalException, G4cout, G4endl, G4Exception(), G4GDMLRead::LoopRead(), SkinSurfaceRead(), G4GDMLRead::StructureRead(), G4GDMLRead::Transcode(), and VolumeRead().
|
virtual |
Implements G4GDMLRead.
Definition at line 738 of file G4GDMLReadStructure.cc.
References DivisionvolRead(), G4GDMLRead::eval, G4GDMLEvaluator::EvaluateInteger(), FatalException, G4cout, G4endl, G4Exception(), G4GDMLRead::LoopRead(), G4GDMLReadParamvol::ParamvolRead(), PhysvolRead(), pMotherLogical, ReplicavolRead(), G4GDMLRead::Transcode(), and G4GDMLRead::Volume_contentRead().
Referenced by G03ColorReader::VolumeRead(), and VolumeRead().
|
virtual |
Reimplemented in G03ColorReader.
Definition at line 594 of file G4GDMLReadStructure.cc.
References AuxiliaryRead(), auxMap, FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4GDMLReadMaterials::GetMaterial(), G4GDMLReadSolids::GetSolid(), name, pMotherLogical, G4GDMLReadDefine::RefRead(), release(), G4GDMLRead::Transcode(), and Volume_contentRead().
Referenced by StructureRead().
|
protected |
Definition at line 101 of file G4GDMLReadStructure.hh.
Referenced by AssemblyRead(), and GetAssembly().
|
protected |
Definition at line 100 of file G4GDMLReadStructure.hh.
Referenced by FileRead(), GetAuxMap(), GetVolumeAuxiliaryInformation(), G03ColorReader::VolumeRead(), and VolumeRead().
|
protected |
Definition at line 102 of file G4GDMLReadStructure.hh.
Referenced by DivisionvolRead(), PhysvolRead(), ReplicaRead(), Volume_contentRead(), G03ColorReader::VolumeRead(), and VolumeRead().
|
protected |
Definition at line 103 of file G4GDMLReadStructure.hh.
Referenced by Clear(), and GetWorldVolume().
|
protected |
Definition at line 104 of file G4GDMLReadStructure.hh.