Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-10 07:50:31

0001 #pragma once
0002 /**
0003 U4NistManager.h
0004 ================
0005 
0006 Find names::
0007 
0008     g4-;g4-cc FindOrBuildMaterial
0009     g4-cls G4NistMaterialBuilder
0010 
0011 
0012 
0013 **/
0014 #include "G4NistManager.hh"
0015 
0016 struct U4NistManager
0017 {
0018     static G4Material* GetMaterial(const char* name) ; 
0019 };
0020 
0021 inline G4Material* U4NistManager::GetMaterial(const char* name)
0022 {
0023     G4NistManager* nist = G4NistManager::Instance();
0024     G4Material* material  = nist->FindOrBuildMaterial(name);
0025     return material ; 
0026 }
0027