Warning, /DD4hep/DDG4/examples/README.txt is written in an unsupported language. File is not indexed.
0001 DDG4 setup
0002 ----------
0003 Please note:
0004 examples, which are regularly checked and should work
0005 are
0006 -- CLICSidAClick.C
0007 -- CLIDSidXML.C
0008 -- CLICSidSimu.py
0009
0010 Other AClick and python files are for temporary tests and are not supposed
0011 to work 'out of the box'.
0012
0013
0014 Starting Geant4 CLICSiD example as ROOT AClick
0015 ----------------------------------------------
0016 - First adapt the initAClick script to fit your include/library pathes
0017 - load the script in root: .x initAClick.C
0018 - Then start the configuration in compiled mode in ROOT
0019 .L CLICSidAClick.C+
0020 - See also instructions in CLICSidAClick.C
0021
0022 Other AClick files are for temporary tests and are not supposed
0023 to work under all circumstances.
0024
0025 Once you get the Geant4 interactive prompt, enter:
0026 /run/beamOn 1
0027 1 = number of events to be simulated.
0028
0029
0030 Starting Geant4 CLICSiD example from XML
0031 ----------------------------------------
0032 - First adapt the initAClick script to fit your include/library pathes
0033 - load the script in root: .x initAClick.C
0034 - Then start the configuration in compiled mode in ROOT
0035 .L CLICSidXML.C+
0036 - See also instructions in CLICSidXML.C
0037
0038 Once you get the Geant4 interactive prompt, enter:
0039 /run/beamOn 1
0040 1 = number of events to be simulated.
0041
0042 If you do not want to run from the ROOT prompt, you could
0043 also compile and link this script to a standalone main program.
0044
0045
0046 Starting Geant4 CLICSiD example from python
0047 --------------------------------------------
0048 $> python <installation-directory>/examples/DDG4/examples/CLICSidSimu.py
0049
0050 Once you get the Geant4 interactive prompt, enter:
0051 /run/beamOn 1
0052 1 = number of events to be simulated.