Changeset 1313 for trunk/examples/advanced/radioprotection
- Timestamp:
- Jun 14, 2010, 3:54:58 PM (15 years ago)
- Location:
- trunk/examples/advanced/radioprotection
- Files:
-
- 7 edited
-
GNUmakefile (modified) (2 diffs)
-
History (modified) (2 diffs)
-
moon.mac (modified) (1 diff)
-
remsim.cc (modified) (2 diffs)
-
vehicle1.mac (modified) (1 diff)
-
vehicle2.mac (modified) (1 diff)
-
vis.mac (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/advanced/radioprotection/GNUmakefile
r1230 r1313 1 # $Id: GNUmakefile,v 1. 6 2009/03/06 09:38:55 gbarrandExp $1 # $Id: GNUmakefile,v 1.7 2010/01/11 16:15:40 gcosmo Exp $ 2 2 # -------------------------------------------------------------- 3 3 # GNUmakefile for examples module. Gabriele Cosmo, 06/04/98. … … 9 9 10 10 ifndef G4INSTALL 11 G4INSTALL = ../.. /..11 G4INSTALL = ../.. 12 12 endif 13 13 -
trunk/examples/advanced/radioprotection/History
r1230 r1313 1 1 ------------------------------------------------------------------- 2 $Id: History,v 1.2 4 2009/11/15 23:23:24 cirroneExp $2 $Id: History,v 1.26 2010/06/07 05:19:47 perl Exp $ 3 3 ------------------------------------------------------------------- 4 4 … … 9 9 Category History file 10 10 --------------------- 11 12 06.06.2010 J. Perl, tag radioprotection-V09-03-01 13 Remove unused variable in EventAction 14 15 03.06.2010 J. Perl, tag radioprotection-V09-03-00 16 Update vis usage 11 17 12 18 16.11.2009 S. Guatelli, tag radioprotection-V09-02-04 -
trunk/examples/advanced/radioprotection/moon.mac
r807 r1313 18 18 ####################################### 19 19 ## Visualisation 20 #/vis/scene/create 21 # --- Choose one the following visualisation tools 22 #/vis/open OGLIX 23 #/vis/open DAWNFILE 24 #/vis/open VRML2FILE 25 # -------- 26 #/vis/drawVolume 27 ##/vis/viewer/zoom 2 28 #/vis/viewer/set/viewpointThetaPhi 90 180 deg 29 #/tracking/storeTrajectory 1 30 #/vis/scene/endOfEventAction accumulate 20 #/control/execute vis.mac 31 21 ######################################## 32 22 ### Choose Moon habitat -
trunk/examples/advanced/radioprotection/remsim.cc
r1230 r1313 25 25 // 26 26 // 27 // $Id: remsim.cc,v 1.1 4 2006/07/24 09:53:27 guatelliExp $28 // GEANT4 tag $Name: geant4-09-0 3-cand-01$27 // $Id: remsim.cc,v 1.15 2010/06/06 06:23:52 perl Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-cand-00 $ 29 29 30 30 #include "G4RunManager.hh" … … 100 100 #endif 101 101 102 UI -> ApplyCommand("/control/execute vis.mac");102 UI -> ApplyCommand("/control/execute interactive.mac"); 103 103 session -> SessionStart(); 104 104 delete session; -
trunk/examples/advanced/radioprotection/vehicle1.mac
r807 r1313 21 21 ################ 22 22 ## Visualisation 23 #/vis/scene/create 24 # --- Choose one the following visualisation tools 25 #/vis/open OGLIX 26 #/vis/open DAWNFILE 27 #/vis/open VRML2FILE 28 # -------- 29 #/vis/drawVolume 30 #/vis/viewer/set/viewpointThetaPhi 90 180 deg 31 #/vis/viewer/zoom 2 32 #/tracking/storeTrajectory 1 23 #/control/execute vis.mac 33 24 ################ 34 25 # Geometrical configuration -
trunk/examples/advanced/radioprotection/vehicle2.mac
r807 r1313 19 19 ################ 20 20 ## Visualisation 21 #/vis/scene/create 22 # --- Choose one the following visualisation tools 23 #/vis/open OGLIX 24 #/vis/open DAWNFILE 25 #/vis/open VRML2FILE 26 # -------- 27 #/vis/drawVolume 28 #/vis/viewer/set/viewpointThetaPhi 90 180 deg 29 #/vis/viewer/zoom 2 30 #/tracking/storeTrajectory 1 21 #/control/execute vis.mac 31 22 ################ 32 23 /run/initialize -
trunk/examples/advanced/radioprotection/vis.mac
r807 r1313 1 ############################# 2 ############# Activate physics 3 #### Add e.m. physics 4 /physics/addPhysics photon-epdl 5 /physics/addPhysics electron-eedl 6 /physics/addPhysics positron-standard 7 /physics/addPhysics ion-ICRU 8 #### Add Hadronic Physics, muon physics and decay 9 /physics/addPhysics hadronic-binary 10 /physics/addPhysics muon-standard 11 /physics/addPhysics decay 12 ############################## 13 #### Sets some default verbose 14 /control/verbose 1 15 /run/verbose 1 16 /event/verbose 0 17 /run/initialize 18 ############################## 19 # Geometrical configuration 20 # Choose inflatable vehicle 21 /configuration/choose vehicle 22 # Add 10 cm water shielding 23 /configuration/AddShielding On 24 ################ 25 ## Visualisation 26 /vis/scene/create 27 # --- Choose one the following visualisation tools 28 /vis/open OGLIX 1 # Use this open statement to create an OpenGL view: 2 /vis/open OGL 600x600-0+0 3 # 4 # Use this open statement to create a .prim file suitable for 5 # viewing in DAWN: 29 6 #/vis/open DAWNFILE 7 # 8 # Use this open statement to create a .heprep file suitable for 9 # viewing in HepRApp: 10 #/vis/open HepRepFile 11 # 12 # Use this open statement to create a .wrl file suitable for 13 # viewing in a VRML viewer: 30 14 #/vis/open VRML2FILE 31 # -------- 15 # 16 # Disable auto refresh and quieten vis messages whilst scene and 17 # trajectories are established: 18 /vis/viewer/set/autoRefresh false 19 /vis/verbose errors 20 # 21 # Draw geometry: 32 22 /vis/drawVolume 33 /vis/viewer/set/viewpointThetaPhi 90 180 deg 34 /vis/viewer/zoom 2 35 /tracking/storeTrajectory 1 36 ################ 37 # Define the primary particles 38 # Galactic cosmic protons 39 /gun/data gcr_min_z=1.txt 40 /run/beamOn 10 41 42 43 44 45 46 47 23 # 24 # Specify view angle: 25 /vis/viewer/set/viewpointThetaPhi 90. 180. 26 # 27 # Specify zoom value: 28 /vis/viewer/zoom 2. 29 # 30 # Specify style (surface or wireframe): 31 #/vis/viewer/set/style wireframe 32 # 33 # Draw coordinate axes: 34 #/vis/scene/add/axes 0 0 0 1 m 35 # 36 # Draw smooth trajectories at end of event, showing trajectory points 37 # as markers 2 pixels wide: 38 /vis/scene/add/trajectories smooth 39 /vis/modeling/trajectories/create/drawByCharge 40 /vis/modeling/trajectories/drawByCharge-0/default/setDrawStepPts true 41 /vis/modeling/trajectories/drawByCharge-0/default/setStepPtsSize 2 42 # (if too many tracks cause core dump => /tracking/storeTrajectory 0) 43 # 44 # Draw hits at end of event: 45 #/vis/scene/add/hits 46 # 47 # To draw only gammas: 48 #/vis/filtering/trajectories/create/particleFilter 49 #/vis/filtering/trajectories/particleFilter-0/add gamma 50 # 51 # To invert the above, drawing all particles except gammas, 52 # keep the above two lines but also add: 53 #/vis/filtering/trajectories/particleFilter-0/invert true 54 # 55 # Many other options are available with /vis/modeling and /vis/filtering. 56 # For example, to select colour by particle ID: 57 #/vis/modeling/trajectories/create/drawByParticleID 58 #/vis/modeling/trajectories/drawByParticleID-0/set e- blue 59 # 60 # To superimpose all of the events from a given run: 61 #/vis/scene/endOfEventAction accumulate 62 # 63 # Re-establish auto refreshing and verbosity: 64 /vis/viewer/set/autoRefresh true 65 /vis/verbose warnings 66 # 67 # For file-based drivers, use this to create an empty detector view: 68 #/vis/viewer/flush
Note:
See TracChangeset
for help on using the changeset viewer.
