44 typedef std::map<VGM::ThreeVector, std::string, std::less<VGM::ThreeVector> >
47 std::less<VGM::ThreeVector> >
50 std::less<VGM::ThreeVector> >
52 typedef std::map<std::string, const VGM::IMaterial*, std::less<std::string> >
54 typedef std::map<std::string, const VGM::IMedium*, std::less<std::string> >
58 Maps(
double numPrecision,
double angleUnit,
double lengthUnit);
99 void CutName(std::string& name)
const;
100 double Round2(
double number)
const;
105 double fNumPrecision;
115 int fNofBoolPositions;
116 int fNofBoolRotations;
123 fNumPrecision = precision;
The VGM interface to elements.
The VGM interface to elements.
The VGM interface to materials.
The VGM interface to tracking medium.
The interface for the XML writer that writes VGM geometry objects to XML:
Utility class for mapping XML element values to their names within the XML exporter precision.
const VGM::IElement * AddElement(const VGM::IElement *element)
void WriteAllRotations(IWriter *writer)
std::string AddBooleanPosition()
const VGM::IMaterial * AddMaterial(const VGM::IMaterial *material)
void WriteAllPositions(IWriter *writer)
std::string FindPositionName(const VGM::Transform &transform) const
void WriteAllMedia(IWriter *writer)
void SetNumPrecision(double precision)
Maps & operator=(const Maps &)
std::multimap< VGM::ThreeVector, const VGM::IIsotope *, std::less< VGM::ThreeVector > > IsotopeMap
void WriteAllMediaFromMaterials(IWriter *writer)
std::string FindRotationName(const VGM::Transform &transform) const
std::string AddPosition(const VGM::Transform &transform)
const VGM::IIsotope * AddIsotope(const VGM::IIsotope *isotope)
std::string AddRotation(const VGM::Transform &transform)
std::map< VGM::ThreeVector, std::string, std::less< VGM::ThreeVector > > ThreeVectorMap
void WriteAllIsotopes(IWriter *writer)
std::multimap< VGM::ThreeVector, const VGM::IElement *, std::less< VGM::ThreeVector > > ElementMap
std::string AddBooleanRotation()
const VGM::IMedium * AddMedium(const VGM::IMedium *medium)
void WriteAllMaterials(IWriter *writer)
std::map< std::string, const VGM::IMedium *, std::less< std::string > > MediumMap
void WriteAllElements(IWriter *writer)
std::map< std::string, const VGM::IMaterial *, std::less< std::string > > MaterialMap
std::vector< double > Transform
std::vector< double > ThreeVector