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/TestEm15
Files:
36 edited

Legend:

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

    r807 r1337  
    1 $Id: History,v 1.9 2007/11/13 14:13:31 maire Exp $
     1$Id: History,v 1.18 2010/06/07 05:40:46 perl Exp $
    22-------------------------------------------------------------------
    33
     
    1616     ----------------------------------------------------------
    1717     
     1806-06-10 J.Perl (testem15-V09-03-02)
     19- Remove unused variable in EventAction
     20
     2103-06-10 J.Perl (testem15-V09-03-01)
     22- Updated vis usage
     23
     2420-05-10 mma (testem15-V09-03-00)
     25- TestEm15.cc : introduction of G4UIExecutive
     26     
     2719-11-09 mma (testem15-V09-02-00)
     28- PhysListEmStandard : introduce MuMultipleScattering
     29 
     3026-09-08 mma (testem15-V09-01-04)
     31- HistoManager : root as default format
     32
     3312-06-08 mma (testem15-V09-01-03)
     34- Remove AIDA from GNUmakefile
     35     
     3607-05-08 mma (testem15-V09-01-02)
     37- README : update Aida informations     
     38     
     3907-04-08 mma (testem15-V09-01-01)
     40- PhysListEmStandard : replace G4MultipleScattering by G4eMultipleScattering;
     41- HistoManager::saveAscii() : redefinition of binEdge
     42     
     4308-01-08 mma (testem15-V09-01-00)
     44- HistoManager : ascii[0] = flag to control creation of .ascii file
     45     
    184613-11-07 mma (testem15-V09-00-00)
    1947- HistoManager/HistoMessenger : print selected histos on ascii file
  • trunk/examples/extended/electromagnetic/TestEm15/README

    r807 r1337  
    1 $Id: README,v 1.4 2007/11/13 14:13:31 maire Exp $
     1$Id: README,v 1.6 2008/09/26 19:47:51 maire Exp $
    22-------------------------------------------------------------------
    33
     
    7676        the commands:
    7777        /testem/histo/setFileName  name  (default testem15)
    78         /testem/histo/setFileType  name  (default hbook)
     78        /testem/histo/setFileType  name  (default root)
    7979       
    8080        It is also possible to print selected histograms on an ascii file:
     
    127127         
    128128  To use histograms, at least one of the AIDA implementations should be
    129   available (see http://aida.freehep.org).
    130  
    131  8a - PI
    132 
    133   A package including AIDA and extended interfaces also using Python is PI,
    134   available from: http://cern.ch/pi
    135 
    136   Once installed PI or PI-Lite in a specified local area $MYPY, it is required
    137   to add the installation path to $PATH, i.e. for example, for release 1.2.1 of
    138   PI:
    139   setenv PATH ${PATH}:$MYPI/1.2.1/app/releases/PI/PI_1_2_1/rh73_gcc32/bin
    140 
    141   CERN users can use the PATH to the LCG area on AFS.
    142   Before running the example the command should be issued:
    143   eval `aida-config --runtime csh`
    144 
    145  8b -  OpenScientist
    146 
    147   OpenScientist is available at http://OpenScientist.lal.in2p3.fr.
    148 
    149   You have to "setup" the OpenScientist AIDA implementation before compiling
    150   (then with G4ANALYSIS_USE set) and running your Geant4 application.
    151 
    152  On UNIX you setup, with a csh flavoured shell :
    153         csh> source <<OpenScientist install path>/aida-setup.csh
    154         or with a sh flavoured shell :
    155         sh> . <<OpenScientist install path>/aida-setup.sh
    156  On Windows :
    157         DOS> call <<OpenScientist install path>/aida-setup.bat
    158 
    159   You can use various file formats for writing (AIDA-XML, hbook, root).
    160   These formats are readable by the Lab onx interactive program
    161   or the OpenPAW application. See the web pages.
    162 
    163 
    164   With OpenPAW, on a run.hbook file, one can view the histograms
    165   with something like :
    166         OS> opaw
    167         opaw> h/file 1 run.hbook  ( or opaw> h/file 1 run.aida or run.root) 
    168         opaw> zone 2 2
    169         opaw> h/plot 1
    170         opaw> h/plot 2
     129  available. See InstallAida.txt
  • trunk/examples/extended/electromagnetic/TestEm15/TestEm15.cc

    r1230 r1337  
    2424// ********************************************************************
    2525//
    26 // $Id: TestEm15.cc,v 1.2 2006/06/29 16:46:08 gunter Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     26// $Id: TestEm15.cc,v 1.3 2010/05/20 21:29:29 maire Exp $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
     
    3232#include "G4RunManager.hh"
    3333#include "G4UImanager.hh"
    34 #include "G4UIterminal.hh"
    35 #include "G4UItcsh.hh"
    3634#include "Randomize.hh"
    3735
     
    4846#ifdef G4VIS_USE
    4947 #include "G4VisExecutive.hh"
     48#endif
     49
     50#ifdef G4UI_USE
     51#include "G4UIExecutive.hh"
    5052#endif
    5153
     
    6971  runManager->SetUserInitialization(new PhysicsList);
    7072  runManager->SetUserAction(prim = new PrimaryGeneratorAction(det));
    71  
    72   #ifdef G4VIS_USE
    73    // visualization manager
    74    G4VisManager* visManager = new G4VisExecutive;
    75    visManager->Initialize();
    76   #endif
    77  
     73   
    7874  HistoManager*  histo = new HistoManager();
    7975     
     
    8783    G4UImanager* UI = G4UImanager::GetUIpointer(); 
    8884
    89   if (argc==1)   // Define UI terminal for interactive mode 
    90     {
    91      G4UIsession * session = 0;
    92 #ifdef G4UI_USE_TCSH
    93       session = new G4UIterminal(new G4UItcsh);     
    94 #else
    95       session = new G4UIterminal();
    96 #endif     
    97      session->SessionStart();
    98      delete session;
    99     }
    100   else           // Batch mode
    101     {
     85  if (argc!=1)   // batch mode 
     86    {
    10287     G4String command = "/control/execute ";
    10388     G4String fileName = argv[1];
    10489     UI->ApplyCommand(command+fileName);
    10590    }
     91   
     92  else           //define visualization and UI terminal for interactive mode
     93    {
     94#ifdef G4VIS_USE
     95   G4VisManager* visManager = new G4VisExecutive;
     96   visManager->Initialize();
     97#endif   
     98     
     99#ifdef G4UI_USE
     100      G4UIExecutive * ui = new G4UIExecutive(argc,argv);     
     101      ui->SessionStart();
     102      delete ui;
     103#endif
     104         
     105#ifdef G4VIS_USE
     106     delete visManager;
     107#endif     
     108    }
    106109
    107110  // job termination     
    108 #ifdef G4VIS_USE
    109  delete visManager;
    110 #endif
    111 
     111  //
    112112  delete histo;
    113113  delete runManager;
  • trunk/examples/extended/electromagnetic/TestEm15/TestEm15.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
     
    1014***** Table : Nb of materials = 16 *****
    1115
    12  Material:      Air     density:  1.290 mg/cm3  RadL: 285.161 m    Imean:  85.684 eV   temperature: 273.15 K  pressure:   1.00 atm
     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: H2liquid     density: 70.800 mg/cm3  RadL:   8.923 m    Imean:  21.800 eV
     20 Material: H2liquid     density: 70.800 mg/cm3  RadL:   8.923 m    Nucl.Int.Length:   4.960 m    Imean:  19.200 eV
    1721   --->  Element: Hydrogen (H)   Z =  1.0   N =   1.0   A =   1.01 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
    1822
    19  Material:    Water H_2O   density:  1.000 g/cm3   RadL:  36.092 cm   Imean:  75.000 eV
     23 Material:    Water H_2O   density:  1.000 g/cm3   RadL:  36.092 cm   Nucl.Int.Length:  75.416 cm   Imean:  75.000 eV
    2024   --->  Element: Hydrogen (H)   Z =  1.0   N =   1.0   A =   1.01 g/mole  ElmMassFraction:  11.21 %  ElmAbundance  66.67 %
    2125   --->  Element: Oxygen (O)   Z =  8.0   N =  16.0   A =  16.00 g/mole  ElmMassFraction:  88.79 %  ElmAbundance  33.33 %
    2226
    23  Material: liquidArgon     density:  1.390 g/cm3   RadL:  14.065 cm   Imean: 187.200 eV
     27 Material: liquidArgon     density:  1.390 g/cm3   RadL:  14.065 cm   Nucl.Int.Length:  86.078 cm   Imean: 188.000 eV
    2428   --->  Element: liquidArgon ( )   Z = 18.0   N =  40.0   A =  39.95 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
    2529
    26  Material:   Carbon     density:  2.267 g/cm3   RadL:  18.833 cm   Imean:  78.000 eV
     30 Material:   Carbon     density:  2.267 g/cm3   RadL:  18.833 cm   Nucl.Int.Length:  35.356 cm   Imean:  81.000 eV
    2731   --->  Element: Carbon ( )   Z =  6.0   N =  12.0   A =  12.01 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
    2832
    29  Material: Aluminium     density:  2.700 g/cm3   RadL:   8.893 cm   Imean: 166.400 eV
     33 Material: Aluminium     density:  2.700 g/cm3   RadL:   8.893 cm   Nucl.Int.Length:  38.879 cm   Imean: 166.000 eV
    3034   --->  Element: Aluminium ( )   Z = 13.0   N =  27.0   A =  26.98 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
    3135
    32  Material:  Silicon     density:  2.330 g/cm3   RadL:   9.368 cm   Imean: 173.600 eV
     36 Material:  Silicon     density:  2.330 g/cm3   RadL:   9.368 cm   Nucl.Int.Length:  45.663 cm   Imean: 173.000 eV
    3337   --->  Element: Silicon ( )   Z = 14.0   N =  28.1   A =  28.09 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
    3438
    35  Material: Germanium     density:  5.323 g/cm3   RadL:   2.301 cm   Imean: 332.800 eV
     39 Material: Germanium     density:  5.323 g/cm3   RadL:   2.301 cm   Nucl.Int.Length:  27.431 cm   Imean: 350.000 eV
    3640   --->  Element: Germanium ( )   Z = 32.0   N =  72.6   A =  72.61 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
    3741
    38  Material:      NaI     density:  3.670 g/cm3   RadL:   2.586 cm   Imean: 452.000 eV
     42 Material:      NaI     density:  3.670 g/cm3   RadL:   2.586 cm   Nucl.Int.Length:  42.878 cm   Imean: 452.000 eV
    3943   --->  Element: Sodium (Na)   Z = 11.0   N =  23.0   A =  22.99 g/mole  ElmMassFraction:  15.34 %  ElmAbundance  50.00 %
    4044   --->  Element: Iodine (I)   Z = 53.0   N = 126.9   A = 126.90 g/mole  ElmMassFraction:  84.66 %  ElmAbundance  50.00 %
    4145
    42  Material:   Iodine     density:  4.930 g/cm3   RadL:   1.720 cm   Imean: 492.900 eV
     46 Material:   Iodine     density:  4.930 g/cm3   RadL:   1.720 cm   Nucl.Int.Length:  35.676 cm   Imean: 491.000 eV
    4347   --->  Element: Iodine (I)   Z = 53.0   N = 126.9   A = 126.90 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
    4448
    45  Material:      BGO     density:  7.100 g/cm3   RadL:   1.123 cm   Imean: 469.142 eV
     49 Material:      BGO     density:  7.100 g/cm3   RadL:   1.123 cm   Nucl.Int.Length:  22.806 cm   Imean: 473.785 eV
    4650   --->  Element: Oxygen (O)   Z =  8.0   N =  16.0   A =  16.00 g/mole  ElmMassFraction:  15.41 %  ElmAbundance  63.16 %
    4751   --->  Element: Germanium (Ge)   Z = 32.0   N =  72.6   A =  72.59 g/mole  ElmMassFraction:  17.48 %  ElmAbundance  15.79 %
    4852   --->  Element: Bismuth (Bi)   Z = 83.0   N = 209.0   A = 208.98 g/mole  ElmMassFraction:  67.10 %  ElmAbundance  21.05 %
    4953
    50  Material:     Iron     density:  7.870 g/cm3   RadL:   1.759 cm   Imean: 286.000 eV
    51    --->  Element: Iron ( )   Z = 26.0   N =  55.9   A =  55.85 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
    52 
    53  Material: Tungsten     density: 19.300 g/cm3   RadL:   3.504 mm   Imean: 725.200 eV
     54 Material:     Iron     density:  7.870 g/cm3   RadL:   1.759 cm   Nucl.Int.Length:  16.999 cm   Imean: 286.000 eV
     55   --->  Element: Iron ( )   Z = 26.0   N =  55.8   A =  55.85 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
     56
     57 Material: Tungsten     density: 19.300 g/cm3   RadL:   3.504 mm   Nucl.Int.Length:  10.312 cm   Imean: 727.000 eV
    5458   --->  Element: Tungsten ( )   Z = 74.0   N = 183.8   A = 183.85 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
    5559
    56  Material:     Lead     density: 11.350 g/cm3   RadL:   5.612 mm   Imean: 820.000 eV
     60 Material:     Lead     density: 11.350 g/cm3   RadL:   5.612 mm   Nucl.Int.Length:  18.247 cm   Imean: 823.000 eV
    5761   --->  Element: Lead ( )   Z = 82.0   N = 207.2   A = 207.19 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
    5862
    59  Material:  Uranium     density: 18.950 g/cm3   RadL:   3.166 mm   Imean: 892.400 eV
     63 Material:  Uranium     density: 18.950 g/cm3   RadL:   3.166 mm   Nucl.Int.Length:  11.446 cm   Imean: 890.000 eV
    6064   --->  Element: Uranium ( )   Z = 92.0   N = 238.0   A = 238.03 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
    6165
    62  Material: Galactic     density:  0.000 mg/cm3  RadL: 204322175.595 pc   Imean:  21.800 eV   temperature:   2.73 K  pressure:   0.00 atm
     66 Material: Galactic     density:  0.000 kg/m3   RadL: 204322111.300 pc   Nucl.Int.Length: 113728944.943 pc   Imean:  19.200 eV   temperature:   2.73 K  pressure:   0.00 atm
    6367   --->  Element: Galactic ( )   Z =  1.0   N =   1.0   A =   1.01 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
    6468
    65 
    66 Visualization Manager instantiating...
    67 Visualization Manager initialising...
    68 Registering graphics systems...
    69 
    70 You have successfully registered the following graphics systems.
    71 Current available graphics systems are:
    72   ASCIITree (ATree)
    73   DAWNFILE (DAWNFILE)
    74   G4HepRep (HepRepXML)
    75   G4HepRepFile (HepRepFile)
    76   RayTracer (RayTracer)
    77   VRML1FILE (VRML1FILE)
    78   VRML2FILE (VRML2FILE)
    79   OpenGLImmediateX (OGLIX)
    80   OpenGLStoredX (OGLSX)
    81 
    82 Registering model factories...
    83 
    84 You have successfully registered the following model factories.
    85 Registered model factories:
    86   generic
    87   drawByCharge
    88   drawByParticleID
    89   drawByOriginVolume
    90   drawByAttribute
    91 
    92 Registered filter factories:
    93   chargeFilter
    94   particleFilter
    95   originVolumeFilter
    96   attributeFilter
    9769
    9870/run/verbose 2
     
    10779physicsList->Construct() start.
    10880physicsList->Construct() start.
     81physicsList->CheckParticleList() start.
    10982physicsList->setCut() start.
    11083#
     
    12295/run/beamOn 10000
    12396
    124 phot:  Total cross sections from Sandia parametrisation.
    125       Sampling according PhotoElectric model
    126 
    127 compt:  Total cross sections has a good parametrisation from 10 KeV to (100/Z) GeV
    128       Sampling according Klein-Nishina model
    129       tables are built for  gamma
    130       Lambda tables from 100 eV  to 100 GeV in 90 bins.
    131 
    132 conv:  Total cross sections has a good parametrisation from 1.5 MeV to 100 GeV for all Z;
    133       sampling secondary e+e- according Bethe-Heitler model
    134       tables are built for  gamma
    135       Lambda tables from 1.022 MeV to 100 GeV in 100 bins.
    136 
    137 msc:  Model variant of multiple scattering for e-
    138       Lambda tables from 100 eV  to 100 TeV in 120 bins.
    139       LateralDisplacementFlag=  1   Skin= 0
    140       Boundary/stepping algorithm is active with RangeFactor= 0.02  Step limit type 1
    141 
    142 eIoni:   tables are built for  e-
    143       dE/dx and range tables from 100 eV  to 100 TeV in 120 bins.
    144       Lambda tables from threshold to 100 TeV in 120 bins.
    145       Delta cross sections and sampling from MollerBhabha model
    146       Good description from 1 KeV to 100 GeV.
    147 
    148 eBrem:   tables are built for  e-
    149       dE/dx and range tables from 100 eV  to 100 TeV in 120 bins.
    150       Lambda tables from threshold to 100 TeV in 120 bins.
    151       Total cross sections and sampling from StandBrem model (based on the EEDL data library)
    152       Good description from 1 KeV to 100 GeV, log scale extrapolation above 100 GeV. LPM flag 1
    153       Step function: finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0
    154 
    155 eIoni:   tables are built for  e+
    156       dE/dx and range tables from 100 eV  to 100 TeV in 120 bins.
    157       Lambda tables from threshold to 100 TeV in 120 bins.
    158       Delta cross sections and sampling from MollerBhabha model
    159       Good description from 1 KeV to 100 GeV.
    160 
    161 eBrem:   tables are built for  e+
    162       dE/dx and range tables from 100 eV  to 100 TeV in 120 bins.
    163       Lambda tables from threshold to 100 TeV in 120 bins.
    164       Total cross sections and sampling from StandBrem model (based on the EEDL data library)
    165       Good description from 1 KeV to 100 GeV, log scale extrapolation above 100 GeV. LPM flag 1
    166       Step function: finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0
    167 
    168 annihil:       Sampling according eplus2gg model
    169       tables are built for  e+
    170       Lambda tables from 100 eV  to 100 TeV in 120 bins.
    171 
    172 msc:  Model variant of multiple scattering for proton
    173       Lambda tables from 100 eV  to 100 TeV in 120 bins.
    174       LateralDisplacementFlag=  1   Skin= 0
    175       Boundary/stepping algorithm is active with RangeFactor= 0.02  Step limit type 1
    176 
    177 hIoni:   tables are built for  proton
    178       dE/dx and range tables from 100 eV  to 100 TeV in 120 bins.
    179       Lambda tables from threshold to 100 TeV in 120 bins.
    180       Scaling relation is used from proton dE/dx and range.
    181       Delta cross sections and sampling from BetheBloch model for scaled energy > 2 MeV
    182       Parametrisation from Bragg for protons below. NuclearStopping= 1
    183       Step function: finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0
    184 
    185 msc:  Model variant of multiple scattering for GenericIon
    186       LateralDisplacementFlag=  0   Skin= 0
    187       Boundary/stepping algorithm is active with RangeFactor= 0.2  Step limit type 1
    188 
    189 ionIoni:   tables are built for  GenericIon
    190       dE/dx and range tables from 100 eV  to 100 TeV in 120 bins.
    191       Lambda tables from threshold to 100 TeV in 120 bins.
    192       Scaling relation is used from proton dE/dx and range.
    193       Delta cross sections and sampling from BetheBloch model for scaled energy > 2 MeV
    194       Parametrisation from BraggIon for protons below. NuclearStopping= 1
    195 
    196       Stopping Power data for 8 ion/material pairs are used.
    197       Step function: finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0
    198 
    199 hIoni:   tables are built for  anti_proton
    200       dE/dx and range tables from 100 eV  to 100 TeV in 120 bins.
    201       Lambda tables from threshold to 100 TeV in 120 bins.
    202       Scaling relation is used from proton dE/dx and range.
    203       Delta cross sections and sampling from BetheBloch model for scaled energy > 2 MeV
    204       Parametrisation from Bragg for protons below. NuclearStopping= 1
    205       Step function: finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0
    206 
    207 msc:  Model variant of multiple scattering for mu+
    208       Lambda tables from 100 eV  to 100 TeV in 120 bins.
    209       LateralDisplacementFlag=  1   Skin= 0
    210       Boundary/stepping algorithm is active with RangeFactor= 0.02  Step limit type 1
    211 
    212 muIoni:   tables are built for  mu+
    213       dE/dx and range tables from 100 eV  to 100 TeV in 120 bins.
    214       Lambda tables from threshold to 100 TeV in 120 bins.
    215       Bether-Bloch model for E > 0.2 MeV, parametrisation of Bragg peak below,
    216       radiative corrections for E > 1 GeV
    217       Step function: finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0
    218 
    219 muBrems:   tables are built for  mu+
    220       dE/dx and range tables from 100 eV  to 100 TeV in 120 bins.
    221       Lambda tables from threshold to 100 TeV in 120 bins.
    222       Parametrised model
    223 
    224 muPairProd:   tables are built for  mu+
    225       dE/dx and range tables from 100 eV  to 100 TeV in 120 bins.
    226       Lambda tables from threshold to 100 TeV in 120 bins.
    227       Parametrised model
    228 
    229 muIoni:   tables are built for  mu-
    230       dE/dx and range tables from 100 eV  to 100 TeV in 120 bins.
    231       Lambda tables from threshold to 100 TeV in 120 bins.
    232       Bether-Bloch model for E > 0.2 MeV, parametrisation of Bragg peak below,
    233       radiative corrections for E > 1 GeV
    234       Step function: finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0
    235 
    236 muBrems:   tables are built for  mu-
    237       dE/dx and range tables from 100 eV  to 100 TeV in 120 bins.
    238       Lambda tables from threshold to 100 TeV in 120 bins.
    239       Parametrised model
    240 
    241 muPairProd:   tables are built for  mu-
    242       dE/dx and range tables from 100 eV  to 100 TeV in 120 bins.
    243       Lambda tables from threshold to 100 TeV in 120 bins.
    244       Parametrised model
    245 
    246 hIoni:   tables are built for  pi+
    247       dE/dx and range tables from 100 eV  to 100 TeV in 120 bins.
    248       Lambda tables from threshold to 100 TeV in 120 bins.
    249       Scaling relation is used from proton dE/dx and range.
    250       Delta cross sections and sampling from BetheBloch model for scaled energy > 0.297504 MeV
    251       Parametrisation from Bragg for protons below. NuclearStopping= 1
    252       Step function: finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0
    253 
    254 msc:  Model variant of multiple scattering for pi-
    255       Lambda tables from 100 eV  to 100 TeV in 120 bins.
    256       LateralDisplacementFlag=  1   Skin= 0
    257       Boundary/stepping algorithm is active with RangeFactor= 0.02  Step limit type 1
    258 
    259 hIoni:   tables are built for  pi-
    260       dE/dx and range tables from 100 eV  to 100 TeV in 120 bins.
    261       Lambda tables from threshold to 100 TeV in 120 bins.
    262       Scaling relation is used from proton dE/dx and range.
    263       Delta cross sections and sampling from BetheBloch model for scaled energy > 0.297504 MeV
    264       Parametrisation from Bragg for protons below. NuclearStopping= 1
    265       Step function: finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0
     97phot:   for  gamma    SubType= 12
     98      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     99       PhotoElectric :     Emin=          0 eV         Emax=   10 TeV
     100
     101compt:   for  gamma    SubType= 13
     102      Lambda tables from 100 eV  to 10 TeV in 77 bins, spline: 1
     103      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     104       Klein-Nishina :     Emin=          0 eV         Emax=   10 TeV
     105
     106conv:   for  gamma    SubType= 14
     107      Lambda tables from 1.022 MeV to 10 TeV in 77 bins, spline: 1
     108      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     109       Bethe-Heitler :     Emin=          0 eV         Emax=   10 TeV
     110
     111msc:   for e-    SubType= 10
     112      Lambda tables from 100 eV  to 10 TeV in 77 bins, spline: 1
     113      RangeFactor= 0.04, stepLimitType: 1, latDisplacement: 1
     114      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     115          UrbanMsc93 :     Emin=          0 eV         Emax=   10 TeV
     116
     117eIoni:   for  e-    SubType= 2
     118      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     119      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     120      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     121        MollerBhabha :     Emin=          0 eV         Emax=   10 TeV
     122
     123eBrem:   for  e-    SubType= 3
     124      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     125      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     126      finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0, linLossLimit= 0.01
     127      LPM flag: 1 for E > 1 GeV
     128      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     129               eBrem :     Emin=          0 eV         Emax=   1 GeV
     130            eBremRel :     Emin=          1 GeV        Emax=   10 TeV
     131
     132eIoni:   for  e+    SubType= 2
     133      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     134      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     135      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     136        MollerBhabha :     Emin=          0 eV         Emax=   10 TeV
     137
     138eBrem:   for  e+    SubType= 3
     139      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     140      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     141      finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0, linLossLimit= 0.01
     142      LPM flag: 1 for E > 1 GeV
     143      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     144               eBrem :     Emin=          0 eV         Emax=   1 GeV
     145            eBremRel :     Emin=          1 GeV        Emax=   10 TeV
     146
     147annihil:   for  e+    SubType= 5
     148      Lambda tables from 100 eV  to 10 TeV in 77 bins, spline: 1
     149      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     150            eplus2gg :     Emin=          0 eV         Emax=   10 TeV
     151
     152msc:   for proton    SubType= 10
     153      Lambda tables from 100 eV  to 10 TeV in 77 bins, spline: 1
     154      RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
     155      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     156          UrbanMsc90 :     Emin=          0 eV         Emax=   10 TeV
     157
     158hIoni:   for  proton    SubType= 2
     159      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     160      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     161      finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0, linLossLimit= 0.01
     162      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     163               Bragg :     Emin=          0 eV         Emax=   2 MeV
     164          BetheBloch :     Emin=          2 MeV        Emax=   10 TeV
     165
     166msc:   for GenericIon    SubType= 10
     167      RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 0
     168      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     169          UrbanMsc90 :     Emin=          0 eV         Emax=   10 TeV
     170
     171ionIoni:   for  GenericIon    SubType= 2
     172      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     173      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     174      finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0, linLossLimit= 0.02
     175      Stopping Power data for 17 ion/material pairs, nuclearStopping: 1
     176      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     177            BraggIon :     Emin=          0 eV         Emax=   2 MeV
     178          BetheBloch :     Emin=          2 MeV        Emax=   10 TeV
     179
     180hIoni:   for  anti_proton    SubType= 2
     181      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     182      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     183      finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0, linLossLimit= 0.01
     184      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     185            ICRU73QO :     Emin=          0 eV         Emax=   2 MeV
     186          BetheBloch :     Emin=          2 MeV        Emax=   10 TeV
     187
     188hIoni:   for  kaon+    SubType= 2
     189      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     190      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     191      finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0, linLossLimit= 0.01
     192      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     193               Bragg :     Emin=          0 eV         Emax=   1.05231 MeV
     194          BetheBloch :     Emin=    1.05231 MeV        Emax=   10 TeV
     195
     196hIoni:   for  kaon-    SubType= 2
     197      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     198      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     199      finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0, linLossLimit= 0.01
     200      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     201            ICRU73QO :     Emin=          0 eV         Emax=   1.05231 MeV
     202          BetheBloch :     Emin=    1.05231 MeV        Emax=   10 TeV
     203
     204muMsc:   for mu+    SubType= 10
     205      Lambda tables from 100 eV  to 10 TeV in 77 bins, spline: 1
     206      RangeFactor= 0.2, step limit type: 0, lateralDisplacement: 1, polarAngleLimit(deg)= 0
     207      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     208          UrbanMsc90 :     Emin=          0 eV         Emax=   10 TeV
     209
     210muIoni:   for  mu+    SubType= 2
     211      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     212      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     213      finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0, linLossLimit= 0.01
     214      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     215               Bragg :     Emin=          0 eV         Emax=   200 keV
     216          BetheBloch :     Emin=        200 keV        Emax=   1 GeV
     217        MuBetheBloch :     Emin=          1 GeV        Emax=   10 TeV
     218
     219muBrems:   for  mu+    SubType= 3
     220      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     221      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     222      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     223              MuBrem :     Emin=          0 eV         Emax=   10 TeV
     224
     225muPairProd:   for  mu+    SubType= 4
     226      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     227      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     228      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     229          muPairProd :     Emin=          0 eV         Emax=   10 TeV
     230
     231muIoni:   for  mu-    SubType= 2
     232      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     233      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     234      finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0, linLossLimit= 0.01
     235      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     236            ICRU73QO :     Emin=          0 eV         Emax=   200 keV
     237          BetheBloch :     Emin=        200 keV        Emax=   1 GeV
     238        MuBetheBloch :     Emin=          1 GeV        Emax=   10 TeV
     239
     240muBrems:   for  mu-    SubType= 3
     241      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     242      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     243      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     244              MuBrem :     Emin=          0 eV         Emax=   10 TeV
     245
     246muPairProd:   for  mu-    SubType= 4
     247      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     248      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     249      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     250          muPairProd :     Emin=          0 eV         Emax=   10 TeV
     251
     252hIoni:   for  pi+    SubType= 2
     253      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     254      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     255      finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0, linLossLimit= 0.01
     256      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     257               Bragg :     Emin=          0 eV         Emax=   297.504 keV
     258          BetheBloch :     Emin=    297.504 keV        Emax=   10 TeV
     259
     260msc:   for pi-    SubType= 10
     261      Lambda tables from 100 eV  to 10 TeV in 77 bins, spline: 1
     262      RangeFactor= 0.2, stepLimitType: 0, latDisplacement: 1
     263      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     264          UrbanMsc90 :     Emin=          0 eV         Emax=   10 TeV
     265
     266hIoni:   for  pi-    SubType= 2
     267      dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
     268      Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
     269      finalRange(mm)= 1, dRoverRange= 1, integral: 0, fluct: 0, linLossLimit= 0.01
     270      ===== EM models for the G4Region  DefaultRegionForTheWorld ======
     271            ICRU73QO :     Emin=          0 eV         Emax=   297.504 keV
     272          BetheBloch :     Emin=    297.504 keV        Emax=   10 TeV
    266273
    267274Region <DefaultRegionForTheWorld> -- appears in <World> world volume
     
    269276 Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0]
    270277 Materials : Galactic Water
    271  Production cuts :  gamma 1 mm     e- 1 mm     e+ 1 mm
     278 Production cuts :   gamma 1 mm      e- 1 mm      e+ 1 mm  proton 0 fm
    272279
    273280========= Table of registered couples ==============================
     
    275282Index : 0     used in the geometry : Yes     recalculation needed : No
    276283 Material : Galactic
    277  Range cuts        :  gamma 1 mm     e- 1 mm     e+ 1 mm
    278  Energy thresholds :  gamma 990 eV     e- 990 eV     e+ 990 eV
     284 Range cuts        :  gamma  1 mm     e-  1 mm     e+  1 mm  proton 0 fm
     285 Energy thresholds :  gamma  990 eV     e-  990 eV     e+  990 eV  proton 0 eV
    279286 Region(s) which use this couple :
    280287    DefaultRegionForTheWorld
     
    282289Index : 1     used in the geometry : Yes     recalculation needed : No
    283290 Material : Water
    284  Range cuts        :  gamma 1 mm     e- 1 mm     e+ 1 mm
    285  Energy thresholds :  gamma 2.90186 keV    e- 347.138 keV    e+ 338.695 keV
     291 Range cuts        :  gamma  1 mm     e-  1 mm     e+  1 mm  proton 0 fm
     292 Energy thresholds :  gamma  2.94056 keV    e-  351.877 keV    e+  342.545 keV proton 0 eV
    286293 Region(s) which use this couple :
    287294    DefaultRegionForTheWorld
     
    306313Run Summary
    307314  Number of events processed : 10000
    308   User=0.25s Real=0.25s Sys=0s
     315  User=0.16s Real=0.17s Sys=0s
    309316
    310317 The run consists of 10000 e- of 5 MeV through 100 m   of Water (density: 1 g/cm3 )
     
    312319 Process calls frequency --->   msc = 10000
    313320
    314  truePathLength :       2.7521 cm  +- 3.269 nm
    315  geomPathLength :       2.0696 cm  +- 11.392 nm
    316  lateralDisplac :       1.1482 cm  +- 4.6902 nm
    317  Psi            :       506.49 mrad +- 0.00019571 mrad  (29.02 deg +- 1.1213e-05 deg)
    318 
    319  Theta_plane    :       1806.6 mrad  (103.51 deg)
    320  phi correlation:       0.2624 +- 0.059273  (std::cos(phi_pos - phi_dir))
     321 truePathLength :       2.7512 cm  +- 11.142 nm
     322 geomPathLength :       2.0703 cm  +- 16.621 nm
     323 lateralDisplac :       1.1488 cm  +- 3.0764 nm
     324 Psi            :       506.58 mrad +- 0.00019228 mrad  (29.025 deg +- 1.1017e-05 deg)
     325
     326 Theta_plane    :       1810.8 mrad  (103.75 deg)
     327 phi correlation:       0.26308 +- 0.058008  (std::cos(phi_pos - phi_dir))
    321328
    322329 Verification from G4EmCalculator.
    323330
    324  transport mean free path :     8.346 cm
    325  range from restrict dE/dx:     2.7521 cm
     331 transport mean free path :     8.3657 cm
     332 range from restrict dE/dx:     2.7512 cm
    326333 ---> effective facRange  :     1
    327334
    328  compute theta0 from Highland : 620.13 mrad  (35.531 deg)
     335 compute theta0 from Highland : 620.02 mrad  (35.525 deg)
    329336
    330337--------- Ranecu engine status ---------
    331338 Initial seed (index) = 0
    332  Current couple of seeds = 397063712, 552340631
     339 Current couple of seeds = 427512639, 82926200
    333340----------------------------------------
    334341#
     
    340347 Pointers : G4VUserRegionInformation[0], G4UserLimits[0], G4FastSimulationManager[0], G4UserSteppingAction[0]
    341348 Materials : Galactic Water
    342  Production cuts :  gamma 1 mm     e- 1 mm     e+ 1 mm
     349 Production cuts :   gamma 1 mm      e- 1 mm      e+ 1 mm  proton 0 fm
    343350
    344351========= Table of registered couples ==============================
     
    346353Index : 0     used in the geometry : Yes     recalculation needed : No
    347354 Material : Galactic
    348  Range cuts        :  gamma 1 mm     e- 1 mm     e+ 1 mm
    349  Energy thresholds :  gamma 9.9e+02 eV     e- 9.9e+02 eV     e+ 9.9e+02 eV
     355 Range cuts        :  gamma  1 mm     e-  1 mm     e+  1 mm  proton 0 fm
     356 Energy thresholds :  gamma  9.9e+02 eV     e-  9.9e+02 eV     e+  9.9e+02 eV  proton 0 eV
    350357 Region(s) which use this couple :
    351358    DefaultRegionForTheWorld
     
    353360Index : 1     used in the geometry : Yes     recalculation needed : No
    354361 Material : Water
    355  Range cuts        :  gamma 1 mm     e- 1 mm     e+ 1 mm
    356  Energy thresholds :  gamma 2.9 keV    e- 3.5e+02 keV    e+ 3.4e+02 keV
     362 Range cuts        :  gamma  1 mm     e-  1 mm     e+  1 mm  proton 0 fm
     363 Energy thresholds :  gamma  2.9 keV    e-  3.5e+02 keV    e+  3.4e+02 keV proton 0 eV
    357364 Region(s) which use this couple :
    358365    DefaultRegionForTheWorld
     
    364371--------- Ranecu engine status ---------
    365372 Initial seed (index) = 0
    366  Current couple of seeds = 397063712, 552340631
     373 Current couple of seeds = 427512639, 82926200
    367374----------------------------------------
    368375Start Run processing.
     
    372379Run Summary
    373380  Number of events processed : 10000
    374   User=0.23s Real=0.23s Sys=0s
     381  User=0.16s Real=0.16s Sys=0s
    375382
    376383 The run consists of 10000 e- of 100 keV through 100 m   of Water (density: 1 g/cm3 )
     
    378385 Process calls frequency --->   msc = 10000
    379386
    380  truePathLength :       6.3051 um  +- 5404.2 fm
    381  geomPathLength :       6.1807 um  +- 878.92 fm
    382  lateralDisplac :       923.68 nm  +- 256.83 fm
    383  Psi            :       148.35 mrad +- 8.7703e-05 mrad  (8.4998 deg +- 5.025e-06 deg)
    384 
    385  Theta_plane    :       258.19 mrad  (14.793 deg)
    386  phi correlation:       0.077745 +- 0.12942  (std::cos(phi_pos - phi_dir))
     387 truePathLength :       6.3051 um  +- 2009.6 fm
     388 geomPathLength :       6.1807 um  +- 2968 fm
     389 lateralDisplac :       923.68 nm  +- 393.04 fm
     390 Psi            :       148.35 mrad +- 5.0567e-05 mrad  (8.4998 deg +- 2.8973e-06 deg)
     391
     392 Theta_plane    :       243.36 mrad  (13.944 deg)
     393 phi correlation:       0.077644 +- 0.13144  (std::cos(phi_pos - phi_dir))
    387394
    388395 Verification from G4EmCalculator.
    389396
    390397 transport mean free path :     157.63 um
    391  range from restrict dE/dx:     143.16 um
     398 range from restrict dE/dx:     143.26 um
    392399 ---> effective facRange  :     0.04
    393400
     
    396403--------- Ranecu engine status ---------
    397404 Initial seed (index) = 0
    398  Current couple of seeds = 707823211, 530749218
     405 Current couple of seeds = 885985248, 261613716
    399406----------------------------------------
    400 Graphics systems deleted.
    401 Visualization Manager deleting...
    402407UserDetectorConstruction deleted.
    403408UserPhysicsList deleted.
     
    406411G4 kernel has come to Quit state.
    407412EventManager deleted.
    408 Default detector region deleted.
    409413UImanager deleted.
    410414Units table cleared.
     
    412416RunManagerKernel is deleted.
    413417RunManager is deleting.
     418
  • trunk/examples/extended/electromagnetic/TestEm15/include/DetectorConstruction.hh

    r1230 r1337  
    2525//
    2626// $Id: DetectorConstruction.hh,v 1.2 2006/06/29 16:46:10 gunter 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/TestEm15/include/DetectorMessenger.hh

    r1230 r1337  
    2525//
    2626// $Id: DetectorMessenger.hh,v 1.2 2006/06/29 16:46:14 gunter 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/TestEm15/include/EventAction.hh

    r1230 r1337  
    2525//
    2626// $Id: EventAction.hh,v 1.2 2006/06/29 16:46:17 gunter 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/TestEm15/include/EventActionMessenger.hh

    r1230 r1337  
    2525//
    2626// $Id: EventActionMessenger.hh,v 1.2 2006/06/29 16:46:19 gunter 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/TestEm15/include/HistoManager.hh

    r1230 r1337  
    2525//
    2626// $Id: HistoManager.hh,v 1.4 2007/11/13 14:13:31 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/TestEm15/include/HistoMessenger.hh

    r1230 r1337  
    2525//
    2626// $Id: HistoMessenger.hh,v 1.3 2007/11/13 14:13:31 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/TestEm15/include/PhysListEmStandard.hh

    r1230 r1337  
    2626//
    2727// $Id: PhysListEmStandard.hh,v 1.2 2006/06/29 16:46:26 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/electromagnetic/TestEm15/include/PhysicsList.hh

    r1230 r1337  
    2626//
    2727// $Id: PhysicsList.hh,v 1.2 2006/06/29 16:46:28 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/electromagnetic/TestEm15/include/PhysicsListMessenger.hh

    r1230 r1337  
    2525//
    2626// $Id: PhysicsListMessenger.hh,v 1.2 2006/06/29 16:46:30 gunter 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/TestEm15/include/PrimaryGeneratorAction.hh

    r1230 r1337  
    2525//
    2626// $Id: PrimaryGeneratorAction.hh,v 1.2 2006/06/29 16:46:32 gunter 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/TestEm15/include/ProcessesCount.hh

    r1230 r1337  
    2525//
    2626// $Id: ProcessesCount.hh,v 1.2 2006/06/29 16:46:34 gunter 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/TestEm15/include/RunAction.hh

    r1230 r1337  
    2525//
    2626// $Id: RunAction.hh,v 1.3 2006/06/29 16:46:36 gunter 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/TestEm15/include/StepMax.hh

    r1230 r1337  
    2525//
    2626// $Id: StepMax.hh,v 1.2 2006/06/29 16:46:38 gunter 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/TestEm15/include/StepMaxMessenger.hh

    r1230 r1337  
    2525//
    2626// $Id: StepMaxMessenger.hh,v 1.2 2006/06/29 16:46:40 gunter 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/TestEm15/include/SteppingAction.hh

    r1230 r1337  
    2525//
    2626// $Id: SteppingAction.hh,v 1.2 2006/06/29 16:46:42 gunter 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/TestEm15/include/SteppingVerbose.hh

    r1230 r1337  
    2525//
    2626// $Id: SteppingVerbose.hh,v 1.2 2006/06/29 16:46:44 gunter 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/TestEm15/src/DetectorConstruction.cc

    r1230 r1337  
    2525//
    2626// $Id: DetectorConstruction.cc,v 1.3 2006/06/29 16:46:47 gunter 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/TestEm15/src/DetectorMessenger.cc

    r1230 r1337  
    2525//
    2626// $Id: DetectorMessenger.cc,v 1.2 2006/06/29 16:46:49 gunter 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/TestEm15/src/EventAction.cc

    r1230 r1337  
    2424// ********************************************************************
    2525//
    26 // $Id: EventAction.cc,v 1.2 2006/06/29 16:46:51 gunter Exp $
    27 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     26// $Id: EventAction.cc,v 1.4 2010/06/07 05:40:46 perl Exp $
     27// GEANT4 tag $Name: geant4-09-04-beta-01 $
    2828//
    2929//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
     
    3535
    3636#include "G4Event.hh"
    37 #include "G4TrajectoryContainer.hh"
    38 #include "G4Trajectory.hh"
    39 #include "G4VVisManager.hh"
    4037#include "G4UnitsTable.hh"
    4138
     
    6865//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
    6966
    70 void EventAction::EndOfEventAction(const G4Event* evt)
     67void EventAction::EndOfEventAction(const G4Event*)
    7168{
    72   if (G4VVisManager::GetConcreteInstance())
    73   {
    74     G4TrajectoryContainer* trajectoryContainer = evt->GetTrajectoryContainer();
    75     G4int n_trajectories = 0;
    76     if (trajectoryContainer) n_trajectories = trajectoryContainer->entries(); 
    77     for (G4int i=0; i<n_trajectories; i++) {
    78        G4Trajectory* trj = (G4Trajectory*)
    79                                        ((*(evt->GetTrajectoryContainer()))[i]);
    80        trj->DrawTrajectory(1000);
    81     }
    82   }
    8369}
    8470
  • trunk/examples/extended/electromagnetic/TestEm15/src/EventActionMessenger.cc

    r1230 r1337  
    2525//
    2626// $Id: EventActionMessenger.cc,v 1.2 2006/06/29 16:46:53 gunter 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/TestEm15/src/HistoManager.cc

    r1230 r1337  
    2525//
    2626// $Id: HistoManager.cc,v 1.8 2008/09/26 19:47:51 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/TestEm15/src/HistoMessenger.cc

    r1230 r1337  
    2525//
    2626// $Id: HistoMessenger.cc,v 1.3 2007/11/13 14:13:31 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/TestEm15/src/PhysListEmStandard.cc

    r1230 r1337  
    2626//
    2727// $Id: PhysListEmStandard.cc,v 1.4 2009/11/19 17:58:25 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/TestEm15/src/PhysicsList.cc

    r1230 r1337  
    2626//
    2727// $Id: PhysicsList.cc,v 1.2 2006/06/29 16:47:04 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/electromagnetic/TestEm15/src/PhysicsListMessenger.cc

    r1230 r1337  
    2525//
    2626// $Id: PhysicsListMessenger.cc,v 1.2 2006/06/29 16:47:07 gunter 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/TestEm15/src/PrimaryGeneratorAction.cc

    r1230 r1337  
    2525//
    2626// $Id: PrimaryGeneratorAction.cc,v 1.2 2006/06/29 16:47:10 gunter 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/TestEm15/src/RunAction.cc

    r1230 r1337  
    2525//
    2626// $Id: RunAction.cc,v 1.5 2006/06/29 16:47:13 gunter 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/TestEm15/src/StepMax.cc

    r1230 r1337  
    2525//
    2626// $Id: StepMax.cc,v 1.2 2006/06/29 16:47:16 gunter 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/TestEm15/src/StepMaxMessenger.cc

    r1230 r1337  
    2525//
    2626// $Id: StepMaxMessenger.cc,v 1.2 2006/06/29 16:47:18 gunter 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/TestEm15/src/SteppingAction.cc

    r1230 r1337  
    2525//
    2626// $Id: SteppingAction.cc,v 1.6 2007/03/15 15:52:39 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/TestEm15/src/SteppingVerbose.cc

    r1230 r1337  
    2525//
    2626// $Id: SteppingVerbose.cc,v 1.2 2006/06/29 16:47:22 gunter 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/TestEm15/vis.mac

    r807 r1337  
    11#
    2 # Macro file for the initialization phase of "TestEm13.cc"
     2# Macro file for the initialization phase of "TestEm6.cc"
    33#
    44# Sets some default verbose
     
    1010/run/initialize
    1111#
    12 # Create empty scene ("world" is default)
    13 /vis/scene/create
     12# Use this open statement to create an OpenGL view:
     13/vis/open OGL 600x600-0+0
    1414#
    15 # Create a scene handler for a specific graphics system
    16 # Edit the next line(s) to choose another graphic system
    17 #
    18 /vis/open OGLIX
    19 #
     15# Use this open statement to create a .prim file suitable for
     16# viewing in DAWN:
    2017#/vis/open DAWNFILE
    2118#
    22 # Draw scene
     19# Use this open statement to create a .heprep file suitable for
     20# viewing in HepRApp:
     21#/vis/open HepRepFile
     22#
     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:
    2339/vis/viewer/zoom 1.4
    24 /vis/viewer/flush
    2540#
    26 # for drawing the tracks
    27 # if too many tracks cause core dump => storeTrajectory 0
    28 /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:
    2972/vis/scene/endOfEventAction accumulate
    30 
     73#
     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.