37
if(getenv( "MICEFILES" ) == NULL) throw(Squeal(Squeal::recoverable, "Error - MICEFILES environment variable was not defined", "MiceMaterials::MiceMaterials"));
38
if(getenv( "COMPILER" ) == NULL) throw(Squeal(Squeal::recoverable, "Error - COMPILER environment variable was not defined", "MiceMaterials::MiceMaterials"));
39
if(getenv( "G4VERS" ) == NULL) throw(Squeal(Squeal::recoverable, "Error - G4VERS environment variable was not defined", "MiceMaterials::MiceMaterials"));
37
if(getenv( "MICEFILES" ) == NULL) throw(MAUS::Exception(MAUS::Exception::recoverable, "Error - MICEFILES environment variable was not defined", "MiceMaterials::MiceMaterials"));
38
if(getenv( "COMPILER" ) == NULL) throw(MAUS::Exception(MAUS::Exception::recoverable, "Error - COMPILER environment variable was not defined", "MiceMaterials::MiceMaterials"));
39
if(getenv( "G4VERS" ) == NULL) throw(MAUS::Exception(MAUS::Exception::recoverable, "Error - G4VERS environment variable was not defined", "MiceMaterials::MiceMaterials"));
40
40
std::string fname = std::string( getenv( "MICEFILES" ) ) + "/Models/Materials/micematerials_"
41
41
+ std::string( getenv( "COMPILER" ) ) + "_"
42
42
+ std::string( getenv( "G4VERS" ) ) + ".txt";