Ignore:
Timestamp:
Sep 30, 2010, 2:47:17 PM (14 years ago)
Author:
garnier
Message:

tag geant4.9.4 beta 1 + modifs locales

Location:
trunk/examples/extended/persistency/P02
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/extended/persistency/P02/GNUmakefile

    r807 r1337  
    1 # $Id: GNUmakefile,v 1.1 2007/11/29 17:05:21 witoldp Exp $
     1# $Id: GNUmakefile,v 1.2 2010/01/11 17:03:09 gcosmo Exp $
    22# --------------------------------------------------------------
    33# GNUmakefile for examples module.  Gabriele Cosmo, 06/04/98.
     
    1111
    1212ifndef G4INSTALL
    13   G4INSTALL = ../../..
     13  G4INSTALL = ../../../..
    1414endif
    1515
  • trunk/examples/extended/persistency/P02/History

    r807 r1337  
    1414     * Reverse chronological order (last date on top), please *
    1515     ----------------------------------------------------------
    16      
     16
     17June 4th, 2010  Joseph Perl (exampleP02-V09-03-00)
     18- Updated vis usage.
     19
    1720November 22, 07 W. Pokorski (exampleP02-V09-00-00)
    1821
  • trunk/examples/extended/persistency/P02/exampleP02.cc

    r1230 r1337  
    2626//
    2727// $Id: exampleP02.cc,v 1.1 2007/11/29 17:05:21 witoldp Exp $
    28 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     28// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2929//
    3030//
  • trunk/examples/extended/persistency/P02/include/ExP02PhysicsList.hh

    r1230 r1337  
    2626//
    2727// $Id: ExP02PhysicsList.hh,v 1.1 2007/11/29 17:05:22 witoldp Exp $
    28 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     28// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2929//
    3030//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/persistency/P02/include/ExP02PrimaryGeneratorAction.hh

    r1230 r1337  
    2626//
    2727// $Id: ExP02PrimaryGeneratorAction.hh,v 1.1 2007/11/29 17:05:22 witoldp Exp $
    28 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     28// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2929//
    3030//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/persistency/P02/src/ExP02PhysicsList.cc

    r1230 r1337  
    2626//
    2727// $Id: ExP02PhysicsList.cc,v 1.2 2007/12/10 16:29:25 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     28// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2929//
    3030//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/persistency/P02/vis.mac

    r807 r1337  
    99/tracking/verbose 2
    1010#
    11 # create empty scene
     11# Use this open statement to create an OpenGL view:
     12/vis/open OGL 600x600-0+0
    1213#
    13 /vis/scene/create
     14# Use this open statement to create a .prim file suitable for
     15# viewing in DAWN:
     16#/vis/open DAWNFILE
    1417#
    15 # Create a scene handler for a specific graphics system
    16 # (Edit the next line(s) to choose another graphic system)
     18# Use this open statement to create a .heprep file suitable for
     19# viewing in HepRApp:
     20#/vis/open HepRepFile
    1721#
    18 /vis/open OGLIX
     22# Use this open statement to create a .wrl file suitable for
     23# viewing in a VRML viewer:
     24#/vis/open VRML2FILE
    1925#
    20 ####/vis/open DAWNFILE
     26# Disable auto refresh and quieten vis messages whilst scene and
     27# trajectories are established:
     28/vis/viewer/set/autoRefresh false
     29/vis/verbose errors
    2130#
    22 # draw scene
     31# Draw geometry:
     32/vis/drawVolume
    2333#
    24 /vis/viewer/set/viewpointThetaPhi 60 60 deg
     34# Specify view angle:
     35/vis/viewer/set/viewpointThetaPhi 60. 60.
     36#
     37# Specify zoom value:
    2538/vis/viewer/zoom 1.4
    26 /vis/viewer/flush
    2739#
    28 # for drawing the tracks
    29 # (if too many tracks cause core dump => storeTrajectory 0)
    30 /tracking/storeTrajectory 1
    31 /vis/scene/add/trajectories
    32 # (if you prefer refreshing each event, comment out next line)
     40# Specify style (surface or wireframe):
     41#/vis/viewer/set/style wireframe
     42#
     43# Draw coordinate axes:
     44#/vis/scene/add/axes 0 0 0 1 m
     45#
     46# Draw smooth trajectories at end of event, showing trajectory points
     47# as markers 2 pixels wide:
     48/vis/scene/add/trajectories smooth
     49/vis/modeling/trajectories/create/drawByCharge
     50/vis/modeling/trajectories/drawByCharge-0/default/setDrawStepPts true
     51/vis/modeling/trajectories/drawByCharge-0/default/setStepPtsSize 2
     52# (if too many tracks cause core dump => /tracking/storeTrajectory 0)
     53#
     54# Draw hits at end of event:
     55#/vis/scene/add/hits
     56#
     57# To draw only gammas:
     58#/vis/filtering/trajectories/create/particleFilter
     59#/vis/filtering/trajectories/particleFilter-0/add gamma
     60#
     61# To invert the above, drawing all particles except gammas,
     62# keep the above two lines but also add:
     63#/vis/filtering/trajectories/particleFilter-0/invert true
     64#
     65# Many other options are available with /vis/modeling and /vis/filtering.
     66# For example, to select colour by particle ID:
     67#/vis/modeling/trajectories/create/drawByParticleID
     68#/vis/modeling/trajectories/drawByParticleID-0/set e- blue
     69#
     70# To superimpose all of the events from a given run:
    3371/vis/scene/endOfEventAction accumulate
    3472#
     73# Re-establish auto refreshing and verbosity:
     74/vis/viewer/set/autoRefresh true
     75/vis/verbose warnings
     76#
     77# For file-based drivers, use this to create an empty detector view:
     78#/vis/viewer/flush
     79#
    3580/run/beamOn 1
Note: See TracChangeset for help on using the changeset viewer.