Introduction to GEANT4
From UCL HEP PBT Wiki
Line 450: | Line 450: | ||
[http://geant4.web.cern.ch/geant4/UserDocumentation/Doxygen/examples_doc/html/group__extended__common__primaryGenerator.html Here] you can find how to implement MyPrimaryGeneratorAction class in your code. | [http://geant4.web.cern.ch/geant4/UserDocumentation/Doxygen/examples_doc/html/group__extended__common__primaryGenerator.html Here] you can find how to implement MyPrimaryGeneratorAction class in your code. | ||
- | The Monoenergetic photon pencil beam example uses the '''G4ParticleGun''' class. The Proton beam with realistic geometry tutorial uses '''G4GeneralParticleSource'''. | + | The [[Monoenergetic photon pencil beam]] example uses the '''G4ParticleGun''' class. The [[Proton beam with realistic geometry]] tutorial uses '''G4GeneralParticleSource'''. |
== <span style="color:#000080"> Optional user classes </span> == | == <span style="color:#000080"> Optional user classes </span> == |