Introduction to GEANT4

From UCL HEP PBT Wiki

Jump to: navigation, search
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:
-
== <span style="color:#000080"> Optional user classes </span> ==
+
[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"> RunAction class </span> ===
+
== <span style="color:#000080"> Optional user classes </span> ==
-
=== <span style="color:#000080"> EventAction class </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.

Revision as of 13:12, 8 July 2014

Personal tools