28 #ifndef G4NistMaterialBuilder_h
29 #define G4NistMaterialBuilder_h 1
86 const std::vector<G4String>& elm,
87 const std::vector<G4int>& nbAtoms,
91 G4double temp = CLHEP::STP_Temperature,
92 G4double pressure = CLHEP::STP_Pressure);
97 const std::vector<G4String>& elm,
98 const std::vector<G4double>&
weight,
102 G4double temp = CLHEP::STP_Temperature,
103 G4double pressure = CLHEP::STP_Pressure);
116 const std::vector<G4String>& elm,
117 const std::vector<G4int>& nbAtoms,
119 G4double temp = CLHEP::STP_Temperature,
120 G4double pressure = CLHEP::STP_Pressure);
154 void NistSimpleMaterials();
155 void NistCompoundMaterials();
156 void HepAndNuclearMaterials();
157 void SpaceMaterials();
158 void BioChemicalMaterials();
179 void DumpElm(
G4int)
const;
180 void DumpMix(
G4int)
const;
195 std::vector<G4String> names;
196 std::vector<G4String> chFormulas;
198 std::vector<G4double> densities;
199 std::vector<G4double> ionPotentials;
200 std::vector<G4State> states;
201 std::vector<G4double> fractions;
202 std::vector<G4bool> atomCount;
203 std::vector<G4int> components;
204 std::vector<G4int> indexes;
205 std::vector<G4int> elements;
206 std::vector<G4int> matIndex;
207 std::vector<G4bool> STP;
209 std::vector<G4int> idxGas;
210 std::vector<G4double> gasTemperature;
211 std::vector<G4double> gasPressure;
217 inline const std::vector<G4String>&
227 if(index >= 0 && index < nMaterials) { res = ionPotentials[
index]; }
G4double GetMeanIonisationEnergy(G4int index) const
G4Material * ConstructNewMaterial(const G4String &name, const std::vector< G4String > &elm, const std::vector< G4int > &nbAtoms, G4double dens, G4bool isotopes=true, G4State state=kStateSolid, G4double temp=CLHEP::STP_Temperature, G4double pressure=CLHEP::STP_Pressure)
void ListBioChemicalMaterials() const
void ListMaterials(const G4String &) const
void ListHepMaterials() const
G4Material * ConstructNewGasMaterial(const G4String &name, const G4String &nameDB, G4double temp, G4double pres, G4bool isotopes=true)
G4NistMaterialBuilder(G4NistElementBuilder *, G4int verb=0)
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=true)
void ListNistCompoundMaterials() const
void ListNistSimpleMaterials() const
void SetVerbose(G4int val)
void ListSpaceMaterials() const
G4Material * ConstructNewIdealGasMaterial(const G4String &name, const std::vector< G4String > &elm, const std::vector< G4int > &nbAtoms, G4bool isotopes=true, G4double temp=CLHEP::STP_Temperature, G4double pressure=CLHEP::STP_Pressure)
const std::vector< G4String > & GetMaterialNames() const