-
Notifications
You must be signed in to change notification settings - Fork 0
Geant4 @ houston
Instructions: http://geant4.in2p3.fr/2013/resources/L3-Linux.pdf
How to run example: http://geant4.web.cern.ch/geant4/UserDocumentation/Doxygen/examples_doc/html/README_HowToRun.html
Implementing Hits and HitCollections [slides]:
http://www-geant4.kek.jp/g4users/g4tut07/docs/SensitiveDetector.pdf
physics lists: http://geant4.slac.stanford.edu/SLACTutorial14/Physics1.pdf
Example P01: integrating ROOT: http://geant4.web.cern.ch/geant4/UserDocumentation/Doxygen/examples_doc/html/ExampleP01.html
Example TestEM0: http://geant4.web.cern.ch/geant4/UserDocumentation/Doxygen/examples_doc/html/ExampleTestEm0.html
@ Nevis:
bash
module load geant4
module load root/06.04.00
cd /a/home/houston/dcaratelli/GEANT4/B1/build/
To build (from build directory):
cmake -DGeant4_DIR=$G4DIR ../
make –j2
./exampleB1 runDC.mac
G4 Testing / Validation:
http://geant4.cern.ch/collaboration/working_groups/electromagnetic/tests.shtml
in .mac add:
/tracking/storeTrajectory 1
Then implement how to access track info from the bottom of this page: http://geant4.slac.stanford.edu/Tips/event/3.html
G4Trajectory class reference here: http://www.apc.univ-paris7.fr/~franco/g4doxy/html/classG4Trajectory.html
Important! return of GetTrajectoryContainer is G4VTrajectory which does not have much info, unlike G4Trajectory, which inherits from G4VTrajectory, and contains process information.