Geant4
10.01.p02
|
#include <G4GDMLReadSolids.hh>
Classes | |
struct | rzPointType |
struct | zplaneType |
Public Member Functions | |
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 | SetupRead (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 | |
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)) |
Private Types | |
enum | BooleanOp { UNION, SUBTRACTION, INTERSECTION } |
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 53 of file G4GDMLReadSolids.hh.
|
private |
Enumerator | |
---|---|
UNION | |
SUBTRACTION | |
INTERSECTION |
Definition at line 55 of file G4GDMLReadSolids.hh.
|
protected |
Definition at line 72 of file G4GDMLReadSolids.cc.
|
protectedvirtual |
Definition at line 76 of file G4GDMLReadSolids.cc.
|
protected |
Definition at line 81 of file G4GDMLReadSolids.cc.
References FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4GDMLReadDefine::GetPosition(), G4GDMLReadDefine::GetRotation(), G4GDMLReadDefine::GetRotationMatrix(), GetSolid(), INTERSECTION, name, position, G4GDMLReadDefine::RefRead(), SUBTRACTION, G4GDMLRead::Transcode(), UNION, and G4GDMLReadDefine::VectorRead().
Referenced by SolidsRead().
|
protected |
Definition at line 178 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4UnitDefinition::GetValueOf(), name, G4GDMLRead::Transcode(), and z.
Referenced by SolidsRead().
|
protected |
Definition at line 223 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4UnitDefinition::GetValueOf(), name, G4GDMLRead::Transcode(), and z.
Referenced by SolidsRead().
|
protected |
Definition at line 1804 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4UnitDefinition::GetValueOf(), name, G4GDMLRead::Transcode(), and z.
Referenced by SolidsRead().
|
protected |
Definition at line 283 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4UnitDefinition::GetValueOf(), name, and G4GDMLRead::Transcode().
Referenced by SolidsRead().
|
protected |
Definition at line 330 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4UnitDefinition::GetValueOf(), name, and G4GDMLRead::Transcode().
Referenced by SolidsRead().
|
protected |
Definition at line 382 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4UnitDefinition::GetValueOf(), name, and G4GDMLRead::Transcode().
Referenced by SolidsRead().
|
protected |
Definition at line 904 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4UnitDefinition::GetValueOf(), name, RZPointRead(), and G4GDMLRead::Transcode().
Referenced by SolidsRead().
|
protected |
Definition at line 1067 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), G4GDMLEvaluator::EvaluateInteger(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4UnitDefinition::GetValueOf(), name, RZPointRead(), and G4GDMLRead::Transcode().
Referenced by SolidsRead().
|
protected |
Definition at line 1517 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4UnitDefinition::GetValueOf(), name, and G4GDMLRead::Transcode().
Referenced by SolidsRead().
Definition at line 2389 of file G4GDMLReadSolids.cc.
References FatalException, G4Exception(), G4SolidStore::GetInstance(), and G4SolidStore::GetSolid().
Referenced by BooleanRead(), MultiUnionNodeRead(), ReflectedSolidRead(), G03ColorReader::VolumeRead(), and G4GDMLReadStructure::VolumeRead().
G4SurfaceProperty * G4GDMLReadSolids::GetSurfaceProperty | ( | const G4String & | ref | ) | const |
Definition at line 2404 of file G4GDMLReadSolids.cc.
References FatalException, G4Exception(), and G4SurfaceProperty::GetSurfacePropertyTable().
Referenced by G4GDMLReadStructure::BorderSurfaceRead(), and G4GDMLReadStructure::SkinSurfaceRead().
|
protected |
Definition at line 486 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4UnitDefinition::GetValueOf(), name, G4GDMLRead::Transcode(), and z.
Referenced by SolidsRead().
|
protected |
Definition at line 540 of file G4GDMLReadSolids.cc.
References G4UMultiUnion::AddNode(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4GDMLReadDefine::GetPosition(), G4GDMLReadDefine::GetRotation(), G4GDMLReadDefine::GetRotationMatrix(), GetSolid(), name, position, G4GDMLReadDefine::RefRead(), G4GDMLRead::Transcode(), and G4GDMLReadDefine::VectorRead().
Referenced by MultiUnionRead().
|
protected |
Definition at line 615 of file G4GDMLReadSolids.cc.
References FatalException, G4Exception(), G4GDMLRead::GenerateName(), MultiUnionNodeRead(), name, G4GDMLRead::Transcode(), and G4UMultiUnion::Voxelize().
Referenced by SolidsRead().
|
protected |
Definition at line 2205 of file G4GDMLReadSolids.cc.
References dichroic, dielectric_dichroic, dielectric_dielectric, dielectric_LUT, dielectric_metal, etchedair, etchedlumirrorair, etchedlumirrorglue, etchedteflonair, etchedtioair, etchedtyvekair, etchedvm2000air, etchedvm2000glue, G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, firsov, G4Exception(), G4GDMLRead::GenerateName(), glisur, ground, groundair, groundbackpainted, groundfrontpainted, groundlumirrorair, groundlumirrorglue, groundteflonair, groundtioair, groundtyvekair, groundvm2000air, groundvm2000glue, LUT, name, polished, polishedair, polishedbackpainted, polishedfrontpainted, polishedlumirrorair, polishedlumirrorglue, polishedteflonair, polishedtioair, polishedtyvekair, polishedvm2000air, polishedvm2000glue, G4GDMLRead::Transcode(), unified, and x_ray.
Referenced by SolidsRead().
|
protected |
Definition at line 679 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4UnitDefinition::GetValueOf(), name, and G4GDMLRead::Transcode().
Referenced by SolidsRead().
|
protected |
Definition at line 775 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4UnitDefinition::GetValueOf(), name, and G4GDMLRead::Transcode().
Referenced by SolidsRead().
|
protected |
Definition at line 718 of file G4GDMLReadSolids.cc.
References alpha, G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4UnitDefinition::GetValueOf(), name, G4GDMLRead::Transcode(), and z.
Referenced by SolidsRead().
|
protected |
Definition at line 821 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4UnitDefinition::GetValueOf(), name, G4GDMLRead::Transcode(), and ZplaneRead().
Referenced by SolidsRead().
|
protected |
Definition at line 982 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), G4GDMLEvaluator::EvaluateInteger(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4UnitDefinition::GetValueOf(), name, G4GDMLRead::Transcode(), and ZplaneRead().
Referenced by SolidsRead().
|
protected |
Definition at line 1149 of file G4GDMLReadSolids.cc.
References ABSOLUTE, FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4GDMLReadDefine::GetPosition(), G4UnitDefinition::GetValueOf(), RELATIVE, and G4GDMLRead::Transcode().
Referenced by TessellatedRead().
|
protected |
Definition at line 1200 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4GDMLReadDefine::GetRotationMatrix(), GetSolid(), G4UnitDefinition::GetValueOf(), name, position, and G4GDMLRead::Transcode().
Referenced by SolidsRead().
|
protected |
Definition at line 2170 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLReadSolids::rzPointType::r, G4GDMLRead::Transcode(), and G4GDMLReadSolids::rzPointType::z.
Referenced by GenericPolyconeRead(), and GenericPolyhedraRead().
|
protected |
Definition at line 1258 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), and G4GDMLRead::Transcode().
Referenced by XtruRead().
|
virtual |
Implements G4GDMLRead.
Definition at line 2327 of file G4GDMLReadSolids.cc.
References BooleanRead(), BoxRead(), ConeRead(), CutTubeRead(), G4GDMLReadDefine::DefineRead(), ElconeRead(), EllipsoidRead(), EltubeRead(), FatalException, G4cout, G4endl, G4Exception(), GenericPolyconeRead(), GenericPolyhedraRead(), GenTrapRead(), HypeRead(), INTERSECTION, G4GDMLRead::LoopRead(), MultiUnionRead(), OpticalSurfaceRead(), OrbRead(), ParaboloidRead(), ParaRead(), PolyconeRead(), PolyhedraRead(), ReflectedSolidRead(), G4GDMLRead::SolidsRead(), SphereRead(), SUBTRACTION, TessellatedRead(), TetRead(), TorusRead(), G4GDMLRead::Transcode(), TrapRead(), TrdRead(), TubeRead(), TwistedboxRead(), TwistedtrapRead(), TwistedtrdRead(), TwistedtubsRead(), UNION, and XtruRead().
|
protected |
Definition at line 1301 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4UnitDefinition::GetValueOf(), name, and G4GDMLRead::Transcode().
Referenced by SolidsRead().
|
protected |
Definition at line 1358 of file G4GDMLReadSolids.cc.
References G4TessellatedSolid::AddFacet(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), name, QuadrangularRead(), G4TessellatedSolid::SetSolidClosed(), G4GDMLRead::Transcode(), and TriangularRead().
Referenced by SolidsRead().
|
protected |
Definition at line 1414 of file G4GDMLReadSolids.cc.
References FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4GDMLReadDefine::GetPosition(), G4UnitDefinition::GetValueOf(), name, and G4GDMLRead::Transcode().
Referenced by SolidsRead().
|
protected |
Definition at line 1463 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4UnitDefinition::GetValueOf(), name, and G4GDMLRead::Transcode().
Referenced by SolidsRead().
|
protected |
Definition at line 1583 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4UnitDefinition::GetValueOf(), name, G4GDMLRead::Transcode(), and z.
Referenced by SolidsRead().
|
protected |
Definition at line 1654 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4UnitDefinition::GetValueOf(), name, G4GDMLRead::Transcode(), and z.
Referenced by SolidsRead().
|
protected |
Definition at line 1705 of file G4GDMLReadSolids.cc.
References ABSOLUTE, FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4GDMLReadDefine::GetPosition(), G4UnitDefinition::GetValueOf(), RELATIVE, and G4GDMLRead::Transcode().
Referenced by TessellatedRead().
|
protected |
Definition at line 1751 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4UnitDefinition::GetValueOf(), name, G4GDMLRead::Transcode(), and z.
Referenced by SolidsRead().
|
protected |
Definition at line 1867 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4UnitDefinition::GetValueOf(), name, G4GDMLRead::Transcode(), and z.
Referenced by SolidsRead().
|
protected |
Definition at line 1918 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4UnitDefinition::GetValueOf(), name, G4GDMLRead::Transcode(), and z.
Referenced by SolidsRead().
|
protected |
Definition at line 1991 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4UnitDefinition::GetValueOf(), name, G4GDMLRead::Transcode(), and z.
Referenced by SolidsRead().
|
protected |
Definition at line 2048 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4UnitDefinition::GetValueOf(), name, and G4GDMLRead::Transcode().
Referenced by SolidsRead().
|
protected |
Definition at line 2102 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), and G4GDMLRead::Transcode().
Referenced by XtruRead().
|
protected |
Definition at line 427 of file G4GDMLReadSolids.cc.
References FatalException, G4Exception(), G4GDMLRead::GenerateName(), G4UnitDefinition::GetValueOf(), name, SectionRead(), G4GDMLRead::Transcode(), and TwoDimVertexRead().
Referenced by SolidsRead().
|
protected |
Definition at line 2136 of file G4GDMLReadSolids.cc.
References G4GDMLRead::eval, G4GDMLEvaluator::Evaluate(), FatalException, G4Exception(), G4GDMLReadSolids::zplaneType::rmax, G4GDMLReadSolids::zplaneType::rmin, G4GDMLRead::Transcode(), and G4GDMLReadSolids::zplaneType::z.
Referenced by G4GDMLReadParamvol::Polycone_dimensionsRead(), PolyconeRead(), G4GDMLReadParamvol::Polyhedra_dimensionsRead(), and PolyhedraRead().