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/eventgenerator/exgps/README

    r807 r1337  
    3535 
    3636     Visualisation of the geometry and the tracks is possible with many of the G4 visualisation packages. An
    37      example of displaying the geometry and tracks using VRML is given in the macro file display_vrml.mac. 
     37     example of displaying the geometry and tracks using VRML is given in the macro file vis.mac. 
    3838
    3939  6. ANALYSIS:
    4040
    4141     This example implements an AIDA-compliant analysis manager which creates histograms and ntuples.
    42      If user has an AIDA-compliant tool such as AIDAJNI, ANAPHE, or PI installed on his/her system,
    43      the analysis part of this example can be activated by:
     42     If user has an AIDA-compliant tool such as AIDAJNI, ANAPHE, OpenScientist or PI installed on his/her system. Some URLs :
     43       http://aida.freehep.org/
     44       http://java.freehep.org/aidajni
     45       http://www.cern.ch/PI   
     46       http://OpenScientist.lal.in2p3.fr
     47 
     48     The analysis part of this example can be activated by doing a "source
     49     aida-setup" of the AIDA compliant tool (to activate the aida-config
     50     program) and by raising some environment variabless so that the
     51     G4 GNUmakefile system can take into account the AIDA tool.
     52     This can be done, for example on a UNIX under a csh like shell, with :
     53        csh> source <path_where_the_AIDA_tool_is_installed>/aida-setup.csh
     54        csh> aida-config # to check that this program is up and running
     55     G4 related part :
     56        csh> setenv G4ANALYSIS_USE 1
     57        csh> setenv G4ANALYSIS_AIDA_CONFIG_CFLAGS `aida-config --include`
     58        csh> setenv G4ANALYSIS_AIDA_CONFIG_LIBS `aida-config --lib`
    4459
    45         setenv G4ANALYSIS_USE 1
     60     (It may be usefull to note that in the G4 GNUmakefile system,
     61     the upper variables are used in the file config/analysis.gmk).
    4662
    4763     This needs to be done before building the executable. 
    4864
    4965     At the end of an excution, an xml file "exgps.aida" is created by default which contains
    50      histograms and ntuples. User can change the name and type of this output file with the commands
     66     histograms and ntuples. User can change the name and format of this output file with the commands
    5167       
    5268        /analysis/filetype new-type
     
    5571        e.g.
    5672
    57         /analysis/filetype hbook
    58         /analysis/filename exgps.hbook
     73        /analysis/filetype root
     74        /analysis/filename myfile.root
    5975
    60      these change the output file type to "hbook" and name to "exgps.hbbok"
     76     these change the output file format to ROOT and output file name to "myfile.root". There are three file
     77     formats to choose from: xml, root or hbook.
    6178
    6279     The output file conatins 6 histograms and one ntuple:
     
    7491     In the ntuple the following data are recorded for each incident particle: 
    7592
    76         Particle Name
     93        Particle ID
    7794        Incident Position (x,y,z);
    7895        Incident Angle (theta,phi);
    7996        Particle weight;
    80 
    8197
    8298  7. GETTING STARTED:
     
    86102
    87103        setenv G4ANALYSIS_USE 1
     104     
     105     otherwise do 
     106 
     107        unsetenv G4ANALYSIS_USE
    88108
    89      otherwise make sure the G4ANALYSIS_USE is not defined:
    90  
    91         unsetenv G4ANALYSIS_USE
     109     to remove the generation of an output file.
    92110 
    93111     ii) Build the exGPS executable:
     
    106124         $G4BIN/$G4SYSTEM/exGPS exrgps.in
    107125
    108      If G4ANALYSIS_USE is defined, one should see a display of the six histograms. If JAIDA is used, one has
    109      to close the plotter window in order to terminate the execution. After the termination one will find
    110      the "exgps.aida", as well as a vrml file "g4_00.wrl" in the directory.
     126     If G4ANALYSIS_USE is defined, and dpends on the particular AIDA system used, e.g. JAIDA, one could see
     127     a display window of the six histograms. It may be neccessary to close the plotter window in order to
     128     terminate the execution. After the termination one will find the "exgps.aida", as well as a vrml file
     129     "g4_00.wrl" in the directory.
    111130
    112131 8. FURTHER EXAMPLES of MACRO FILES:
     
    119138
    120139
    121  
    122140
    123 
    124  
Note: See TracChangeset for help on using the changeset viewer.