Warning, /geant4/examples/extended/exoticphysics/ucn/README is written in an unsupported language. File is not indexed.
0001 -------------------------------------------------------------------
0002
0003 =========================================================
0004 Geant4 - an Object-Oriented Toolkit for Simulation in HEP
0005 =========================================================
0006
0007 ExUCN
0008 -----
0009 Peter Gumplinger
0010 TRIUMF, Vancouver, Canada
0011
0012 This example exhibits the functionality of UCN physics
0013
0014
0015 1- GEOMETRY DEFINITION
0016
0017 The geometry consists of a single hollow pipe (cylinder)
0018 placed in a world.
0019
0020 Default World Size: G4Box - 1m x 1m x 100m
0021
0022 The pipe wall is made of G4_Ni while the world and, hence,
0023 the inside of the pipe is made from G4_Galactic
0024
0025 The G4UCNMaterialPropertiesTable properties are:
0026
0027 "REFLECTIVITY" = 1
0028 "DIFFUSION" = 0.1
0029 "FERMIPOT" = 252.0 neV
0030 "SPINFLIP"= 0.
0031 "LOSS" = 12.5e-5
0032 "LOSSCS" = 0.
0033 "ABSCS"= 4.49 // 1/v loss cross-section at room temp.
0034 "SCATCS" = 18.5 // (incoherent) "elastic" scattering cross-section
0035
0036 The MicroRoughnessParameters are:
0037
0038 Roughness correlation length w = 30nm
0039 Surface roughness b = 1nm
0040 # of angles theta_i in the look-up tables: 180
0041 # of energie bins in the look-up tables: 1000
0042 min. and max. values of theta_i: 0*degree and 90*degree
0043 min. and max values of Energy: 1neV and 1000neV
0044 # of angles theta_o in the look-up table calculation: 15
0045 # of angels phi_o in the look-up table calculation: 15
0046 angular cut: 0.01*degree
0047
0048 The default step limits in the vacuum is 1mm and maxTime is 100s
0049
0050 The simulation is in a G4UniformGravityField
0051
0052 2- PHYSICS LIST
0053
0054 The ExUCNPhysicsList defines only G4Neutron, G4Proton, G4Electron,
0055 G4AntiNeutrinoE, G4MuonPlus, G4MuonMinus and G4GenericIon
0056
0057 Through ExUCNExtraPhysics the following processes are instantiated:
0058
0059 G4StepLimiter
0060 G4UserSpecialCuts
0061
0062 and in ConstructUCN()
0063
0064 G4UCNLoss
0065 G4UCNAbsorption
0066 G4UCNMultiScattering
0067
0068 3- AN EVENT : THE PRIMARY GENERATOR
0069
0070 The primary kinematic consists of a single ultra-cold neutron,
0071 uniform between 1neV and 100neV, from the origin and uniform
0072 into 4pi solid angle.
0073
0074 A RUN is a set of events.
0075
0076
0077 4- VISUALIZATION
0078
0079 The Visualization Manager is set in the main() for interactive session.
0080 The initialisation of the drawing is done via the command
0081 /control/execute vis.mac
0082
0083 5- HOW TO START ?
0084
0085 This example handles the program arguments in a new way.
0086 It can be run with the following optional arguments:
0087 % ExUCN [-m macro ] [-u UIsession] [-t nThreads]
0088
0089 The -t option is available only in multi-threading mode
0090 and it allows the user to override the Geant4 default number of
0091 threads. The number of threads can be also set via G4FORCENUMBEROFTHREADS
0092 environment variable which has the top priority.
0093
0094 - execute ExUCN in 'batch' mode from macro files e.g.
0095 % ExUCN -m ExUCN.in > ExUCN.out &
0096
0097 - execute ExUCN in 'interactive' mode with visualization e.g.
0098 % ExUCN
0099 ....
0100 Idle> type your commands, for example:
0101 Idle> run/beamOn 1
0102 ....
0103
0104 6- HISTOGRAMS
0105
0106 - no histograms for now