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1 ] [ 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 ]

Diff markup

Differences between /examples/advanced/gorad/README (Version 11.3.0) and /examples/advanced/gorad/README (Version 10.6.p3)


  1                                                   
  2      =========================================    
  3      GORAD - Geant4 Open-source Radiation Anal    
  4      =========================================    
  5                                                   
  6 First release : September 2020 with Geant4 ver    
  7 Author : Makoto Asai (SLAC National Accelerato    
  8                                                   
  9 Introduction                                      
 10 ------------                                      
 11                                                   
 12 Gorad (Geant4 Open-sourced Radiation Analysis     
 13 a turn-key application for radiation analysis     
 14 on top of Geant4. Simulation geometry should b    
 15 Gorad is controlled by UI commands, and it wor    
 16 with Qt window and in batch mode with an input    
 17                                                   
 18 The current Gorad requires Geant4 version 10.7    
 19 It does not work with earlier version of Geant    
 20 with multithreading mode and GDML interface en    
 21 for the use of Gorad in interactive mode. Gean    
 22 Xerces-C++ version 3 or higher. Xerces-C++ has    
 23 compiler Geant4 is compiled. Please refer to t    
 24 for enabling these options.                       
 25                                                   
 26 Building and running Gorad                        
 27 --------------------------                        
 28                                                   
 29 To compile and run Gorad, all the Geant4 envir    
 30 properly set. Use the shell script in the Gean    
 31 Compilation of Gorad requires cmake and make s    
 32 Geant4 itself.                                    
 33                                                   
 34   $ source $G4INSTALL/bin/geant4.(c)sh            
 35   $ cmake .                                       
 36   $ make                                          
 37                                                   
 38 To run Gorad in interactive mode,                 
 39                                                   
 40   $ ./gorad                                       
 41                                                   
 42 and then, in the keyboard input field, type       
 43                                                   
 44   /control/execute <macroFile>                    
 45                                                   
 46 The user may also use any UI commands shown in    
 47 Qt window.                                        
 48                                                   
 49 To run Gorad in batch mode,                       
 50                                                   
 51   $ ./gorad <macroFIle>                           
 52                                                   
 53 A sample macro file                               
 54 -------------------                               
 55                                                   
 56 Associated macro file "run.mac" can be used fo    
 57 and batch mode. It uses a simple cone-shaped g    
 58 and King Solar Proton Fluence model (https://d    
 59 It employs both primary particle generation bi    
 60 importance biasing. This sample macro file def    
 61 water located at the center of the world volum    
 62 scorers.                                          
 63                                                   
 64 If this sample macro file is used in interacti    
 65 visualization (through vis.mac). After executi    
 66 user can start an event loop with /run/beamOn     
 67                                                   
 68 If this sample macro file is used in batch mod    
 69 After the event loop, These histograms are dum    
 70 and also plotted to a Postscript file. Scores     
 71 are also dumped into an output file. In batch     
 72 one million events.                               
 73                                                   
 74 Gorad manual and additional GDML file             
 75 -------------------------------------             
 76                                                   
 77 Details of the sample macro file and available    
 78 described in the full manual downloadable from    
 79 additional sample GDML file of partial and sim    
 80 is available at the following URL. This is a s    
 81 mandatory to execute Gorad.                       
 82                                                   
 83  https://twiki.cern.ch/twiki/bin/view/Geant4/A    
 84                                                   
 85 Known warning messages while processing a GDML    
 86 ----------------------------------------------    
 87                                                   
 88 If the input GDML file uses some material name    
 89 these names are unrecognizable by the GDML per    
 90 warning messages. For example                     
 91                                                   
 92 G4GDML: VALIDATION ERROR! ID attribute 'G4_AIR    
 93         never declared at line: XX                
 94                                                   
 95 These messages are harmless and these material    
 96 once they are set to G4LogicalVolume.             
 97                                                   
 98 Acknowledgements                                  
 99 ----------------                                  
100                                                   
101 Development of Gorad is funded by NASA Johnson    
102 the contract NNJ15HK11B.                          
103                                                   
104                                                   
105                                                   
106