VGM Version 5.3
|
The VGM interface to material factory providing functions for material conversions. More...
#include <IMaterialFactory.h>
Public Member Functions | |
virtual | ~IMaterialFactory () |
virtual IIsotope * | CreateIsotope (const std::string &name, int z, int n, double a=0.)=0 |
Create a chemical isotope. | |
virtual IElement * | CreateElement (const std::string &name, const std::string &symbol, double z, double a)=0 |
Create a chemical element. | |
virtual IElement * | CreateElement (const std::string &name, const std::string &symbol, const VGM::IsotopeVector &isotopes, const VGM::RelAbundanceVector &relAbundances)=0 |
Create a chemical element. | |
virtual IElement * | CreateElement (int z, bool isotopes=true)=0 |
Create a chemical element. | |
virtual IMaterial * | CreateMaterial (const std::string &name, double density, VGM::IElement *element, double radlen, double intlen)=0 |
Create a material. | |
virtual IMaterial * | CreateMaterial (const std::string &name, double density, VGM::IElement *element, double radlen, double intlen, VGM::MaterialState state, double temperature, double pressure)=0 |
Create a compound material. | |
virtual IMaterial * | CreateMaterial (const std::string &name, double density, const VGM::ElementVector &elements, const VGM::MassFractionVector &fractions)=0 |
Create a compound material. | |
virtual IMaterial * | CreateMaterial (const std::string &name, double density, const VGM::ElementVector &elements, const VGM::MassFractionVector &fractions, VGM::MaterialState state, double temperature, double pressure)=0 |
Create a compound material. | |
virtual IMaterial * | CreateMaterial (const std::string &name, double density, const VGM::ElementVector &elements, const VGM::AtomCountVector &atomCounts)=0 |
Create a compound material. | |
virtual IMaterial * | CreateMaterial (const std::string &name, double density, const VGM::ElementVector &elements, const VGM::AtomCountVector &atomCounts, VGM::MaterialState state, double temperature, double pressure)=0 |
Create a compound material. | |
virtual IMedium * | CreateMedium (const std::string &name, int mediumId, VGM::IMaterial *material, int nofParameters, double *parameters)=0 |
Create a tracking medium. | |
virtual std::string | Name () const =0 |
Return the name of this factory. | |
virtual const IsotopeStore & | Isotopes () const =0 |
Return the store of isotopes. | |
virtual const ElementStore & | Elements () const =0 |
Return the store of elements. | |
virtual const MaterialStore & | Materials () const =0 |
Return the store of materials. | |
virtual const MediumStore & | Media () const =0 |
Return the store of media. | |
virtual const IIsotope * | Isotope (const std::string &name) const =0 |
Return isotope specified by name. | |
virtual const IElement * | Element (const std::string &name) const =0 |
Return element specified by name. | |
virtual const IMaterial * | Material (const std::string &name) const =0 |
Return material specified by name. | |
virtual const IMedium * | Medium (const std::string &name) const =0 |
Return medium specified by name. | |
virtual bool | Import ()=0 |
Import native materials. | |
virtual bool | Export (IMaterialFactory *factory) const =0 |
Export materials to the specified material factory. | |
virtual void | PrintIsotopes () const =0 |
Print all isotopes. | |
virtual void | PrintElements () const =0 |
Print all elements. | |
virtual void | PrintMaterials () const =0 |
Print all materials. | |
virtual void | PrintMedia () const =0 |
Print all media. | |
virtual void | SetDebug (int debug)=0 |
Set the debug level. | |
virtual int | Debug () const =0 |
Return the debug level. | |
The VGM interface to material factory providing functions for material conversions.
Definition at line 40 of file IMaterialFactory.h.
|
inlinevirtual |
Definition at line 43 of file IMaterialFactory.h.
|
pure virtual |
Create a chemical isotope.
name | its name (must be unique in the factory) |
z | the atomic number |
n | the number of nucleons |
a | the mass of a mole in g/mole (optional) |
Implemented in Geant4GM::MaterialFactory, and RootGM::MaterialFactory.
|
pure virtual |
Create a chemical element.
name | its name (must be unique in the factory) |
symbol | its symbol |
z | the effective atomic number |
a | the effective mass of a mole in g/mole |
Implemented in Geant4GM::MaterialFactory, and RootGM::MaterialFactory.
|
pure virtual |
Create a chemical element.
name | its name (must be unique in the factory) |
symbol | its symbol |
isotopes | vector of isotopes constituting this element |
relAbundances | vector of relative abundances of isotopes |
Implemented in Geant4GM::MaterialFactory, and RootGM::MaterialFactory.
|
pure virtual |
Create a chemical element.
z | the effective atomic number |
isotopes | if true, build element from isotopes |
Implemented in Geant4GM::MaterialFactory, and RootGM::MaterialFactory.
|
pure virtual |
Create a material.
name | its name (must be unique in the factory) |
density | in g/cm3 |
element | element constituing this material |
radlen | radiation length in mm |
intlen | nuclear interaction length in mm |
Implemented in Geant4GM::MaterialFactory, and RootGM::MaterialFactory.
|
pure virtual |
Create a compound material.
name | its name (must be unique in the factory) |
density | in g/cm3 |
element | element constituing this material |
radlen | radiation length in mm |
intlen | nuclear interaction length in mm |
state | material state |
temperature | temperature in kelvin |
pressure | pressure in atmosphere |
Implemented in Geant4GM::MaterialFactory, and RootGM::MaterialFactory.
|
pure virtual |
Create a compound material.
name | its name (must be unique in the factory) |
density | in g/cm3 |
elements | vector of elements constituing this material |
fractions | vector of mass fractions of elements constituing this material |
Implemented in Geant4GM::MaterialFactory, and RootGM::MaterialFactory.
|
pure virtual |
Create a compound material.
name | its name (must be unique in the factory) |
density | in g/cm3 |
elements | vector of elements constituing this material |
fractions | vector of mass fractions of elements constituing this material |
state | material state |
temperature | temperature in kelvin |
pressure | pressure in atmosphere |
Implemented in Geant4GM::MaterialFactory, and RootGM::MaterialFactory.
|
pure virtual |
Create a compound material.
name | its name (must be unique in the factory) |
density | in g/cm3 |
elements | vector of elements constituing this material |
atomCounts | vector of atom counts of elements constituing this material |
Implemented in Geant4GM::MaterialFactory, and RootGM::MaterialFactory.
|
pure virtual |
Create a compound material.
name | its name (must be unique in the factory) |
density | in g/cm3 |
elements | vector of elements constituing this material |
atomCounts | vector of atom counts of elements constituing this material |
state | material state |
temperature | temperature in kelvin |
pressure | pressure in atmosphere |
Implemented in Geant4GM::MaterialFactory, and RootGM::MaterialFactory.
|
pure virtual |
Create a tracking medium.
name | its name (must be unique in the factory) |
mediumId | its unique identifier |
material | associated material |
nofParameters | number of defined parameters |
parameters | array of parameters |
Implemented in Geant4GM::MaterialFactory, and RootGM::MaterialFactory.
|
pure virtual |
Return the name of this factory.
Implemented in BaseVGM::VMaterialFactory.
|
pure virtual |
Return the store of isotopes.
Implemented in BaseVGM::VMaterialFactory.
|
pure virtual |
Return the store of elements.
Implemented in BaseVGM::VMaterialFactory.
|
pure virtual |
Return the store of materials.
Implemented in BaseVGM::VMaterialFactory.
|
pure virtual |
Return the store of media.
Implemented in BaseVGM::VMaterialFactory.
|
pure virtual |
Return isotope specified by name.
Implemented in BaseVGM::VMaterialFactory.
|
pure virtual |
Return element specified by name.
Implemented in BaseVGM::VMaterialFactory.
|
pure virtual |
Return material specified by name.
Implemented in BaseVGM::VMaterialFactory.
|
pure virtual |
Return medium specified by name.
Implemented in BaseVGM::VMaterialFactory.
|
pure virtual |
Import native materials.
Implemented in Geant4GM::MaterialFactory, and RootGM::MaterialFactory.
|
pure virtual |
Export materials to the specified material factory.
Implemented in BaseVGM::VMaterialFactory.
|
pure virtual |
Print all isotopes.
Implemented in BaseVGM::VMaterialFactory.
|
pure virtual |
Print all elements.
Implemented in BaseVGM::VMaterialFactory.
|
pure virtual |
Print all materials.
Implemented in BaseVGM::VMaterialFactory.
|
pure virtual |
Print all media.
Implemented in BaseVGM::VMaterialFactory.
|
pure virtual |
Set the debug level.
Implemented in BaseVGM::VMaterialFactory.
|
pure virtual |
Return the debug level.
Implemented in BaseVGM::VMaterialFactory.