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

geant4.9.4 beta rc0

Location:
trunk/examples/advanced/human_phantom
Files:
10 edited

Legend:

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

    r1230 r1313  
     1# $Id: GNUmakefile,v 1.7 2010/01/11 14:33:30 gcosmo Exp $
    12# --------------------------------------------------------------
    23# GNUmakefile for examples module.
    3 # Author: Giorgio Guerrieri
    4 # Date:  14/06/2005.
    54# --------------------------------------------------------------
    65
     
    109
    1110ifndef G4INSTALL
    12   G4INSTALL = ../../..
     11  G4INSTALL = ../..
    1312endif
    1413
  • trunk/examples/advanced/human_phantom/History

    r1230 r1313  
    1 $Id: History,v 1.25 2009/04/06 06:24:37 cirrone Exp $
     1$Id: History,v 1.28 2010/06/06 06:20:14 perl Exp $
    22-------------------------------------------------------------------
    33
     
    1818     * Reverse chronological order (last date on top), please *
    1919     ----------------------------------------------------------
     20
     21June 4, 2010, J.Perl, tag: human_phantom-V09-03-02
     22- Updated vis usage
     23
     24June 4, 2010, S. Guatelli, tag: human_phantom-V09-03-01
     25- Migration of Physics List
     26
     27April 29, 2010, G.Cosmo, tag: human_phantom-V09-03-00
     28- Added missing includes of G4PVPlacement, causing compilation error.
     29- Migrated multiple-scattering process in physics-list to particle-based
     30  (e+/e-) multiple-scattering.
     31- Corrected commands in some macros...
    2032
    2133April 6, 2009, G.A.P.Cirrone, tag: human_phantom-V09-02-02
  • trunk/examples/advanced/human_phantom/README

    r1230 r1313  
    1 $Id: README,v 1.14 2009/02/19 14:05:06 gcosmo Exp $
     1$Id: README,v 1.16 2010/06/03 23:42:16 cirrone Exp $
    22-------------------------------------------------------------------
    33
     
    99                          -----------------------
    1010
    11 Authors: S. Guatelli (guatelli@ge.infn.it) and M. G. Pia (pia@ge.infn.it),
    12          INFN Genova, Italy.
     11Authors: S. Guatelli (susanna.guatelli@uow.edu.au), G. Guerrieri
     12         and M. G. Pia (pia@ge.infn.it)
     13
     14Maintained by: S. Guatelli (susanna.guatelli@uow.edu.au)
    1315
    1416------> Introduction
  • trunk/examples/advanced/human_phantom/adultHead.mac

    r807 r1313  
    6969# Run Particles
    7070#
    71 #/control/execute run.mac
     71/control/execute run.mac
  • trunk/examples/advanced/human_phantom/adultMIRDFemale.mac

    r807 r1313  
    8080#
    8181# Visualize Phantom with OPENGL
    82 #/control/execute openGLVis.mac
     82/control/execute openGLVis.mac
    8383#
    8484# Visualize Phantom with DAWN
    85 /control/execute dawnVis.mac
     85#/control/execute dawnVis.mac
    8686#
    8787# Run Particles
    8888#
    89 #/control/execute run.mac
     89/control/execute run.mac
    9090
  • trunk/examples/advanced/human_phantom/adultMIXFemale.mac

    r807 r1313  
    8080#
    8181# Visualize Phantom with OPENGL
    82 #/control/execute openGLVis.mac
     82/control/execute openGLVis.mac
    8383#
    8484# Visualize Phantom with DAWN
    85 /control/execute dawnVis.mac
     85#/control/execute dawnVis.mac
    8686#
    8787# Run Particles
    8888#
    89 #/control/execute run.mac
     89/control/execute run.mac
    9090
  • trunk/examples/advanced/human_phantom/adultORNLFemale.mac

    r807 r1313  
    88# Choose model: ORNLFemale, ORNLMale, MIRD, MIX, MIRDHead, ORNLHead
    99#
    10 
    1110/phantom/setPhantomModel ORNLFemale
    1211#
  • trunk/examples/advanced/human_phantom/dawnVis.mac

    r807 r1313  
    99/event/verbose 0
    1010/tracking/verbose 0
    11 /vis/scene/create
     11#
     12# Use this open statement to create an OpenGL view:
     13#/vis/open OGL 600x600-0+0
     14#
     15# Use this open statement to create a .prim file suitable for
     16# viewing in DAWN:
    1217/vis/open DAWNFILE
     18#
     19# Use this open statement to create a .heprep file suitable for
     20# viewing in HepRApp:
     21#/vis/open HepRepFile
     22#
     23# Use this open statement to create a .wrl file suitable for
     24# viewing in a VRML viewer:
     25#/vis/open VRML2FILE
     26#
     27# Disable auto refresh and quieten vis messages whilst scene and
     28# trajectories are established:
     29/vis/viewer/set/autoRefresh false
     30/vis/verbose errors
     31#
     32# Draw geometry:
    1333/vis/drawVolume
    14 #/vis/specify
    15 /vis/viewer/flush
    1634#
     35# Specify view angle:
     36#/vis/viewer/set/viewpointThetaPhi 90. 0.
     37#
     38# Specify zoom value:
     39#/vis/viewer/zoom 2.
     40#
     41# Specify style (surface or wireframe):
     42#/vis/viewer/set/style wireframe
     43#
     44# Draw coordinate axes:
     45#/vis/scene/add/axes 0 0 0 1 m
     46#
     47# Draw smooth trajectories at end of event, showing trajectory points
     48# as markers 2 pixels wide:
     49/vis/scene/add/trajectories smooth
     50/vis/modeling/trajectories/create/drawByCharge
     51/vis/modeling/trajectories/drawByCharge-0/default/setDrawStepPts true
     52/vis/modeling/trajectories/drawByCharge-0/default/setStepPtsSize 2
     53# (if too many tracks cause core dump => /tracking/storeTrajectory 0)
     54#
     55# Draw hits at end of event:
     56#/vis/scene/add/hits
     57#
     58# To draw only gammas:
     59#/vis/filtering/trajectories/create/particleFilter
     60#/vis/filtering/trajectories/particleFilter-0/add gamma
     61#
     62# To invert the above, drawing all particles except gammas,
     63# keep the above two lines but also add:
     64#/vis/filtering/trajectories/particleFilter-0/invert true
     65#
     66# Many other options are available with /vis/modeling and /vis/filtering.
     67# For example, to select colour by particle ID:
     68#/vis/modeling/trajectories/create/drawByParticleID
     69#/vis/modeling/trajectories/drawByParticleID-0/set e- blue
     70#
     71# To superimpose all of the events from a given run:
     72#/vis/scene/endOfEventAction accumulate
     73#
     74# Re-establish auto refreshing and verbosity:
     75/vis/viewer/set/autoRefresh true
     76/vis/verbose warnings
     77#
     78# For file-based drivers, use this to create an empty detector view:
     79#/vis/viewer/flush
  • trunk/examples/advanced/human_phantom/openGLVis.mac

    r807 r1313  
     1# Use this open statement to create an OpenGL view:
     2/vis/open OGL 600x600-0+0
    13#
    2 # Macro file for the visualization
    3 # when runing in interactive mode
     4# Use this open statement to create a .prim file suitable for
     5# viewing in DAWN:
     6#/vis/open DAWNFILE
    47#
    5 # create empty scene
     8# Use this open statement to create a .heprep file suitable for
     9# viewing in HepRApp:
     10#/vis/open HepRepFile
    611#
    7 /vis/scene/create
    8 /vis/open OGLIX
     12# Use this open statement to create a .wrl file suitable for
     13# viewing in a VRML viewer:
     14#/vis/open VRML2FILE
    915#
    10 # Create a scene handler for a specific graphics system
    11 # (Edit the next line(s) to choose another graphic system)
     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
    1220#
    13 #/vis/viewer/set/viewpointThetaPhi 90 90 deg
     21# Draw geometry:
     22/vis/drawVolume
     23#
     24# Specify view angle:
     25#/vis/viewer/set/viewpointThetaPhi 90. 0.
     26#
     27# Specify zoom value:
    1428#/vis/viewer/zoom 2.
    15 # (if too many tracks cause core dump => storeTrajectory 0)
    16 /tracking/storeTrajectory 1
    17 /vis/scene/add/trajectories
    18 # (if you prefer refreshing each event, comment out next line)
     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:
    1961/vis/scene/endOfEventAction accumulate
    2062#
     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
  • trunk/examples/advanced/human_phantom/vrmlVis.mac

    r807 r1313  
     1# Use this open statement to create an OpenGL view:
     2#/vis/open OGL 600x600-0+0
    13#
    2 # Macro file for the initialization phase
    3 # when runing in interactive mode
     4# Use this open statement to create a .prim file suitable for
     5# viewing in DAWN:
     6#/vis/open DAWNFILE
    47#
    5 # Sets some default verbose
     8# Use this open statement to create a .heprep file suitable for
     9# viewing in HepRApp:
     10#/vis/open HepRepFile
    611#
     12# Use this open statement to create a .wrl file suitable for
     13# viewing in a VRML viewer:
    714/vis/open VRML2FILE
     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:
    822/vis/drawVolume
    9 /vis/scene/create
    10 # Attack the current scene handler to the current scene
    11 /vis/sceneHandler/attach
    12 /vis/viewer/flush
    1323#
     24# Specify view angle:
     25#/vis/viewer/set/viewpointThetaPhi 90. 0.
     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.