File indexing completed on 2026-04-10 07:50:27
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020 #include "U4NistManager.h"
0021
0022 int main(int argc, char** argv)
0023 {
0024 const char* name = argc > 1 ? argv[1] : "G4_WATER" ;
0025 std::cout << ( name ? name : "-" ) << std::endl ;
0026
0027 G4Material* mat = U4NistManager::GetMaterial(name) ;
0028 if(!mat) return 1 ;
0029
0030 G4cout << *mat ;
0031
0032 G4MaterialPropertiesTable* mpt = mat->GetMaterialPropertiesTable() ;
0033
0034 std::cout << " mpt " << ( mpt ? "YES" : "NO " ) << std::endl ;
0035
0036
0037 return 0 ;
0038 }