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

geant4.9.4 beta rc0

Location:
trunk/examples/advanced/brachytherapy
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/advanced/brachytherapy/Brachy.cc

    r1230 r1313  
    2626//
    2727// $Id: Brachy.cc
    28 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     28// GEANT4 tag $Name: geant4-09-04-beta-cand-00 $
    2929//
    3030// --------------------------------------------------------------
     
    5757#endif
    5858
    59 #include "BrachyEventAction.hh"
    6059#include "BrachyDetectorConstruction.hh"
    6160#include "BrachyPhysicsList.hh"
     
    7271#ifdef G4ANALYSIS_USE
    7372#include "BrachyAnalysisManager.hh"
     73#endif
     74
     75
     76#ifdef G4UI_USE
     77#include "G4UIExecutive.hh"
    7478#endif
    7579
     
    9195  BrachyPrimaryGeneratorAction* primary = new BrachyPrimaryGeneratorAction();
    9296  pRunManager -> SetUserAction(primary);
    93 
    94   // Initialize Optional User Action
    95   BrachyEventAction *pEventAction = new BrachyEventAction();
    96   pRunManager -> SetUserAction(pEventAction );
    9797
    9898  BrachyRunAction *pRunAction = new BrachyRunAction();
     
    152152#endif
    153153 
     154#ifdef G4UI_USE
     155      G4UIExecutive * ui = new G4UIExecutive(argc,argv);     
     156      ui->SessionStart();
     157      delete ui;
     158#endif
     159
    154160  // Job termination
    155161#ifdef G4VIS_USE
  • trunk/examples/advanced/brachytherapy/GNUmakefile

    r1230 r1313  
    11# --------------------------------------------------------------
    2 # $Id: GNUmakefile,v 1.13 2008/06/15 18:05:59 cirrone Exp $
     2# $Id: GNUmakefile,v 1.14 2010/01/11 14:27:29 gcosmo Exp $
    33# --------------------------------------------------------------
    44# GNUmakefile for examples module.  Gabriele Cosmo, 06/04/98.
     
    1111
    1212ifndef G4INSTALL
    13   G4INSTALL = ../../..
     13  G4INSTALL = ../..
    1414endif
    1515
  • trunk/examples/advanced/brachytherapy/History

    r807 r1313  
    11-------------------------------------------------------------------
    2 $Id: History,v 1.21 2006/11/15 10:03:37 guatelli Exp $
     2$Id: History,v 1.31 2010/06/06 06:15:30 perl Exp $
    33-------------------------------------------------------------------
    44
     
    99                      Category History file
    1010                      ---------------------
     11
     1203 June 2010 - Joseph Perl; tag brachy-V09-03-01
     13 Updated vis usage
     14
     1501 Jun 2010 - G.A.P. Cirrone; tag brachy-V09-03-00
     16              G4UIExecutiveand minor revisions
     17
     1812 Nov 2009 - L. Pandola; tag brachy-V09-02-02
     19 Fixed AIDA
     20
     2112 Nov. 2009 - S. Guatelli; brachy-V09-02-01
     22- Update of Physics List
     23
     2422.Feb 2009 - G.Folger;  tag brachy-V09-02-00
     25-  Correct compilation  errors and warnings when G4ANALYSIS is NOT set
     26
     2724.11.2008 -- G.A.P.Cirrone; tag: brachy-V09-01-03
     28              Updated macro files
     2921.11.2008 -- G.A.P.Cirrone; Tag: brachy-V09-01-02
     30              Corrected and updated macro files
     31
     3215.06.2008 -- G.A.P.Cirrone; Tag: brachy-V09-01-01
     33              Removed no more necessary AIDA commands from GNUmakefile
     34
     3505th June 2008: G.A.P.Cirrone (cirrone@lns.infn.it). Tag version: brachy-V09-01-00
     36- Compilation error corrected in the BrachyAnalysiManager
     37- Bad type assignment in BrachyAnalysismanager
     38- Activated the generation .root files for output
     39
    114015th November 2006 Susanna Guatelli (brachy-V08-01-01)
    1241- Physics list cleaned. The cut is fixed to a value lower than the
  • trunk/examples/advanced/brachytherapy/VisualisationMacro.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 visualisation
    3 # create empty scene
     4# Use this open statement to create a .prim file suitable for
     5# viewing in DAWN:
     6#/vis/open DAWNFILE
    47#
    5 /vis/scene/create
    6 /vis/open OGLIX
    7 #/vis/open VRML1
    8 #/vis/open DAWNFILE
    9 /vis/viewer/flush
     8# Use this open statement to create a .heprep file suitable for
     9# viewing in HepRApp:
     10#/vis/open HepRepFile
    1011#
    11 # draw scene/
     12# Use this open statement to create a .wrl file suitable for
     13# viewing in a VRML viewer:
     14#/vis/open VRML2FILE
    1215#
     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
    1320#
    14 # for drawing the tracks
    15 /vis/viewer/set/viewpointThetaPhi 90 180 deg
    16 /vis/viewer/zoom 1.4
    17 /tracking/storeTrajectory 1
     21# Draw geometry:
     22/vis/drawVolume
     23#
     24# Specify view angle:
     25/vis/viewer/set/viewpointThetaPhi 90. 180.
     26#
     27# Specify zoom value:
     28/vis/viewer/zoom 7.
     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:
    1861/vis/scene/endOfEventAction accumulate
    19 /vis/viewer/update
     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
     69
    2070##/primary/energy Iodium   
    2171##/source/switch Iodium
    22 /vis/viewer/zoom 5
     72
    2373/run/beamOn 100
    2474
Note: See TracChangeset for help on using the changeset viewer.