LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
pyParticleGun Namespace Reference

Functions

G4ParticleGun * Construct ()
 

Function Documentation

G4ParticleGun* pyParticleGun::Construct ( )

Definition at line 49 of file pyParticleGun.cc.

Referenced by BOOST_PYTHON_MODULE().

50 {
51  G4RunManager* runMgr= G4RunManager::GetRunManager();
52 
54  runMgr-> SetUserAction(pga);
55 
56  return pga-> GetParticleGun();
57 }