ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/simulation/g4simulation/g4gdml/PHG4GDMLWriteMaterials.hh>
Public Member Functions | |
void | AddIsotope (const G4Isotope *const) |
void | AddElement (const G4Element *const) |
void | AddMaterial (const G4Material *const) |
virtual void | MaterialsWrite (xercesc::DOMElement *) |
Public Member Functions inherited from PHG4GDMLWriteDefine | |
G4ThreeVector | GetAngles (const G4RotationMatrix &) |
void | ScaleWrite (xercesc::DOMElement *element, const G4String &name, const G4ThreeVector &scl) |
void | RotationWrite (xercesc::DOMElement *element, const G4String &name, const G4ThreeVector &rot) |
void | PositionWrite (xercesc::DOMElement *element, const G4String &name, const G4ThreeVector &pos) |
void | FirstrotationWrite (xercesc::DOMElement *element, const G4String &name, const G4ThreeVector &rot) |
void | FirstpositionWrite (xercesc::DOMElement *element, const G4String &name, const G4ThreeVector &pos) |
void | AddPosition (const G4String &name, const G4ThreeVector &pos) |
virtual void | DefineWrite (xercesc::DOMElement *) |
Public Member Functions inherited from PHG4GDMLWrite | |
G4Transform3D | Write (const G4String &filename, const G4LogicalVolume *const topLog, const G4String &schemaPath, const G4int depth, G4bool storeReferences=true) |
void | AddModule (const G4VPhysicalVolume *const topVol) |
void | AddModule (const G4int depth) |
void | AddAuxiliary (PHG4GDMLAuxStructType myaux) |
virtual void | SolidsWrite (xercesc::DOMElement *)=0 |
virtual void | StructureWrite (xercesc::DOMElement *)=0 |
virtual G4Transform3D | TraverseVolumeTree (const G4LogicalVolume *const, const G4int)=0 |
virtual void | SurfacesWrite ()=0 |
virtual void | SetupWrite (xercesc::DOMElement *, const G4LogicalVolume *const)=0 |
virtual void | ExtensionWrite (xercesc::DOMElement *) |
virtual void | UserinfoWrite (xercesc::DOMElement *) |
virtual void | AddExtension (xercesc::DOMElement *, const G4LogicalVolume *const) |
G4String | GenerateName (const G4String &, const void *const) |
Protected Member Functions | |
PHG4GDMLWriteMaterials () | |
virtual | ~PHG4GDMLWriteMaterials () |
void | AtomWrite (xercesc::DOMElement *, const G4double &) |
void | DWrite (xercesc::DOMElement *, const G4double &) |
void | PWrite (xercesc::DOMElement *, const G4double &) |
void | TWrite (xercesc::DOMElement *, const G4double &) |
void | MEEWrite (xercesc::DOMElement *, const G4double &) |
void | IsotopeWrite (const G4Isotope *const) |
void | ElementWrite (const G4Element *const) |
void | MaterialWrite (const G4Material *const) |
void | PropertyWrite (xercesc::DOMElement *, const G4Material *const) |
void | PropertyVectorWrite (const G4String &, const G4PhysicsOrderedFreeVector *const) |
Protected Member Functions inherited from PHG4GDMLWriteDefine | |
PHG4GDMLWriteDefine () | |
virtual | ~PHG4GDMLWriteDefine () |
void | Scale_vectorWrite (xercesc::DOMElement *, const G4String &, const G4String &, const G4ThreeVector &) |
void | Rotation_vectorWrite (xercesc::DOMElement *, const G4String &, const G4String &, const G4ThreeVector &) |
void | Position_vectorWrite (xercesc::DOMElement *, const G4String &, const G4String &, const G4ThreeVector &) |
Protected Member Functions inherited from PHG4GDMLWrite | |
PHG4GDMLWrite () | |
virtual | ~PHG4GDMLWrite () |
VolumeMapType & | VolumeMap () |
xercesc::DOMAttr * | NewAttribute (const G4String &, const G4String &) |
xercesc::DOMAttr * | NewAttribute (const G4String &, const G4double &) |
xercesc::DOMElement * | NewElement (const G4String &) |
G4String | Modularize (const G4VPhysicalVolume *const topvol, const G4int depth) |
void | AddAuxInfo (PHG4GDMLAuxListType *auxInfoList, xercesc::DOMElement *element) |
G4bool | FileExists (const G4String &) const |
PhysVolumeMapType & | PvolumeMap () |
DepthMapType & | DepthMap () |
Protected Attributes | |
std::vector< const G4Isotope * > | isotopeList |
std::vector< const G4Element * > | elementList |
std::vector< const G4Material * > | materialList |
xercesc::DOMElement * | materialsElement |
Protected Attributes inherited from PHG4GDMLWriteDefine | |
xercesc::DOMElement * | defineElement |
Protected Attributes inherited from PHG4GDMLWrite | |
G4String | SchemaLocation |
xercesc::DOMDocument * | doc |
xercesc::DOMElement * | extElement |
xercesc::DOMElement * | userinfoElement |
XMLCh | tempStr [10000] |
PHG4GDMLAuxListType | auxList |
Additional Inherited Members | |
Static Public Member Functions inherited from PHG4GDMLWrite | |
static void | SetAddPointerToName (G4bool) |
Static Protected Attributes inherited from PHG4GDMLWriteDefine | |
static const G4double | kRelativePrecision = DBL_EPSILON |
static const G4double | kAngularPrecision = DBL_EPSILON |
static const G4double | kLinearPrecision = DBL_EPSILON |
Definition at line 53 of file PHG4GDMLWriteMaterials.hh.
View newest version in sPHENIX GitHub at line 53 of file PHG4GDMLWriteMaterials.hh
|
protected |
Definition at line 46 of file PHG4GDMLWriteMaterials.cc.
View newest version in sPHENIX GitHub at line 46 of file PHG4GDMLWriteMaterials.cc
|
protectedvirtual |
Definition at line 51 of file PHG4GDMLWriteMaterials.cc.
View newest version in sPHENIX GitHub at line 51 of file PHG4GDMLWriteMaterials.cc
Definition at line 308 of file PHG4GDMLWriteMaterials.cc.
View newest version in sPHENIX GitHub at line 308 of file PHG4GDMLWriteMaterials.cc
References elementList, and ElementWrite().
Referenced by MaterialWrite().
Definition at line 298 of file PHG4GDMLWriteMaterials.cc.
View newest version in sPHENIX GitHub at line 298 of file PHG4GDMLWriteMaterials.cc
References isotopeList, and IsotopeWrite().
Referenced by ElementWrite().
void PHG4GDMLWriteMaterials::AddMaterial | ( | const G4Material * const | materialPtr | ) |
Definition at line 318 of file PHG4GDMLWriteMaterials.cc.
View newest version in sPHENIX GitHub at line 318 of file PHG4GDMLWriteMaterials.cc
References materialList, and MaterialWrite().
Referenced by PHG4GDMLWriteStructure::TraverseVolumeTree().
|
protected |
Definition at line 56 of file PHG4GDMLWriteMaterials.cc.
View newest version in sPHENIX GitHub at line 56 of file PHG4GDMLWriteMaterials.cc
References Acts::UnitConstants::g, mole, PHG4GDMLWrite::NewAttribute(), and PHG4GDMLWrite::NewElement().
Referenced by ElementWrite(), IsotopeWrite(), and MaterialWrite().
Definition at line 65 of file PHG4GDMLWriteMaterials.cc.
View newest version in sPHENIX GitHub at line 65 of file PHG4GDMLWriteMaterials.cc
References cm3, Acts::UnitConstants::g, PHG4GDMLWrite::NewAttribute(), and PHG4GDMLWrite::NewElement().
Referenced by MaterialWrite().
Definition at line 113 of file PHG4GDMLWriteMaterials.cc.
View newest version in sPHENIX GitHub at line 113 of file PHG4GDMLWriteMaterials.cc
References AddIsotope(), AtomWrite(), PHG4GDMLWrite::GenerateName(), G4Element::GetA(), G4Element::GetIsotope(), G4Isotope::GetName(), G4Element::GetName(), G4Element::GetNumberOfIsotopes(), G4Element::GetRelativeAbundanceVector(), G4Element::GetZ(), materialsElement, PHG4GDMLWrite::NewAttribute(), and PHG4GDMLWrite::NewElement().
Referenced by AddElement().
Definition at line 101 of file PHG4GDMLWriteMaterials.cc.
View newest version in sPHENIX GitHub at line 101 of file PHG4GDMLWriteMaterials.cc
References AtomWrite(), PHG4GDMLWrite::GenerateName(), G4Isotope::GetA(), G4Isotope::GetN(), G4Isotope::GetName(), G4Isotope::GetZ(), materialsElement, PHG4GDMLWrite::NewAttribute(), and PHG4GDMLWrite::NewElement().
Referenced by AddIsotope().
|
virtual |
Implements PHG4GDMLWrite.
Definition at line 286 of file PHG4GDMLWriteMaterials.cc.
View newest version in sPHENIX GitHub at line 286 of file PHG4GDMLWriteMaterials.cc
References elementList, isotopeList, materialList, materialsElement, and PHG4GDMLWrite::NewElement().
|
protected |
Definition at line 148 of file PHG4GDMLWriteMaterials.cc.
View newest version in sPHENIX GitHub at line 148 of file PHG4GDMLWriteMaterials.cc
References AddElement(), AtomWrite(), DWrite(), PHG4GDMLWrite::GenerateName(), G4Material::GetA(), G4Material::GetDensity(), G4Material::GetElement(), G4Material::GetFractionVector(), G4Material::GetIonisation(), G4Material::GetMaterialPropertiesTable(), G4IonisParamMat::GetMeanExcitationEnergy(), G4Element::GetName(), G4Material::GetName(), G4Material::GetNumberOfElements(), G4Element::GetNumberOfIsotopes(), G4Material::GetPressure(), G4Material::GetState(), G4Material::GetTemperature(), G4Material::GetZ(), kStateGas, kStateLiquid, kStateSolid, materialsElement, MEEWrite(), PHG4GDMLWrite::NewAttribute(), PHG4GDMLWrite::NewElement(), PropertyWrite(), PWrite(), source.hepunit::STP_Pressure, source.hepunit::STP_Temperature, and TWrite().
Referenced by AddMaterial().
|
protected |
Definition at line 92 of file PHG4GDMLWriteMaterials.cc.
View newest version in sPHENIX GitHub at line 92 of file PHG4GDMLWriteMaterials.cc
References electronvolt, PHG4GDMLWrite::NewAttribute(), and PHG4GDMLWrite::NewElement().
Referenced by MaterialWrite().
|
protected |
Definition at line 211 of file PHG4GDMLWriteMaterials.cc.
View newest version in sPHENIX GitHub at line 211 of file PHG4GDMLWriteMaterials.cc
References PHG4GDMLWriteDefine::defineElement, G4PhysicsVector::Energy(), PHG4GDMLWrite::GenerateName(), G4PhysicsVector::GetVectorLength(), PHG4GDMLWrite::NewAttribute(), and PHG4GDMLWrite::NewElement().
Referenced by PropertyWrite().
|
protected |
Definition at line 229 of file PHG4GDMLWriteMaterials.cc.
View newest version in sPHENIX GitHub at line 229 of file PHG4GDMLWriteMaterials.cc
References PHG4GDMLWriteDefine::defineElement, G4Exception(), PHG4GDMLWrite::GenerateName(), G4MaterialPropertiesTable::GetConstPropertyMap(), G4MaterialPropertiesTable::GetMaterialConstPropertyNames(), G4Material::GetMaterialPropertiesTable(), G4MaterialPropertiesTable::GetMaterialPropertyNames(), G4Material::GetName(), G4MaterialPropertiesTable::GetPropertyMap(), JustWarning, PHG4GDMLWrite::NewAttribute(), PHG4GDMLWrite::NewElement(), and PropertyVectorWrite().
Referenced by MaterialWrite().
Definition at line 74 of file PHG4GDMLWriteMaterials.cc.
View newest version in sPHENIX GitHub at line 74 of file PHG4GDMLWriteMaterials.cc
References hep_pascal, PHG4GDMLWrite::NewAttribute(), and PHG4GDMLWrite::NewElement().
Referenced by MaterialWrite().
Definition at line 83 of file PHG4GDMLWriteMaterials.cc.
View newest version in sPHENIX GitHub at line 83 of file PHG4GDMLWriteMaterials.cc
References kelvin, PHG4GDMLWrite::NewAttribute(), and PHG4GDMLWrite::NewElement().
Referenced by MaterialWrite().
|
protected |
Definition at line 83 of file PHG4GDMLWriteMaterials.hh.
View newest version in sPHENIX GitHub at line 83 of file PHG4GDMLWriteMaterials.hh
Referenced by AddElement(), and MaterialsWrite().
|
protected |
Definition at line 82 of file PHG4GDMLWriteMaterials.hh.
View newest version in sPHENIX GitHub at line 82 of file PHG4GDMLWriteMaterials.hh
Referenced by AddIsotope(), and MaterialsWrite().
|
protected |
Definition at line 84 of file PHG4GDMLWriteMaterials.hh.
View newest version in sPHENIX GitHub at line 84 of file PHG4GDMLWriteMaterials.hh
Referenced by AddMaterial(), and MaterialsWrite().
|
protected |
Definition at line 85 of file PHG4GDMLWriteMaterials.hh.
View newest version in sPHENIX GitHub at line 85 of file PHG4GDMLWriteMaterials.hh
Referenced by ElementWrite(), IsotopeWrite(), MaterialsWrite(), and MaterialWrite().