Warning, /g4exampledetector/template/README.md is written in an unsupported language. File is not indexed.
0001 #template
0002
0003 run create_me.sh in source to create all files needed. This will create a
0004 Fun4All Geant4 detector MyDetector and gives instructions how to build it
0005 and add the installation to the environment. Three classes are created:
0006
0007 \<detector\>Subsystem
0008
0009 \<detector\>Detector
0010
0011 \<detector\>SteppingAction
0012
0013 The example detector is a G4Box which can be replaced by anything you implement.
0014
0015 In macros, the Fun4All_G4_MyDetector.C macro will run the just created module
0016 for 10000 geantinos. The hits are stored in an ntuple which then are plotted
0017 If you use this for your own detector use
0018
0019 CreateG4Subsystem.pl <your detector name>
0020
0021 options are:
0022
0023 --all : Also create autogen.sh, configure.ac and Makefile.am
0024
0025 --overwrite : overwrite existing files (handle with care, we only have snapshots on our $HOME disk)
0026