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

tag geant4.9.4 beta 1 + modifs locales

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/extended/biasing/README

    r807 r1337  
    11
    2                         Examples for event biasing
    3                         --------------------------
     2                    Examples for event biasing: B01 and B02
     3                    ---------------------------------------
    44
    5 This directory includes example applications to demonstrate the usage of
    6 different variance reduction techniques supported in Geant4, or possible
    7 from the user applications.
    8 
     5B01 and B02 applications demonstrate the usage of different variance
     6reduction techniques supported in Geant4, or possible from the user
     7applications.
    98
    109General remark to variance reduction
     
    9089Compiling and running
    9190---------------------
    92 Can be compiled and executed on a RedHat-7.3 system with gcc-3.2.3
    93 compiler and the tcsh shell.
    94 To compile this example you need AIDA 3.2.1 installed. To link
    95 and run it you need a AIDA compliant analysis package. The
    96 GNUmakefile of this example shows how to use AIDA through PI as
    97 analysis interface.
    98 Histograms are saved in HBOOK format. It can be displayed with PAW or
    99 compatible packages.
    100 You need to set the following variables in your environment:
     91To compile this example you need AIDA installed. To link
     92and run it you need a AIDA compliant analysis package.
     93Histograms are saved in HBOOK format.
     94You need to set the following variable in your environment:
    10195   "G4ANALYSIS_USE"
    102    "PI_BASE_DIR" (where PI has been installed)
    103 Finally, source the script setupPI.csh.
     96The example stores the plot in the file b02.hbook.
    10497
    105 Now you should be able to run gmake and to run exampleB02.
    106 
    107 The example stores the plot in the file b02.hbook.
    108 To look at the histogram using lizard you also may use PI 1.2.1
    109 http://cern.ch/PI.
     98 ___________________________________________________________________________
    11099
    111100
    112 Example B03
    113 ===========
     101             Reverse MonteCarlo Technique example: ReverseMC01
     102             -------------------------------------------------
    114103
    115 This example uses Geant4 and in particular importance sampling and
    116 scoring through python. It creates a simple histogram. It's meant
    117 to demonstrate how to use a customized scorer and importance sampling
    118 in combination with a scripting language, python.
    119 Geant4 code is executed from a python session. Therefore, swig is used
    120 to create python shadow classes and to generate the code necessary to
    121 use the Geant4 libraries from a python session.
    122 It can be built and run using PI:  http://cern.ch/PI.
    123 At the end a histogram called "trackentering.hbook" is created and can be
    124 displayed using standard packages (such as PAW).
     104Example ReverseMC01
     105===================
    125106
    126 Building, compiling and running
    127 -------------------------------
     107Example illustrating the use of the Reverse Monte Carlo (RMC) mode in a Geant4
     108application. See details in ReverseMC01/README.
    128109
    129 You need to set the following variables in your environment:
    130    "G4ANALYSIS_USE"
    131    "PI_BASE_DIR"    (where PI has been installed)
    132    "SWIG_BASE_DIR"  (where SWIG 1.3.15 has been installed)
    133 Finally source the script setupPI.csh.
    134 
    135 You may run gmake now.
    136 You should be able to execute the file B03RunApplication.py from your
    137 shell or from a lizard session now.
    138  
    139 At the moment the plotting is not available using a python script, but
    140 it is planned in future releases. A histogram is created and later displayed
    141 using standard analysis packages.
    142 
    143 To clean all the added files, just type gmake clean_all.
    144 
    145 Files in B03;
    146 B03Application.py: Is a example class utilizing importance sampling
    147    and scoring using python.
    148 B03RunApplication.py: Is a python script running the example.
    149    It may be executed from the shell or in a python session.
    150 B03App.py: Is created by swig using swig.
Note: See TracChangeset for help on using the changeset viewer.