37 F04Materials::F04Materials()
76 if (!mat) {
G4cout << material <<
"Not Found, Please Retry"<<
G4endl;}
83 void F04Materials::CreateMaterials()
86 std::vector<G4int> natoms;
87 std::vector<G4double> fractionMass;
88 std::vector<G4String> elements;
107 elements.push_back(
"C"); natoms.push_back(9);
108 elements.push_back(
"H"); natoms.push_back(10);
110 density = 1.032*
g/
cm3;;
113 ConstructNewMaterial(
"Scintillator", elements, natoms, density);
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
Definition of the F04Materials class.
static G4Material * GetMaterial(const G4String &name, G4bool warning=true)
static G4MaterialTable * GetMaterialTable()
G4Material * GetMaterial(G4String)
static G4NistManager * Instance()
G4GLOB_DLL std::ostream G4cout
static constexpr double cm3
static F04Materials * GetInstance()