// $Id: g4Config.C,v 1.0 2007/06/01 Exp $ // // Configuration macro for Geant4 VirtualMC for PamG4VMC // for geometry defined with Root and selected Geant4 native navigation void Config() { gSystem->Load("libG4phys_builders"); gSystem->Load("libG4phys_lists"); TString PAM_VMC=gSystem->Getenv("PAM_VMC"); TString PLAT=gSystem->Getenv("PLATFORM"); gSystem->Load(PAM_VMC+"/lib/tgt_"+PLAT+"/libPamG4RunConfiguration"); cout<ProcessGeantMacro(PAM_VMC+"/config/g4config.in"); }