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10.5.p1 ] [ 10.6 ] [ 10.6.p1 ] [ 10.6.p2 ] [ 10.6.p3 ] [ 10.7 ] [ 10.7.p1 ] [ 10.7.p2 ] [ 10.7.p3 ] [ 10.7.p4 ] [ 11.0 ] [ 11.0.p1 ] [ 11.0.p2 ] [ 11.0.p3, ] [ 11.0.p4 ] [ 11.1 ] [ 11.1.1 ] [ 11.1.2 ] [ 11.1.3 ] [ 11.2 ] [ 11.2.1 ] [ 11.2.2 ] [ 11.3.0 ]

Name Size       Last modified (GMT) Description
Back Parent directory       2024-12-05 15:16:16
Folder include/       2024-12-05 15:16:16
Folder src/       2024-12-05 15:16:16
File CMakeLists.txt 2073 bytes       2024-12-05 15:16:16
File CTestDefinitions.txt 472 bytes       2024-12-05 15:16:16
C++ file ExUCN.cc 5279 bytes       2024-12-05 15:16:16
File ExUCN.in 170 bytes       2024-12-05 15:16:16
File ExUCN.out 53796 bytes       2024-12-05 15:16:16
File GNUmakefile 464 bytes       2024-12-05 15:16:16
File History 2490 bytes       2024-12-05 15:16:16
File README 3297 bytes       2024-12-05 15:16:16
File gui.mac 1630 bytes       2024-12-05 15:16:16
File vis.mac 1723 bytes       2024-12-05 15:16:16

  1 -------------------------------------------------------------------
  2 
  3      =========================================================
  4      Geant4 - an Object-Oriented Toolkit for Simulation in HEP
  5      =========================================================
  6 
  7                             ExUCN
  8                             -----
  9                        Peter Gumplinger
 10                   TRIUMF, Vancouver, Canada
 11 
 12 This example exhibits the functionality of UCN physics
 13 
 14 
 15  1- GEOMETRY DEFINITION
 16 
 17      The geometry consists of a single hollow pipe (cylinder)
 18      placed in a world.
 19 
 20      Default World Size: G4Box - 1m x 1m x 100m
 21 
 22      The pipe wall is made of G4_Ni while the world and, hence,
 23      the inside of the pipe is made from G4_Galactic
 24 
 25      The G4UCNMaterialPropertiesTable properties are:
 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-section  at room temp.
 34      "SCATCS" = 18.5  // (incoherent) "elastic" scattering cross-section
 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: 180
 41      # of energie bins in the look-up tables: 1000
 42      min. and max. values of theta_i: 0*degree and 90*degree
 43      min. and max values of Energy: 1neV and 1000neV
 44      # of angles theta_o in the look-up table calculation: 15
 45      # of angels phi_o   in the look-up table calculation: 15
 46      angular cut: 0.01*degree
 47 
 48      The default step limits in the vacuum is 1mm and maxTime is 100s
 49 
 50      The simulation is in a G4UniformGravityField
 51 
 52  2- PHYSICS LIST
 53 
 54     The ExUCNPhysicsList defines only G4Neutron, G4Proton, G4Electron,
 55     G4AntiNeutrinoE, G4MuonPlus, G4MuonMinus and G4GenericIon
 56 
 57     Through ExUCNExtraPhysics the following processes are instantiated:
 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 single ultra-cold neutron,
 71      uniform between 1neV and 100neV, from the origin and uniform
 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 main() for interactive session.
 80      The initialisation of the drawing is done via the command
 81        /control/execute vis.mac
 82 
 83  5- HOW TO START ?
 84 
 85    This example handles the program arguments in a new way.
 86    It can be run with the following optional arguments:
 87    % ExUCN [-m macro ] [-u UIsession] [-t nThreads]
 88 
 89    The -t option is available only in multi-threading mode
 90    and it allows the user to override the Geant4 default number of
 91    threads. The number of threads can be also set via G4FORCENUMBEROFTHREADS
 92    environment variable which has the top priority.
 93 
 94         - execute ExUCN in 'batch' mode from macro files e.g.
 95                 % ExUCN -m ExUCN.in > ExUCN.out &
 96 
 97         - execute ExUCN in 'interactive' mode with visualization e.g.
 98                 % ExUCN
 99                 ....
100                 Idle> type your commands, for example:
101                 Idle> run/beamOn 1
102                 ....
103 
104  6- HISTOGRAMS
105 
106     - no histograms for now