Introduction to GEANT4
From UCL HEP PBT Wiki
m |
m |
||
Line 133: | Line 133: | ||
<span style="color:#800000"> H2O->AddElement(O, natoms=1); ...} </span> | <span style="color:#800000"> H2O->AddElement(O, natoms=1); ...} </span> | ||
+ | |||
+ | |||
+ | [http://geant4.web.cern.ch/geant4/UserDocumentation/Doxygen/examples_doc/html/group__extended__common__detectorConstruction.html Here] you can find more examples of DetectorConstruction classes. | ||
Line 448: | Line 451: | ||
- | + | [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 defined above in your code. | |
+ | |||
- | + | == <span style="color:#000080"> Optional user classes </span> == | |
- | + | [http://geant4.web.cern.ch/geant4/UserDocumentation/Doxygen/examples_doc/html/group__extended__common__userActions.html Here] you can find an example of user defined RunAction and EventAction classes. |