LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
pyParticleGun Namespace Reference

Functions

G4ParticleGun * Construct ()
 

Function Documentation

G4ParticleGun* pyParticleGun::Construct ( )

Definition at line 48 of file pyParticleGun.cc.

Referenced by BOOST_PYTHON_MODULE().

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