Geant4 Cross Reference |
1 ---------------------------------------------- 2 3 ========================================= 4 Geant4 - an Object-Oriented Toolkit for S 5 ========================================= 6 7 ExUCN 8 ----- 9 Peter Gumplinger 10 TRIUMF, Vancouver, Canada 11 12 This example exhibits the functionality of UCN 13 14 15 1- GEOMETRY DEFINITION 16 17 The geometry consists of a single hollow 18 placed in a world. 19 20 Default World Size: G4Box - 1m x 1m x 100 21 22 The pipe wall is made of G4_Ni while the 23 the inside of the pipe is made from G4_Ga 24 25 The G4UCNMaterialPropertiesTable properti 26 27 "REFLECTIVITY" = 1 28 "DIFFUSION" = 0.1 29 "FERMIPOT" = 252.0 neV 30 "SPINFLIP"= 0. 31 "LOSS" = 12.5e-5 32 "LOSSCS" = 0. 33 "ABSCS"= 4.49 // 1/v loss cross-sectio 34 "SCATCS" = 18.5 // (incoherent) "elastic 35 36 The MicroRoughnessParameters are: 37 38 Roughness correlation length w = 30nm 39 Surface roughness b = 1nm 40 # of angles theta_i in the look-up tables 41 # of energie bins in the look-up tables: 42 min. and max. values of theta_i: 0*degree 43 min. and max values of Energy: 1neV and 1 44 # of angles theta_o in the look-up table 45 # of angels phi_o in the look-up table 46 angular cut: 0.01*degree 47 48 The default step limits in the vacuum is 49 50 The simulation is in a G4UniformGravityFi 51 52 2- PHYSICS LIST 53 54 The ExUCNPhysicsList defines only G4Neutro 55 G4AntiNeutrinoE, G4MuonPlus, G4MuonMinus a 56 57 Through ExUCNExtraPhysics the following pr 58 59 G4StepLimiter 60 G4UserSpecialCuts 61 62 and in ConstructUCN() 63 64 G4UCNLoss 65 G4UCNAbsorption 66 G4UCNMultiScattering 67 68 3- AN EVENT : THE PRIMARY GENERATOR 69 70 The primary kinematic consists of a singl 71 uniform between 1neV and 100neV, from the 72 into 4pi solid angle. 73 74 A RUN is a set of events. 75 76 77 4- VISUALIZATION 78 79 The Visualization Manager is set in the m 80 The initialisation of the drawing is done 81 /control/execute vis.mac 82 83 5- HOW TO START ? 84 85 This example handles the program arguments 86 It can be run with the following optional a 87 % ExUCN [-m macro ] [-u UIsession] [-t nThr 88 89 The -t option is available only in multi-th 90 and it allows the user to override the Gean 91 threads. The number of threads can be also 92 environment variable which has the top prio 93 94 - execute ExUCN in 'batch' mode from m 95 % ExUCN -m ExUCN.in > ExUCN.ou 96 97 - execute ExUCN in 'interactive' mode 98 % ExUCN 99 .... 100 Idle> type your commands, for 101 Idle> run/beamOn 1 102 .... 103 104 6- HISTOGRAMS 105 106 - no histograms for now