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

Diff markup

Differences between /examples/extended/visualization/movies/visTutor/exN03Vis12.mac (Version 11.3.0) and /examples/extended/visualization/movies/visTutor/exN03Vis12.mac (Version 5.1.p1)


  1 ##############################################    
  2 #  MACRO FILE NAME: exN03Vis12.mac                
  3 #                                                 
  4 #  AUTHOR(S): John Allison                        
  5 #                                                 
  6 #  DATE: 16th August 2006                         
  7 #                                                 
  8 #  CONTENTS: A basic macro for demonstrating t    
  9 #                                                 
 10 #  USAGE:                                         
 11 #     cp -pr <install-dir>/geant4/examples/bas    
 12 #     <place-of-binary>/exampleB4a -m visTutor    
 13 #                                                 
 14 #  REQUIRED PLATFORMS & SOFTWARES: Mac/Unix wi    
 15 #                                                 
 16 ##############################################    
 17                                                   
 18 /control/verbose 2                                
 19 /vis/verbose confirmations                        
 20 /run/initialize                                   
 21                                                   
 22 /vis/open OGL 600x600-0+0                         
 23 /vis/drawVolume                                   
 24                                                   
 25 # Disable auto refresh and quieten vis message    
 26 # trajectories are established:                   
 27 /vis/viewer/set/autoRefresh false                 
 28 /vis/verbose errors                               
 29                                                   
 30 /vis/viewer/set/viewpointThetaPhi 90. 180.        
 31 /vis/scene/add/eventID                            
 32 /vis/scene/add/trajectories rich                  
 33                                                   
 34 # Set up drawByCharge with time slicing           
 35 /vis/modeling/trajectories/create/drawByCharge    
 36 /vis/modeling/trajectories/TimeSliceByCharge/d    
 37 /vis/modeling/trajectories/TimeSliceByCharge/d    
 38 /vis/modeling/trajectories/TimeSliceByCharge/d    
 39 /vis/modeling/trajectories/TimeSliceByCharge/d    
 40 /vis/modeling/trajectories/TimeSliceByCharge/d    
 41 /vis/modeling/trajectories/list                   
 42 #//globalField/setValue 5 0 0 tesla               
 43 #/vis/scene/add/trajectories rich smooth          
 44                                                   
 45 # Re-establish auto refreshing and verbosity:     
 46 /vis/viewer/set/autoRefresh true                  
 47 /vis/verbose warnings                             
 48                                                   
 49 # Draw event                                      
 50 /gun/particle e-                                  
 51 /gun/energy 50 MeV                                
 52 /run/beamOn                                       
 53                                                   
 54 # Configure OpenGL for display-by-time            
 55 /vis/viewer/set/timeWindow/fadeFactor 1           
 56 /vis/viewer/set/timeWindow/displayHeadTime tru    
 57 /control/alias timeRange 0.1                      
 58                                                   
 59 # Display time slices                             
 60 /vis/verbose warnings                             
 61 /control/verbose 0                                
 62 /control/loop visTutor/exN03Vis12.loop startTi    
 63 /control/shell sleep 5                            
 64 /control/verbose 2                                
 65 /vis/verbose confirmations                        
 66                                                   
 67 # Another event                                   
 68 /run/beamOn                                       
 69                                                   
 70 # Display time slices                             
 71 /vis/verbose warnings                             
 72 /control/verbose 0                                
 73 /control/loop visTutor/exN03Vis12.loop startTi    
 74 /control/shell sleep 5                            
 75 /control/verbose 2                                
 76 /vis/verbose confirmations                        
 77                                                   
 78 # Disable auto refresh and quieten vis message    
 79 # trajectories are established:                   
 80 /vis/viewer/set/autoRefresh false                 
 81 /vis/verbose errors                               
 82                                                   
 83 # Set up drawByParticleID with time slicing       
 84 /vis/modeling/trajectories/create/drawByPartic    
 85 /vis/modeling/trajectories/TimeSliceByParticle    
 86 /vis/modeling/trajectories/TimeSliceByParticle    
 87 /vis/modeling/trajectories/TimeSliceByParticle    
 88 /vis/modeling/trajectories/TimeSliceByParticle    
 89 #/vis/modeling/trajectories/TimeSliceByParticl    
 90 /vis/modeling/trajectories/TimeSliceByParticle    
 91 #/vis/modeling/trajectories/TimeSliceByParticl    
 92 /vis/modeling/trajectories/TimeSliceByParticle    
 93 /vis/modeling/trajectories/TimeSliceByParticle    
 94 /vis/modeling/trajectories/list                   
 95                                                   
 96 # Remove gammas                                   
 97 /vis/filtering/trajectories/create/particleFil    
 98 /vis/filtering/trajectories/TimeSliceFilter/ad    
 99 /vis/filtering/trajectories/TimeSliceFilter/in    
100                                                   
101 # Re-establish auto refreshing and verbosity:     
102 /vis/viewer/set/autoRefresh true                  
103 /vis/verbose warnings                             
104                                                   
105 /gun/energy 1 GeV                                 
106 /run/beamOn                                       
107                                                   
108 /control/alias timeRange 0.1                      
109 /vis/viewer/set/timeWindow/displayHeadTime tru    
110 /vis/viewer/set/timeWindow/displayLightFront t    
111 /vis/verbose warnings                             
112 /control/verbose 0                                
113 /control/loop visTutor/exN03Vis12.loop startTi    
114 /control/shell sleep 5                            
115 /control/verbose 2                                
116 /vis/verbose confirmations                        
117 /vis/viewer/set/timeWindow/displayLightFront f    
118 /vis/viewer/set/timeWindow/displayHeadTime fal    
119                                                   
120 # Disable auto refresh and quieten vis message    
121 # trajectories are established:                   
122 /vis/viewer/set/autoRefresh false                 
123 /vis/verbose errors                               
124                                                   
125 # To see pi -> mu -> e decay.                     
126 /gun/particle pi+                                 
127 /vis/filtering/trajectories/TimeSliceFilter/ad    
128 /vis/filtering/trajectories/TimeSliceFilter/ad    
129 /vis/filtering/trajectories/TimeSliceFilter/ad    
130 /vis/filtering/trajectories/TimeSliceFilter/ad    
131 # Accumulate several events for effect            
132 /vis/scene/endOfEventAction accumulate            
133 /gun/energy 100 MeV                               
134 #/vis/viewer/set/globalLineWidthScale 2           
135                                                   
136 # Re-establish auto refreshing and verbosity:     
137 /vis/viewer/set/autoRefresh true                  
138 /vis/verbose warnings                             
139                                                   
140 /run/beamOn 5                                     
141                                                   
142 /control/alias timeRange 1000                     
143 /vis/viewer/set/timeWindow/displayHeadTime tru    
144 /vis/verbose warnings                             
145 /control/verbose 0                                
146 /control/loop visTutor/exN03Vis12.loop startTi    
147 /control/shell sleep 5                            
148 /control/verbose 2                                
149 /vis/verbose confirmations