Ignore:
Timestamp:
Jun 14, 2010, 3:54:58 PM (15 years ago)
Author:
garnier
Message:

geant4.9.4 beta rc0

Location:
trunk/examples/advanced/radioprotection
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/advanced/radioprotection/GNUmakefile

    r1230 r1313  
    1 # $Id: GNUmakefile,v 1.6 2009/03/06 09:38:55 gbarrand Exp $
     1# $Id: GNUmakefile,v 1.7 2010/01/11 16:15:40 gcosmo Exp $
    22# --------------------------------------------------------------
    33# GNUmakefile for examples module.  Gabriele Cosmo, 06/04/98.
     
    99
    1010ifndef G4INSTALL
    11   G4INSTALL = ../../..
     11  G4INSTALL = ../..
    1212endif
    1313
  • trunk/examples/advanced/radioprotection/History

    r1230 r1313  
    11-------------------------------------------------------------------
    2 $Id: History,v 1.24 2009/11/15 23:23:24 cirrone Exp $
     2$Id: History,v 1.26 2010/06/07 05:19:47 perl Exp $
    33-------------------------------------------------------------------
    44
     
    99                      Category History file
    1010                      ---------------------
     11
     1206.06.2010 J. Perl, tag radioprotection-V09-03-01
     13           Remove unused variable in EventAction       
     14
     1503.06.2010 J. Perl, tag radioprotection-V09-03-00
     16           Update vis usage     
    1117
    121816.11.2009 S. Guatelli, tag radioprotection-V09-02-04
  • trunk/examples/advanced/radioprotection/moon.mac

    r807 r1313  
    1818#######################################
    1919## 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
    3121########################################
    3222### Choose Moon habitat
  • trunk/examples/advanced/radioprotection/remsim.cc

    r1230 r1313  
    2525//
    2626//
    27 // $Id: remsim.cc,v 1.14 2006/07/24 09:53:27 guatelli Exp $
    28 // GEANT4 tag $Name: geant4-09-03-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 $
    2929
    3030#include "G4RunManager.hh"
     
    100100#endif   
    101101
    102       UI -> ApplyCommand("/control/execute vis.mac");   
     102      UI -> ApplyCommand("/control/execute interactive.mac");   
    103103      session -> SessionStart();
    104104      delete session;
  • trunk/examples/advanced/radioprotection/vehicle1.mac

    r807 r1313  
    2121################
    2222## 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
    3324################
    3425# Geometrical configuration
  • trunk/examples/advanced/radioprotection/vehicle2.mac

    r807 r1313  
    1919################
    2020## 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
    3122################
    3223/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:
    296#/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:
    3014#/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:
    3222/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.