A-150 plastic in DetectorConstruction

Hi all,

I need to include a component made of A-150 plastic (in the list here: G4 materials) in my detector.

I tried plugging G4_A-150_TISSUE into my DetectorContruction.cc code but compiler says “NO”!. Do I need to construct it element-by-element?



All of the “premade” materials listed in the Developer’s Guide are accessed through the “NIST Materials Manager”, G4NistManager:

G4NistManager* nist = G4NistManager::Instance();
G4Material* a150 = nist->FindOrBuildMaterial("G4_A-150_TISSUE");

Cheers Mike. On the ball again.