Warning, /geant4/examples/extended/hadronic/Hadr00/README.md is written in an unsupported language. File is not indexed.
0001 \page ExampleHadr00 Example Hadr00
0002
0003 \author V.Ivanchenko \n
0004 CERN, Geneva, Switzerland
0005
0006 This example demonstrates a usage of G4PhysListFactory to build
0007 Physics List and G4HadronicProcessStore to access cross sections.
0008
0009 ## GEOMETRY
0010
0011 The Target volume is a cylinder placed inside the World volume. Following
0012 UI commands are available to modify the geometry:
0013
0014 ```
0015 /testhadr/TargetMat G4_Pb
0016 /testhadr/WorldMat G4_AIR
0017 /testhadr/TargetRadius 10 mm
0018 /testhadr/TargetLength 20 cm
0019 ```
0020
0021 By default beam direction coincides with the target axis and is Z axis
0022 in the global coordinate system. The beam starts in the middle of the target.
0023 G4ParticleGun is used as a primary generator. The energy and the type of
0024 the beam can be defined via standard UI commands
0025
0026 ```
0027 /gun/energy 15 GeV
0028 /gun/particle proton
0029 ```
0030
0031 ## PHYSICS
0032
0033 Physics List is defined by its name given in the 3d argument of the of the
0034 run command.
0035
0036 ```
0037 ./Hadr00 my.macro QGSP_BERT
0038 ```
0039
0040 If 3d argument is not set then by the PHYSLIST environment variable.
0041 By default FTFP_BERT Physics List will be instantiated.
0042
0043 ## CROSS SECTION
0044
0045 At the end of any run the set of cross sections is built and can be printed
0046 out for a given projectile particle and a target element, which can be
0047 defined via UI commands:
0048
0049 ```
0050 /testhadr/particle pi+
0051 /testhadr/targetElm Pb
0052 /testhadr/verbose 1
0053 ```
0054
0055 The level verbosity above zero provides printout of the cross section table.
0056 The energy/momentum limits and number of bins can be set via UI commands:
0057
0058 ```
0059 /testhadr/nBinsE 900
0060 /testhadr/nBinsP 700
0061 /testhadr/minEnergy 1 keV
0062 /testhadr/maxEnergy 1 TeV
0063 /testhadr/minMomentum 1 MeV
0064 /testhadr/maxMOmentum 10 TeV
0065 ```
0066
0067 ## VISUALIZATION
0068
0069 The vis.mac file can be used as an example of visualization.
0070
0071 ## HISTOGRAMS
0072
0073 All histograms are provided in decimal logarithmic scale (log10(E/MeV)
0074 and log10(p/GeV)) for one projectile particle and one target element.
0075 The element is taken from the Geant4 NIST database, natural isotope
0076 composition is assumed.
0077
0078 Only ROOT histograms are available.
0079