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/electromagnetic/TestEm18
Files:
42 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/extended/electromagnetic/TestEm18/History

    r807 r1337  
    1 $Id: History,v 1.4 2007/11/20 14:15:18 maire Exp $
     1$Id: History,v 1.16 2010/06/07 05:40:46 perl Exp $
    22----------------------------------------------------
    33
     
    1616     ----------------------------------------------------------
    1717     
     1806-06-10 J.Perl (testem18-V09-03-02)
     19- Remove unused variable in EventAction
     20
     2103-06-10 J.Perl (testem18-V09-03-01)
     22- Updated vis usage
     23
     2421-05-10 mma (testem18-V09-03-00)
     25- TestEm18.cc : introduction of G4UIExecutive
     26     
     2719-11-09 mma (testem18-V09-02-04)
     28- cosmetics in low-energy physics lists 
     29     
     3012-10-09 mma (testem18-V09-02-03)
     31- Substituted obsolete low-energy physics builders by builders from
     32  the physics_list library;
     33         
     3406-03-09 mma (testem18-V09-02-01)
     35- PhysicsList::SetCuts() : remove SetEnergyRange(1*keV,100*GeV)
     36- remove command "/testem/phys/cutLimit" already in /cuts/setLowEdge
     37   
     3822-02-09 mma (testem18-V09-02-00)
     39- PhysicsList. EmOptions : 12*20 bins; lll=1.e-2
     40- PhysicsList::SetCuts() : SetEnergyRange(1*keV,100*GeV)
     41- added command "/testem/phys/cutLimit" allowing to change low limit for
     42  production threshold
     43 
     4424-09-08 mma (testem18-V09-01-04)
     45- HistoManager : root as default format
     46
     4712-06-08 mma (testem18-V09-01-03)
     48- Remove AIDA from GNUmakefile
     49     
     5007-05-08 mma (testem18-V09-01-02)
     51- PhysicsList : add spline option for physics tables
     52- README : update Aida informations
     53     
     5407-04-08 mma (testem18-V09-01-01)
     55- HistoManager::saveAscii() : redefinition of binEdge     
     56     
     5708-01-08 mma (testem18-V09-01-00)
     58- HistoManager : ascii[0] = flag to control creation of .ascii file
     59     
    1860 20-nov-07 mma (testem18-V09-00-01)
    1961- PhysicsList : more EmOptions
  • trunk/examples/extended/electromagnetic/TestEm18/README

    r807 r1337  
    1 $Id: README,v 1.2 2007/11/13 16:43:59 maire Exp $
     1$Id: README,v 1.4 2008/09/26 20:26:01 maire Exp $
    22-------------------------------------------------------------------
    33
     
    6666    the commands:
    6767    /testem/histo/setFileName  name  (default testem18)
    68     /testem/histo/setFileType  name  (default hbook)
     68    /testem/histo/setFileType  name  (default root)
    6969   
    7070    It is also possible to print selected histograms on an ascii file:
     
    113113         
    114114    To use histograms, at least one of the AIDA implementations should be
    115     available (see http://aida.freehep.org).
     115    available. See InstallAida.txt
    116116 
    117  8a - PI
    118 
    119   A package including AIDA and extended interfaces also using Python is PI,
    120   available from: http://cern.ch/pi
    121 
    122   Once installed PI or PI-Lite in a specified local area $MYPY, it is required
    123   to add the installation path to $PATH, i.e. for example, for release 1.2.1 of
    124   PI:
    125   setenv PATH ${PATH}:$MYPI/1.2.1/app/releases/PI/PI_1_2_1/rh73_gcc32/bin
    126 
    127   CERN users can use the PATH to the LCG area on AFS.
    128   Before running the example the command should be issued:
    129   eval `aida-config --runtime csh`
    130 
    131  8b -  OpenScientist
    132 
    133   OpenScientist is available at http://OpenScientist.lal.in2p3.fr.
    134 
    135   You have to "setup" the OpenScientist AIDA implementation before compiling
    136   (then with G4ANALYSIS_USE set) and running your Geant4 application.
    137 
    138   On UNIX you setup, with a csh flavoured shell :
    139         csh> source <<OpenScientist install path>/aida-setup.csh
    140         or with a sh flavoured shell :
    141         sh> . <<OpenScientist install path>/aida-setup.sh
    142   On Windows :
    143         DOS> call <<OpenScientist install path>/aida-setup.bat
    144 
    145   You can use various file formats for writing (AIDA-XML, hbook, root).
    146   These formats are readable by the Lab onx interactive program
    147   or the OpenPAW application. See the web pages.
    148 
    149 
    150   With OpenPAW, on a run.hbook file, one can view the histograms
    151   with something like :
    152         OS> opaw
    153         opaw> h/file 1 run.hbook  ( or opaw> h/file 1 run.aida or run.root) 
    154         opaw> zone 2 2
    155         opaw> h/plot 1
    156         opaw> h/plot 2
  • trunk/examples/extended/electromagnetic/TestEm18/TestEm18.cc

    r1230 r1337  
    2525//
    2626//
    27 // $Id: TestEm18.cc,v 1.1 2007/02/13 17:57:19 maire Exp $
    28 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// $Id: TestEm18.cc,v 1.2 2010/05/21 08:41:18 maire Exp $
     28// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2929//
    3030//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
     
    3333#include "G4RunManager.hh"
    3434#include "G4UImanager.hh"
    35 #include "G4UIterminal.hh"
    36 #include "G4UItcsh.hh"
    3735#include "Randomize.hh"
    38 
    39 #ifdef G4VIS_USE
    40 #include "G4VisExecutive.hh"
    41 #endif
    4236
    4337#include "DetectorConstruction.hh"
     
    5044#include "StackingAction.hh"
    5145#include "HistoManager.hh"
     46
     47#ifdef G4VIS_USE
     48 #include "G4VisExecutive.hh"
     49#endif
     50
     51#ifdef G4UI_USE
     52#include "G4UIExecutive.hh"
     53#endif
    5254
    5355//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
     
    6971  runManager->SetUserInitialization(detector);
    7072  runManager->SetUserInitialization(new PhysicsList());
    71 
    72   G4VisManager* visManager = 0;
    7373
    7474  HistoManager* histo = new HistoManager();
     
    100100  // get the pointer to the User Interface manager
    101101    G4UImanager* UI = G4UImanager::GetUIpointer(); 
    102  
    103   if (argc==1)   // Define UI terminal for interactive mode 
     102
     103  if (argc!=1)   // batch mode 
     104    {
     105     G4String command = "/control/execute ";
     106     G4String fileName = argv[1];
     107     UI->ApplyCommand(command+fileName);
     108    }
     109   
     110  else           //define visualization and UI terminal for interactive mode
    104111    {
    105 
    106112#ifdef G4VIS_USE
    107       // visualization manager
    108       visManager = new G4VisExecutive;
    109       visManager->Initialize();
     113   G4VisManager* visManager = new G4VisExecutive;
     114   visManager->Initialize();
     115#endif   
     116     
     117#ifdef G4UI_USE
     118      G4UIExecutive * ui = new G4UIExecutive(argc,argv);     
     119      ui->SessionStart();
     120      delete ui;
    110121#endif
    111       G4UIsession * session = 0;
    112 #ifdef G4UI_USE_TCSH
    113       session = new G4UIterminal(new G4UItcsh);     
    114 #else
    115       session = new G4UIterminal();
    116 #endif                     
    117       session->SessionStart();
    118       delete session;
    119     }
    120   else           // Batch mode
    121     {
    122       G4String command = "/control/execute ";
    123       G4String fileName = argv[1];
    124       UI->ApplyCommand(command+fileName);
     122         
     123#ifdef G4VIS_USE
     124     delete visManager;
     125#endif     
    125126    }
    126127   
    127128  // job termination
    128 
    129 #ifdef G4VIS_USE
    130   delete visManager;
    131 #endif
    132  
     129  //
    133130  delete histo;
    134131  delete runManager;
  • trunk/examples/extended/electromagnetic/TestEm18/TestEm18.in

    r807 r1337  
    1 # $Id: TestEm18.in,v 1.1 2007/02/13 17:57:19 maire Exp $
     1# $Id: TestEm18.in,v 1.2 2009/10/12 21:47:57 maire Exp $
    22#
    33# macro file for TestEm18.cc
     
    99/testem/det/setSize 1 cm
    1010#
     11/testem/phys/addPhysics standard
     12#
    1113/testem/phys/setCuts 1 mm
    1214#
  • trunk/examples/extended/electromagnetic/TestEm18/TestEm18.out

    r807 r1337  
     1
     2        ############################################
     3        !!! WARNING - FPE detection is activated !!!
     4        ############################################
    15
    26*************************************************************
    3  Geant4 version Name: global-V09-00-03    (9-May-2008)
     7 Geant4 version Name: geant4-09-03-ref-06    (25-June-2010)
    48                      Copyright : Geant4 Collaboration
    59                      Reference : NIM A 506 (2003), 250-303
     
    812
    913
    10 ***** Table : Nb of materials = 11 *****
    11 
    12  Material:      Air     density:  1.290 mg/cm3  RadL: 285.161 m    Imean:  85.684 eV   temperature: 273.15 K  pressure:   1.00 atm
     14***** Table : Nb of materials = 12 *****
     15
     16 Material:      Air     density:  1.290 mg/cm3  RadL: 285.161 m    Nucl.Int.Length: 662.680 m    Imean:  85.703 eV   temperature: 273.15 K  pressure:   1.00 atm
    1317   --->  Element: Nitrogen (N)   Z =  7.0   N =  14.0   A =  14.01 g/mole  ElmMassFraction:  70.00 %  ElmAbundance  72.71 %
    1418   --->  Element: Oxygen (O)   Z =  8.0   N =  16.0   A =  16.00 g/mole  ElmMassFraction:  30.00 %  ElmAbundance  27.29 %
    1519
    16  Material:    Water     density:  1.000 g/cm3   RadL:  36.092 cm   Imean:  75.000 eV
     20 Material:    Water     density:  1.000 g/cm3   RadL:  36.092 cm   Nucl.Int.Length:  75.416 cm   Imean:  75.000 eV
    1721   --->  Element: Hydrogen (H)   Z =  1.0   N =   1.0   A =   1.01 g/mole  ElmMassFraction:  11.21 %  ElmAbundance  66.67 %
    1822   --->  Element: Oxygen (O)   Z =  8.0   N =  16.0   A =  16.00 g/mole  ElmMassFraction:  88.79 %  ElmAbundance  33.33 %
    1923
    20  Material: Water_vapor     density:  1.000 mg/cm3  RadL: 360.925 m    Imean:  75.000 eV   temperature: 273.15 K  pressure:   1.00 atm
     24 Material: Water_vapor     density:  1.000 mg/cm3  RadL: 360.924 m    Nucl.Int.Length: 754.163 m    Imean:  75.000 eV   temperature: 273.15 K  pressure:   1.00 atm
    2125   --->  Element: Hydrogen (H)   Z =  1.0   N =   1.0   A =   1.01 g/mole  ElmMassFraction:  11.21 %  ElmAbundance  66.67 %
    2226   --->  Element: Oxygen (O)   Z =  8.0   N =  16.0   A =  16.00 g/mole  ElmMassFraction:  88.79 %  ElmAbundance  33.33 %
    2327
    24  Material:   Carbon     density:  2.267 g/cm3   RadL:  18.833 cm   Imean:  78.000 eV
     28 Material:   Carbon     density:  2.267 g/cm3   RadL:  18.833 cm   Nucl.Int.Length:  35.356 cm   Imean:  81.000 eV
    2529   --->  Element: Carbon ( )   Z =  6.0   N =  12.0   A =  12.01 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
    2630
    27  Material: Aluminium     density:  2.700 g/cm3   RadL:   8.893 cm   Imean: 166.400 eV
     31 Material: Aluminium     density:  2.700 g/cm3   RadL:   8.893 cm   Nucl.Int.Length:  38.879 cm   Imean: 166.000 eV
    2832   --->  Element: Aluminium ( )   Z = 13.0   N =  27.0   A =  26.98 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
    2933
    30  Material:  Silicon     density:  2.330 g/cm3   RadL:   9.368 cm   Imean: 173.600 eV
     34 Material:  Silicon     density:  2.330 g/cm3   RadL:   9.368 cm   Nucl.Int.Length:  45.663 cm   Imean: 173.000 eV
    3135   --->  Element: Silicon ( )   Z = 14.0   N =  28.1   A =  28.09 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
    3236
    33  Material: liquidArgon     density:  1.390 g/cm3   RadL:  14.065 cm   Imean: 187.200 eV
     37 Material: liquidArgon     density:  1.390 g/cm3   RadL:  14.065 cm   Nucl.Int.Length:  86.078 cm   Imean: 188.000 eV
    3438   --->  Element: liquidArgon ( )   Z = 18.0   N =  40.0   A =  39.95 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
    3539
    36  Material:     Iron     density:  7.870 g/cm3   RadL:   1.759 cm   Imean: 286.000 eV
    37    --->  Element: Iron ( )   Z = 26.0   N =  55.9   A =  55.85 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
    38 
    39  Material: Germanium     density:  5.323 g/cm3   RadL:   2.301 cm   Imean: 332.800 eV
     40 Material:     Iron     density:  7.870 g/cm3   RadL:   1.759 cm   Nucl.Int.Length:  16.999 cm   Imean: 286.000 eV
     41   --->  Element: Iron ( )   Z = 26.0   N =  55.8   A =  55.85 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
     42
     43 Material: Germanium     density:  5.323 g/cm3   RadL:   2.301 cm   Nucl.Int.Length:  27.431 cm   Imean: 350.000 eV
    4044   --->  Element: Germanium ( )   Z = 32.0   N =  72.6   A =  72.61 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
    4145
    42  Material: Tungsten     density: 19.300 g/cm3   RadL:   3.504 mm   Imean: 725.200 eV
     46 Material: Tungsten     density: 19.300 g/cm3   RadL:   3.504 mm   Nucl.Int.Length:  10.312 cm   Imean: 727.000 eV
    4347   --->  Element: Tungsten ( )   Z = 74.0   N = 183.8   A = 183.85 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
    4448
    45  Material:     Lead     density: 11.350 g/cm3   RadL:   5.612 mm   Imean: 820.000 eV
     49 Material:     Lead     density: 11.350 g/cm3   RadL:   5.612 mm   Nucl.Int.Length:  18.247 cm   Imean: 823.000 eV
    4650   --->  Element: Lead ( )   Z = 82.0   N = 207.2   A = 207.19 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
     51
     52 Material: ArgonGas     density:  1.782 mg/cm3  RadL: 109.702 m    Nucl.Int.Length: 671.416 m    Imean: 188.000 eV   temperature: 273.15 K  pressure:   1.00 atm
     53   --->  Element: ArgonGas ( )   Z = 18.0   N =  39.9   A =  39.95 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
    4754
    4855
     
    5158/testem/det/setMat Water
    5259/testem/det/setSize 1 cm
     60#
     61/testem/phys/addPhysics standard
    5362#
    5463/testem/phys/setCuts 1 mm
     
    6170physicsList->Construct() start.
    6271physicsList->Construct() start.
     72physicsList->CheckParticleList() start.
    6373physicsList->setCut() start.
    6474PhysicsList::SetCuts:CutLength : 1 mm
     
    6979/run/beamOn 100000
    7080
    71 phot:  Total cross sections from Sandia parametrisation.
    72       Sampling according PhotoElectric model
    73 
    74 compt:  Total cross sections has a good parametrisation from 10 KeV to (100/Z) GeV
    75       Sampling according Klein-Nishina model
    76       tables are built for  gamma
    77       Lambda tables from 100 eV  to 100 TeV in 1200 bins.
    78 
    79 conv:  Total cross sections has a good parametrisation from 1.5 MeV to 100 GeV for all Z;
    80       sampling secondary e+e- according Bethe-Heitler model
    81       tables are built for  gamma
    82       Lambda tables from 1.022 MeV to 100 TeV in 1200 bins.
    83 
    84 eIoni:   tables are built for  e-
    85       dE/dx and range tables from 100 eV  to 100 TeV in 1200 bins.
    86       Lambda tables from threshold to 100 TeV in 1200 bins.
    87       Delta cross sections and sampling from MollerBhabha model
    88       Good description from 1 KeV to 100 GeV.
    89       Step function: finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1
    90       CSDA range table up to 100 TeV in 1200 bins.
    91 
    92 eBrem:   tables are built for  e-
    93       dE/dx and range tables from 100 eV  to 100 TeV in 1200 bins.
    94       Lambda tables from threshold to 100 TeV in 1200 bins.
    95       Total cross sections and sampling from StandBrem model (based on the EEDL data library)
    96       Good description from 1 KeV to 100 GeV, log scale extrapolation above 100 GeV. LPM flag 1
    97 
    98 eIoni:   tables are built for  e+
    99       dE/dx and range tables from 100 eV  to 100 TeV in 1200 bins.
    100       Lambda tables from threshold to 100 TeV in 1200 bins.
    101       Delta cross sections and sampling from MollerBhabha model
    102       Good description from 1 KeV to 100 GeV.
    103       Step function: finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1
    104       CSDA range table up to 100 TeV in 1200 bins.
    105 
    106 eBrem:   tables are built for  e+
    107       dE/dx and range tables from 100 eV  to 100 TeV in 1200 bins.
    108       Lambda tables from threshold to 100 TeV in 1200 bins.
    109       Total cross sections and sampling from StandBrem model (based on the EEDL data library)
    110       Good description from 1 KeV to 100 GeV, log scale extrapolation above 100 GeV. LPM flag 1
    111 
    112 annihil:       Sampling according eplus2gg model
    113       tables are built for  e+
    114       Lambda tables from 100 eV  to 100 TeV in 120 bins.
    115 
    116 hIoni:   tables are built for  proton
    117       dE/dx and range tables from 100 eV  to 100 TeV in 1200 bins.
    118       Lambda tables from threshold to 100 TeV in 1200 bins.
    119       Scaling relation is used from proton dE/dx and range.
    120       Delta cross sections and sampling from BetheBloch model for scaled energy > 2 MeV
    121       Parametrisation from Bragg for protons below. NuclearStopping= 1
    122       Step function: finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1
    123       CSDA range table up to 100 TeV in 1200 bins.
    124 
    125 ionIoni:   tables are built for  GenericIon
    126       dE/dx and range tables from 100 eV  to 100 TeV in 1200 bins.
    127       Lambda tables from threshold to 100 TeV in 1200 bins.
    128       Scaling relation is used from proton dE/dx and range.
    129       Delta cross sections and sampling from BetheBloch model for scaled energy > 2 MeV
    130       Parametrisation from BraggIon for protons below. NuclearStopping= 1
    131 
    132       Stopping Power data for 8 ion/material pairs are used.
    133       Step function: finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1
    134       CSDA range table up to 100 TeV in 1200 bins.
    135 
    136 hIoni:   tables are built for  anti_proton
    137       dE/dx and range tables from 100 eV  to 100 TeV in 1200 bins.
    138       Lambda tables from threshold to 100 TeV in 1200 bins.
    139       Scaling relation is used from proton dE/dx and range.
    140       Delta cross sections and sampling from BetheBloch model for scaled energy > 2 MeV
    141       Parametrisation from Bragg for protons below. NuclearStopping= 1
    142       Step function: finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1
    143       CSDA range table up to 100 TeV in 1200 bins.
    144 
    145 muIoni:   tables are built for  mu+
    146       dE/dx and range tables from 100 eV  to 100 TeV in 1200 bins.
    147       Lambda tables from threshold to 100 TeV in 1200 bins.
    148       Bether-Bloch model for E > 0.2 MeV, parametrisation of Bragg peak below,
    149       radiative corrections for E > 1 GeV
    150       Step function: finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1
    151       CSDA range table up to 100 TeV in 1200 bins.
    152 
    153 muBrems:   tables are built for  mu+
    154       dE/dx and range tables from 100 eV  to 100 TeV in 1200 bins.
    155       Lambda tables from threshold to 100 TeV in 1200 bins.
    156       Parametrised model
    157 
    158 muPairProd:   tables are built for  mu+
    159       dE/dx and range tables from 100 eV  to 100 TeV in 1200 bins.
    160       Lambda tables from threshold to 100 TeV in 1200 bins.
    161       Parametrised model
    162 
    163 muIoni:   tables are built for  mu-
    164       dE/dx and range tables from 100 eV  to 100 TeV in 1200 bins.
    165       Lambda tables from threshold to 100 TeV in 1200 bins.
    166       Bether-Bloch model for E > 0.2 MeV, parametrisation of Bragg peak below,
    167       radiative corrections for E > 1 GeV
    168       Step function: finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1
    169       CSDA range table up to 100 TeV in 1200 bins.
    170 
    171 muBrems:   tables are built for  mu-
    172       dE/dx and range tables from 100 eV  to 100 TeV in 1200 bins.
    173       Lambda tables from threshold to 100 TeV in 1200 bins.
    174       Parametrised model
    175 
    176 muPairProd:   tables are built for  mu-
    177       dE/dx and range tables from 100 eV  to 100 TeV in 1200 bins.
    178       Lambda tables from threshold to 100 TeV in 1200 bins.
    179       Parametrised model
    180 
    181 hIoni:   tables are built for  pi+
    182       dE/dx and range tables from 100 eV  to 100 TeV in 1200 bins.
    183       Lambda tables from threshold to 100 TeV in 1200 bins.
    184       Scaling relation is used from proton dE/dx and range.
    185       Delta cross sections and sampling from BetheBloch model for scaled energy > 0.297504 MeV
    186       Parametrisation from Bragg for protons below. NuclearStopping= 1
    187       Step function: finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1
    188       CSDA range table up to 100 TeV in 1200 bins.
    189 
    190 hIoni:   tables are built for  pi-
    191       dE/dx and range tables from 100 eV  to 100 TeV in 1200 bins.
    192       Lambda tables from threshold to 100 TeV in 1200 bins.
    193       Scaling relation is used from proton dE/dx and range.
    194       Delta cross sections and sampling from BetheBloch model for scaled energy > 0.297504 MeV
    195       Parametrisation from Bragg for protons below. NuclearStopping= 1
    196       Step function: finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1
    197       CSDA range table up to 100 TeV in 1200 bins.
     81phot:   for  gamma    SubType= 12
     82      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     83       PhotoElectric :     Emin=          0 eV         Emax=   100 TeV
     84
     85compt:   for  gamma    SubType= 13
     86      Lambda tables from 100 eV  to 100 TeV in 240 bins, spline: 1
     87      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     88       Klein-Nishina :     Emin=          0 eV         Emax=   100 TeV
     89
     90conv:   for  gamma    SubType= 14
     91      Lambda tables from 1.022 MeV to 100 TeV in 240 bins, spline: 1
     92      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     93       Bethe-Heitler :     Emin=          0 eV         Emax=   100 TeV
     94
     95eIoni:   for  e-    SubType= 2
     96      dE/dx and range tables from 100 eV  to 100 TeV in 240 bins
     97      Lambda tables from threshold to 100 TeV in 240 bins, spline: 1
     98      finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
     99      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     100        MollerBhabha :     Emin=          0 eV         Emax=   100 TeV
     101      CSDA range table up to 100 TeV in 240 bins
     102
     103eBrem:   for  e-    SubType= 3
     104      dE/dx and range tables from 100 eV  to 100 TeV in 240 bins
     105      Lambda tables from threshold to 100 TeV in 240 bins, spline: 1
     106      LPM flag: 1 for E > 1 GeV
     107      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     108               eBrem :     Emin=          0 eV         Emax=   1 GeV
     109            eBremRel :     Emin=          1 GeV        Emax=   100 TeV
     110
     111eIoni:   for  e+    SubType= 2
     112      dE/dx and range tables from 100 eV  to 100 TeV in 240 bins
     113      Lambda tables from threshold to 100 TeV in 240 bins, spline: 1
     114      finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
     115      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     116        MollerBhabha :     Emin=          0 eV         Emax=   100 TeV
     117      CSDA range table up to 100 TeV in 240 bins
     118
     119eBrem:   for  e+    SubType= 3
     120      dE/dx and range tables from 100 eV  to 100 TeV in 240 bins
     121      Lambda tables from threshold to 100 TeV in 240 bins, spline: 1
     122      LPM flag: 1 for E > 1 GeV
     123      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     124               eBrem :     Emin=          0 eV         Emax=   1 GeV
     125            eBremRel :     Emin=          1 GeV        Emax=   100 TeV
     126
     127annihil:   for  e+    SubType= 5
     128      Lambda tables from 100 eV  to 100 TeV in 240 bins, spline: 1
     129      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     130            eplus2gg :     Emin=          0 eV         Emax=   100 TeV
     131
     132hIoni:   for  proton    SubType= 2
     133      dE/dx and range tables from 100 eV  to 100 TeV in 240 bins
     134      Lambda tables from threshold to 100 TeV in 240 bins, spline: 1
     135      finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
     136      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     137               Bragg :     Emin=          0 eV         Emax=   2 MeV
     138          BetheBloch :     Emin=          2 MeV        Emax=   100 TeV
     139      CSDA range table up to 100 TeV in 240 bins
     140
     141ionIoni:   for  GenericIon    SubType= 2
     142      dE/dx and range tables from 100 eV  to 100 TeV in 240 bins
     143      Lambda tables from threshold to 100 TeV in 240 bins, spline: 1
     144      finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
     145      Stopping Power data for 17 ion/material pairs, nuclearStopping: 1
     146      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     147            BraggIon :     Emin=          0 eV         Emax=   2 MeV
     148          BetheBloch :     Emin=          2 MeV        Emax=   100 TeV
     149      CSDA range table up to 100 TeV in 240 bins
     150
     151hIoni:   for  anti_proton    SubType= 2
     152      dE/dx and range tables from 100 eV  to 100 TeV in 240 bins
     153      Lambda tables from threshold to 100 TeV in 240 bins, spline: 1
     154      finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
     155      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     156            ICRU73QO :     Emin=          0 eV         Emax=   2 MeV
     157          BetheBloch :     Emin=          2 MeV        Emax=   100 TeV
     158      CSDA range table up to 100 TeV in 240 bins
     159
     160hIoni:   for  kaon+    SubType= 2
     161      dE/dx and range tables from 100 eV  to 100 TeV in 240 bins
     162      Lambda tables from threshold to 100 TeV in 240 bins, spline: 1
     163      finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
     164      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     165               Bragg :     Emin=          0 eV         Emax=   1.05231 MeV
     166          BetheBloch :     Emin=    1.05231 MeV        Emax=   100 TeV
     167      CSDA range table up to 100 TeV in 240 bins
     168
     169hIoni:   for  kaon-    SubType= 2
     170      dE/dx and range tables from 100 eV  to 100 TeV in 240 bins
     171      Lambda tables from threshold to 100 TeV in 240 bins, spline: 1
     172      finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
     173      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     174            ICRU73QO :     Emin=          0 eV         Emax=   1.05231 MeV
     175          BetheBloch :     Emin=    1.05231 MeV        Emax=   100 TeV
     176      CSDA range table up to 100 TeV in 240 bins
     177
     178muIoni:   for  mu+    SubType= 2
     179      dE/dx and range tables from 100 eV  to 100 TeV in 240 bins
     180      Lambda tables from threshold to 100 TeV in 240 bins, spline: 1
     181      finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
     182      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     183               Bragg :     Emin=          0 eV         Emax=   200 keV
     184          BetheBloch :     Emin=        200 keV        Emax=   1 GeV
     185        MuBetheBloch :     Emin=          1 GeV        Emax=   100 TeV
     186      CSDA range table up to 100 TeV in 240 bins
     187
     188muBrems:   for  mu+    SubType= 3
     189      dE/dx and range tables from 100 eV  to 100 TeV in 240 bins
     190      Lambda tables from threshold to 100 TeV in 240 bins, spline: 1
     191      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     192              MuBrem :     Emin=          0 eV         Emax=   100 TeV
     193
     194muPairProd:   for  mu+    SubType= 4
     195      dE/dx and range tables from 100 eV  to 100 TeV in 240 bins
     196      Lambda tables from threshold to 100 TeV in 240 bins, spline: 1
     197      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     198          muPairProd :     Emin=          0 eV         Emax=   100 TeV
     199
     200muIoni:   for  mu-    SubType= 2
     201      dE/dx and range tables from 100 eV  to 100 TeV in 240 bins
     202      Lambda tables from threshold to 100 TeV in 240 bins, spline: 1
     203      finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
     204      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     205            ICRU73QO :     Emin=          0 eV         Emax=   200 keV
     206          BetheBloch :     Emin=        200 keV        Emax=   1 GeV
     207        MuBetheBloch :     Emin=          1 GeV        Emax=   100 TeV
     208      CSDA range table up to 100 TeV in 240 bins
     209
     210muBrems:   for  mu-    SubType= 3
     211      dE/dx and range tables from 100 eV  to 100 TeV in 240 bins
     212      Lambda tables from threshold to 100 TeV in 240 bins, spline: 1
     213      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     214              MuBrem :     Emin=          0 eV         Emax=   100 TeV
     215
     216muPairProd:   for  mu-    SubType= 4
     217      dE/dx and range tables from 100 eV  to 100 TeV in 240 bins
     218      Lambda tables from threshold to 100 TeV in 240 bins, spline: 1
     219      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     220          muPairProd :     Emin=          0 eV         Emax=   100 TeV
     221
     222hIoni:   for  pi+    SubType= 2
     223      dE/dx and range tables from 100 eV  to 100 TeV in 240 bins
     224      Lambda tables from threshold to 100 TeV in 240 bins, spline: 1
     225      finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
     226      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     227               Bragg :     Emin=          0 eV         Emax=   297.504 keV
     228          BetheBloch :     Emin=    297.504 keV        Emax=   100 TeV
     229      CSDA range table up to 100 TeV in 240 bins
     230
     231hIoni:   for  pi-    SubType= 2
     232      dE/dx and range tables from 100 eV  to 100 TeV in 240 bins
     233      Lambda tables from threshold to 100 TeV in 240 bins, spline: 1
     234      finalRange(mm)= 0.01, dRoverRange= 0.2, integral: 1, fluct: 1, linLossLimit= 0.01
     235      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     236            ICRU73QO :     Emin=          0 eV         Emax=   297.504 keV
     237          BetheBloch :     Emin=    297.504 keV        Emax=   100 TeV
     238      CSDA range table up to 100 TeV in 240 bins
    198239
    199240Region <DefaultRegionForTheWorld> -- appears in <Water> world volume
     
    201242 Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0]
    202243 Materials : Water
    203  Production cuts :  gamma 1 mm     e- 1 mm     e+ 1 mm
     244 Production cuts :   gamma 1 mm      e- 1 mm      e+ 1 mm  proton 0 fm
    204245
    205246========= Table of registered couples ==============================
     
    207248Index : 0     used in the geometry : Yes     recalculation needed : No
    208249 Material : Water
    209  Range cuts        :  gamma 1 mm     e- 1 mm     e+ 1 mm
    210  Energy thresholds :  gamma 2.90186 keV    e- 347.138 keV    e+ 338.695 keV
     250 Range cuts        :  gamma  1 mm     e-  1 mm     e+  1 mm  proton 0 fm
     251 Energy thresholds :  gamma  2.94056 keV    e-  351.877 keV    e+  342.545 keV proton 0 eV
    211252 Region(s) which use this couple :
    212253    DefaultRegionForTheWorld
     
    249290Run Summary
    250291  Number of events processed : 100000
    251   User=2.72s Real=2.76s Sys=0s
     292  User=1.92s Real=1.93s Sys=0s
    252293
    253294 ======================== run summary ======================
     
    257298
    258299
    259  trackLength= 1.0005 cm          nb of steps= 1.5836  stepSize= 6.3178 mm
    260 
    261  d-rays  : eLoss/primary= 247.88 keV      nb of d-rays= 0.2368  <Tkin>= 1.0468 MeV  Tmin= 347.15 keV  Tmax= 4.9503 MeV
    262 
    263  brems   : eLoss/primary= 177.14 keV      nb of gammas= 0.3051  <Tkin>= 580.59 keV  Tmin= 2.9021 keV  Tmax= 9.6977 MeV
    264 
    265  deposit : eLoss/primary= 1.7336 MeV     <dEcut > table= 1.7348 MeV   ---> simul/reference= 0.99932
    266 
    267  total   : eLoss/primary= 2.1586 MeV     <dEfull> table= 2.1627 MeV   ---> simul/reference= 0.9981
     300 trackLength= 1.0004 cm          nb of steps= 1.5793  stepSize= 6.3345 mm
     301
     302 d-rays  : eLoss/primary= 244.71 keV      nb of d-rays= 0.23138  <Tkin>= 1.0576 MeV  Tmin= 351.89 keV  Tmax= 4.9635 MeV
     303
     304 brems   : eLoss/primary= 174.25 keV      nb of gammas= 0.30571  <Tkin>= 569.99 keV  Tmin= 2.9419 keV  Tmax= 9.6093 MeV
     305
     306 deposit : eLoss/primary= 1.7345 MeV     <dEcut > table= 1.7358 MeV   ---> simul/reference= 0.99926
     307
     308 total   : eLoss/primary= 2.1535 MeV     <dEfull> table= 2.1628 MeV   ---> simul/reference= 0.99569
    268309
    269310--------- Ranecu engine status ---------
    270311 Initial seed (index) = 0
    271  Current couple of seeds = 539777958, 476209442
     312 Current couple of seeds = 1745407570, 996125143
    272313----------------------------------------
    273314UserDetectorConstruction deleted.
     
    277318G4 kernel has come to Quit state.
    278319EventManager deleted.
    279 Default detector region deleted.
    280320UImanager deleted.
    281321Units table cleared.
     
    283323RunManagerKernel is deleted.
    284324RunManager is deleting.
     325
  • trunk/examples/extended/electromagnetic/TestEm18/include/DetectorConstruction.hh

    r1230 r1337  
    2525//
    2626// $Id: DetectorConstruction.hh,v 1.1 2007/02/13 17:57:20 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm18/include/DetectorMessenger.hh

    r1230 r1337  
    2525//
    2626// $Id: DetectorMessenger.hh,v 1.1 2007/02/13 17:57:20 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm18/include/EventAction.hh

    r1230 r1337  
    2525//
    2626// $Id: EventAction.hh,v 1.1 2007/02/13 17:57:20 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm18/include/EventMessenger.hh

    r1230 r1337  
    2525//
    2626// $Id: EventMessenger.hh,v 1.1 2007/02/13 17:57:20 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm18/include/HistoManager.hh

    r1230 r1337  
    2525//
    2626// $Id: HistoManager.hh,v 1.2 2007/11/13 16:43:59 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm18/include/HistoMessenger.hh

    r1230 r1337  
    2525//
    2626// $Id: HistoMessenger.hh,v 1.2 2007/11/13 16:43:59 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm18/include/PhysListEmLivermore.hh

    r1230 r1337  
    2626//
    2727// $Id: PhysListEmLivermore.hh,v 1.2 2009/10/12 21:47:57 maire Exp $
    28 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     28// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2929
    3030#ifndef PhysListEmLivermore_h
  • trunk/examples/extended/electromagnetic/TestEm18/include/PhysListEmPenelope.hh

    r1230 r1337  
    2626//
    2727// $Id: PhysListEmPenelope.hh,v 1.2 2009/10/12 21:47:57 maire Exp $
    28 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     28// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2929
    3030#ifndef PhysListEmPenelope_h
  • trunk/examples/extended/electromagnetic/TestEm18/include/PhysListEmStandard.hh

    r1230 r1337  
    2525//
    2626// $Id: PhysListEmStandard.hh,v 1.1 2007/02/13 17:57:20 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm18/include/PhysicsList.hh

    r1230 r1337  
    2525//
    2626// $Id: PhysicsList.hh,v 1.3 2009/03/06 18:24:07 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm18/include/PhysicsListMessenger.hh

    r1230 r1337  
    2525//
    2626// $Id: PhysicsListMessenger.hh,v 1.3 2009/03/06 18:24:07 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm18/include/PrimaryGeneratorAction.hh

    r1230 r1337  
    2525//
    2626// $Id: PrimaryGeneratorAction.hh,v 1.1 2007/02/13 17:57:20 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm18/include/RunAction.hh

    r1230 r1337  
    2525//
    2626// $Id: RunAction.hh,v 1.1 2007/02/13 17:57:20 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm18/include/StackingAction.hh

    r1230 r1337  
    2525//
    2626// $Id: StackingAction.hh,v 1.1 2007/02/13 17:57:20 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm18/include/StepMax.hh

    r1230 r1337  
    2525//
    2626// $Id: StepMax.hh,v 1.1 2007/02/13 17:57:20 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm18/include/StepMaxMessenger.hh

    r1230 r1337  
    2525//
    2626// $Id: StepMaxMessenger.hh,v 1.1 2007/02/13 17:57:20 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm18/include/SteppingAction.hh

    r1230 r1337  
    2525//
    2626// $Id: SteppingAction.hh,v 1.1 2007/02/13 17:57:20 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm18/include/SteppingVerbose.hh

    r1230 r1337  
    2525//
    2626// $Id: SteppingVerbose.hh,v 1.1 2007/02/13 17:57:20 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//   This class manages the verbose outputs in G4SteppingManager.
  • trunk/examples/extended/electromagnetic/TestEm18/src/DetectorConstruction.cc

    r1230 r1337  
    2525//
    2626// $Id: DetectorConstruction.cc,v 1.3 2009/03/06 18:24:07 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm18/src/DetectorMessenger.cc

    r1230 r1337  
    2525//
    2626// $Id: DetectorMessenger.cc,v 1.1 2007/02/13 17:57:20 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm18/src/EventAction.cc

    r1230 r1337  
    2424// ********************************************************************
    2525//
    26 // $Id: EventAction.cc,v 1.1 2007/02/13 17:57:20 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     26// $Id: EventAction.cc,v 1.3 2010/06/07 05:40:46 perl Exp $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
     
    3737
    3838#include "G4Event.hh"
    39 #include "G4TrajectoryContainer.hh"
    40 #include "G4Trajectory.hh"
    41 #include "G4VVisManager.hh"
    4239
    4340//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
     
    7370//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
    7471
    75 void EventAction::EndOfEventAction(const G4Event* evt)
     72void EventAction::EndOfEventAction(const G4Event*)
    7673{
    7774 runaction->AddEnergyDeposit(EnergyDeposit);
     
    7976 histoManager->FillHisto(2, EnergySecondary);
    8077 histoManager->FillHisto(3, EnergyDeposit+EnergySecondary);
    81 
    82  if (G4VVisManager::GetConcreteInstance())
    83   {
    84    G4TrajectoryContainer* trajectoryContainer = evt->GetTrajectoryContainer();
    85    G4int n_trajectories = 0;
    86    if (trajectoryContainer) n_trajectories = trajectoryContainer->entries(); 
    87    for (G4int i=0; i<n_trajectories; i++)
    88       { G4Trajectory* trj = (G4Trajectory*)
    89                                       ((*(evt->GetTrajectoryContainer()))[i]);
    90         if (drawFlag == "all") trj->DrawTrajectory(1000);
    91         else if ((drawFlag == "charged")&&(trj->GetCharge() != 0.))
    92                                trj->DrawTrajectory(1000);
    93         else if ((drawFlag == "neutral")&&(trj->GetCharge() == 0.))
    94                                trj->DrawTrajectory(1000);
    95                                
    96       }
    97   } 
    9878}
    9979
  • trunk/examples/extended/electromagnetic/TestEm18/src/EventMessenger.cc

    r1230 r1337  
    2525//
    2626// $Id: EventMessenger.cc,v 1.1 2007/02/13 17:57:20 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm18/src/HistoManager.cc

    r1230 r1337  
    2525//
    2626// $Id: HistoManager.cc,v 1.5 2008/09/26 20:26:01 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm18/src/HistoMessenger.cc

    r1230 r1337  
    2525//
    2626// $Id: HistoMessenger.cc,v 1.2 2007/11/13 16:43:59 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm18/src/PhysListEmLivermore.cc

    r1230 r1337  
    2626//
    2727// $Id: PhysListEmLivermore.cc,v 1.3 2009/11/19 18:46:04 maire 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/electromagnetic/TestEm18/src/PhysListEmPenelope.cc

    r1230 r1337  
    2626//
    2727// $Id: PhysListEmPenelope.cc,v 1.3 2009/11/19 18:46:04 maire 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/electromagnetic/TestEm18/src/PhysListEmStandard.cc

    r1230 r1337  
    2525//
    2626// $Id: PhysListEmStandard.cc,v 1.2 2009/11/19 18:46:04 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm18/src/PhysicsList.cc

    r1230 r1337  
    2525//
    2626// $Id: PhysicsList.cc,v 1.5 2009/03/06 18:24:07 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm18/src/PhysicsListMessenger.cc

    r1230 r1337  
    2525//
    2626// $Id: PhysicsListMessenger.cc,v 1.3 2009/03/06 18:24:07 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm18/src/PrimaryGeneratorAction.cc

    r1230 r1337  
    2525//
    2626// $Id: PrimaryGeneratorAction.cc,v 1.1 2007/02/13 17:57:20 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm18/src/RunAction.cc

    r1230 r1337  
    2525//
    2626// $Id: RunAction.cc,v 1.2 2007/02/16 11:59:47 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm18/src/StackingAction.cc

    r1230 r1337  
    2525//
    2626// $Id: StackingAction.cc,v 1.1 2007/02/13 17:57:20 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm18/src/StepMax.cc

    r1230 r1337  
    2525//
    2626// $Id: StepMax.cc,v 1.1 2007/02/13 17:57:20 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm18/src/StepMaxMessenger.cc

    r1230 r1337  
    2525//
    2626// $Id: StepMaxMessenger.cc,v 1.1 2007/02/13 17:57:20 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm18/src/SteppingAction.cc

    r1230 r1337  
    2525//
    2626// $Id: SteppingAction.cc,v 1.1 2007/02/13 17:57:20 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm18/src/SteppingVerbose.cc

    r1230 r1337  
    2525//
    2626// $Id: SteppingVerbose.cc,v 1.1 2007/02/13 17:57:20 maire Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/examples/extended/electromagnetic/TestEm18/vis.mac

    r807 r1337  
    11#
    2 # Macro file for the initialization phase of "TestEm5.cc"
     2# Macro file for the initialization phase of "TestEm6.cc"
     3#
    34# Sets some default verbose
    45# and initializes the graphic.
     
    67/control/verbose 2
    78/run/verbose 2
     9#
    810/run/initialize
    911#
    10 # Create empty scene ("world" is default)
    11 /vis/scene/create
     12# Use this open statement to create an OpenGL view:
     13/vis/open OGL 600x600-0+0
    1214#
    13 # Create a scene handler for a specific graphics system
    14 # Edit the next line(s) to choose another graphic system
     15# Use this open statement to create a .prim file suitable for
     16# viewing in DAWN:
     17#/vis/open DAWNFILE
    1518#
    16 /vis/open DAWNFILE
    17 /vis/open OGLIX
     19# Use this open statement to create a .heprep file suitable for
     20# viewing in HepRApp:
     21#/vis/open HepRepFile
    1822#
    19 # Draw scene
     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:
     33/vis/drawVolume
     34#
     35# Specify view angle:
     36#/vis/viewer/set/viewpointThetaPhi 90. 0.
     37#
     38# Specify zoom value:
    2039/vis/viewer/zoom 1.4
    21 /vis/viewer/flush
    2240#
    23 # for drawing the tracks
    24 # if too many tracks cause core dump => storeTrajectory 0
    25 /tracking/storeTrajectory 1
     41# Specify style (surface or wireframe):
     42#/vis/viewer/set/style surface
     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:
    2672/vis/scene/endOfEventAction accumulate
    2773#
    28 /testem/event/drawTracks
     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
Note: See TracChangeset for help on using the changeset viewer.