Changeset 609 for trunk


Ignore:
Timestamp:
Nov 16, 2007, 11:59:21 AM (17 years ago)
Author:
garnier
Message:

r659@mac-90108: laurentgarnier | 2007-11-16 12:02:01 +0100
mise a jour de Geant4 au head ET qq mise a jour pour Qt de mon cote

Location:
trunk/geant4
Files:
1 added
54 edited

Legend:

Unmodified
Added
Removed
  • trunk/geant4/N03/.DAWN_1.history

    r474 r609  
    1 885739
    2 35
    3 35
     1103078
    420
    5 10.6007
    6 -11.7529
    7 11.7529
    8 1.1
     30
     40
     50
     60
     70
     81
    991
    10100.001
  • trunk/geant4/N03/G4History.macro

    r567 r609  
    11/run/verbose 2
    22/vis/scene/create
    3 /vis/open DAWNFILE
    4 /vis/sceneHandler/create DAWNFILE
    5 /vis/sceneHandler/attach
    6 /vis/viewer/create ! ! 600
    73/vis/open OGLSQT
    84/vis/sceneHandler/create OGLSQT
     
    128/vis/scene/notifyHandlers
    139/vis/viewer/flush
    14 /vis/viewer/refresh viewer-1
    15 /vis/viewer/update viewer-1
     10/vis/viewer/refresh viewer-0
     11/vis/viewer/update viewer-0
    1612/vis/scene/add/trajectories
    1713/tracking/storeTrajectory 1
     
    2218/vis/scene/endOfEventAction accumulate
    2319/vis/scene/notifyHandlers
    24 /control/execute visTutor/gui.mac
    25 /gui/addMenu file File
    26 /gui/addButton file Continue continue
    27 /gui/addButton file Exit "exit"
    28 /gui/addMenu run Run
    29 /gui/addButton run "beamOn 1" "/run/beamOn 1"
    30 /gui/addButton run run1 "/control/execute run1.mac"
    31 /gui/addButton run run2 "/control/execute run2.mac"
    32 /gui/addMenu gun Gun
    33 /gui/addButton gun "50 MeV"  "/gun/energy 50 MeV"
    34 /gui/addButton gun "1 GeV"   "/gun/energy 1 GeV"
    35 /gui/addButton gun "10 GeV"  "/gun/energy 10 GeV"
    36 /gui/addButton gun "e-"      "/gun/particle e-"
    37 /gui/addButton gun "pi0"     "/gun/particle pi0"
    38 /gui/addButton gun "pi+"     "/gun/particle pi+"
    39 /gui/addButton gun "neutron" "/gun/particle neutron"
    40 /gui/addButton gun "proton"  "/gun/particle proton"
    41 /gui/addMenu vis Vis
    42 /gui/addButton vis Vis0(OGLIX) "/control/execute visTutor/exN03Vis0.mac"
    43 /gui/addButton vis Vis1(OGLSX) "/control/execute visTutor/exN03Vis1.mac"
    44 /gui/addButton vis Vis2(OGLSX) "/control/execute visTutor/exN03Vis2.mac"
    45 /gui/addButton vis Vis3(OGLSX) "/control/execute visTutor/exN03Vis3.mac"
    46 /gui/addButton vis Vis4(OGLIX) "/control/execute visTutor/exN03Vis4.mac"
    47 /gui/addButton vis Vis12(OGLIQT) "/control/execute visTutor/exN03Vis12.mac"
    48 /gui/addButton vis Vis14(OGLSQT) "/control/execute visTutor/exN03Vis14.mac"
    49 /gui/addButton vis Vis5(OIX)   "/control/execute visTutor/exN03Vis5.mac"
    50 /gui/addButton vis Vis6(VRML2FILE) "/control/execute visTutor/exN03Vis6.mac"
    51 /gui/addButton vis Vis7(DAWNFILE) "/control/execute visTutor/exN03Vis7.mac"
    52 /gui/addButton vis Vis8(DAWNFILE) "/control/execute visTutor/exN03Vis8.mac"
    53 /gui/addButton vis Vis9(OGLIWIN) "/control/execute visTutor/exN03Vis9.mac"
    54 /gui/addButton vis Vis10(OIWin32) "/control/execute visTutor/exN03Vis10.mac"
    55 /gui/addButton vis Vis11(OGLSXm) "/control/execute visTutor/exN03Vis11.mac"
    56 /gui/addMenu viewer Viewer
    57 /gui/addButton viewer "Set style solid" "/vis/viewer/set/style solid"
    58 /gui/addButton viewer "Set style wireframe" "/vis/viewer/set/style wire"
    59 /gui/addButton viewer "Update scene" "/vis/scene/notifyHandlers"
    60 /N03/event/printModulo 100
  • trunk/geant4/N03/History

    r483 r609  
    1 $Id: History,v 1.111 2006/10/26 14:58:59 allison Exp $
     1$Id: History,v 1.116 2007/11/16 10:52:37 lgarnier Exp $
    22--------------------------------------------------
    33
     
    1616     ----------------------------------------------------------
    1717     
     1816-11-07 Laurent Garnier
     19- exampleN03 : Adding Qt render possibility
     20- visTutor/gui.mac : Adding menu for Qt render
     21- visTutor/exN03Vis14.mac,visTutor/exN03Vis15.mac : Adding file menu for
     22  Qt render
     23
     2402-07-07 V.Ivant (exampleN03-V09-00-00)
     25- make destructors virtual, cleanup
     26
     2725-06-07 mma (exampleN03-V08-03-02)
     28- simplifications in exampleN03.cc
     29     
     3013-06-07 mma (exampleN03-V08-03-01)
     31- more verbose in rndmSeed.mac
     32     
     3321-05-07 John Allison (exampleN03-V08-03-00)
     34- Changed visTutor/exN03Vis12.loop and 13: follows change to /vis/ogl/printEPS.
     35
    183626-10-06 John Allison (exampleN03-V08-01-04)
    1937- Migrate to new trajectory modeling commands:
  • trunk/geant4/N03/exampleN03.cc

    r572 r609  
    2525//
    2626//
    27 // $Id: exampleN03.cc,v 1.28 2006/06/29 17:48:30 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01 $
     27// $Id: exampleN03.cc,v 1.33 2007/11/16 10:50:41 lgarnier Exp $
     28// GEANT4 tag $Name: $
    2929//
    3030//
    3131//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
    3232//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
    33 
    34 
    35 /** Environnement definition for app launch for mac
    36 */
    37 //#define MOSX_APP
    38 #ifdef MOSX_APP
    39 #define G4UI_BUILD_QT_SESSION
    40 #define G4UI_USE_QT
    41 #define G4VIS_BUILD_OPENGLQT_DRIVER
    42 #define G4VIS_USE_OPENGLQT
    43 #endif
    44 /** End of Environnement definition for app launch for mac
    45 */
    46 
    47 
    48 
    49 
    50 
    51 
    5233
    5334#include "G4RunManager.hh"
     
    5637#include "G4UItcsh.hh"
    5738
    58 #ifdef G4UI_USE_XM
    59 #include "G4UIXm.hh"
    60 #endif
    61 
    62 #ifdef G4UI_USE_QT
    63 #include "G4UIQt.hh"
    64 #include "G4Qt.hh"
    65 #endif
    66 
    67 #ifdef G4UI_USE_WIN32
    68 #include "G4UIWin32.hh"
    69 #endif
    70 
    7139#include "Randomize.hh"
    72 
    73 #ifdef G4VIS_USE
    74 #include "G4VisExecutive.hh"
    75 #endif
    7640
    7741#include "ExN03DetectorConstruction.hh"
     
    8347#include "ExN03SteppingVerbose.hh"
    8448
     49#ifdef G4VIS_USE
     50#include "G4VisExecutive.hh"
     51#endif
     52
     53#ifdef G4UI_USE_XM
     54#include "G4UIXm.hh"
     55#endif
     56
     57#ifdef G4UI_USE_WIN32
     58#include "G4UIWin32.hh"
     59#endif
     60
     61#ifdef G4UI_USE_QT
     62#include "G4UIQt.hh"
     63#include "G4Qt.hh"
     64#include <qapplication.h>
     65#endif
     66
     67
    8568//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
    8669
     
    9073  //
    9174  CLHEP::HepRandom::setTheEngine(new CLHEP::RanecuEngine);
    92    
     75 
    9376  // User Verbose output class
    9477  //
    95   G4VSteppingVerbose* verbosity = new ExN03SteppingVerbose;
    96   G4VSteppingVerbose::SetInstance(verbosity);
     78  G4VSteppingVerbose::SetInstance(new ExN03SteppingVerbose);
    9779     
    9880  // Construct the default run manager
     
    10789  G4VUserPhysicsList* physics = new ExN03PhysicsList;
    10890  runManager->SetUserInitialization(physics);
    109 
    110   G4UIsession* session=0;
    111  
    112 #ifndef MOSX_APP
    113   if (argc==1)   // Define UI session for interactive mode.
    114     {
    115 #endif
    116       // G4UIterminal is a (dumb) terminal
    117       //
    118 #if defined(G4UI_USE_XM)
    119       session = new G4UIXm(argc,argv);
    120 #elif defined(G4UI_USE_WIN32)
    121       session = new G4UIWin32();
    122 #elif defined(G4UI_USE_QT)
    123       session = new G4UIQt(argc,argv);
    124 #elif defined(G4UI_USE_TCSH)
    125       session = new G4UIterminal(new G4UItcsh);     
    126 #else
    127       session = new G4UIterminal();
    128 #endif
    129 #ifndef MOSX_APP
    130     }
    131 #endif
    132  
    133 #ifdef G4VIS_USE
    134   // Visualization manager
    135   //
    136   G4VisManager* visManager = new G4VisExecutive;
    137   visManager->Initialize();
    138 #endif
    139      
     91   
    14092  // Set user action classes
    14193  //
    142   G4VUserPrimaryGeneratorAction* gen_action = new ExN03PrimaryGeneratorAction(detector);
     94  G4VUserPrimaryGeneratorAction* gen_action =
     95                          new ExN03PrimaryGeneratorAction(detector);
    14396  runManager->SetUserAction(gen_action);
    14497  //
     
    150103  //
    151104  G4UserSteppingAction* stepping_action =
    152     new ExN03SteppingAction(detector, event_action);
     105                    new ExN03SteppingAction(detector, event_action);
    153106  runManager->SetUserAction(stepping_action);
    154107 
     
    156109  //
    157110  runManager->Initialize();
    158    
     111 
    159112  // Get the pointer to the User Interface manager
    160113  //
    161   G4UImanager* UI = G4UImanager::GetUIpointer(); 
     114  G4UImanager* UI = G4UImanager::GetUIpointer();     
     115 
     116  if (argc!=1)   // batch mode
     117    {
     118      G4String command = "/control/execute ";
     119      G4String fileName = argv[1];
     120      UI->ApplyCommand(command+fileName);   
     121    }
     122  else           // interactive mode : define visualization UI terminal
     123    {
     124#ifdef G4VIS_USE
     125      G4VisManager* visManager = new G4VisExecutive;
     126      visManager->Initialize();
     127#endif
    162128
    163   if (session)   // Define UI session for interactive mode
    164     {
    165       // G4UIterminal is a (dumb) terminal
    166       //
    167 #ifdef MOSX_APP
    168       G4Qt* interactorManager = G4Qt::getInstance ();
    169       G4String vis = QString("/control/execute "+((QApplication*)interactorManager->GetMainInteractor())->applicationDirPath ()+"/../Resources/vis.mac").toStdString().c_str();
     129      G4UIsession* session = 0;
     130#if defined(G4UI_USE_TCSH)
     131      session = new G4UIterminal(new G4UItcsh);     
     132#elif defined(G4UI_USE_XM)
     133      session = new G4UIXm(argc,argv);
     134      UI->ApplyCommand("/control/execute visTutor/gui.mac");     
     135#elif defined(G4UI_USE_WIN32)
     136      session = new G4UIWin32();
     137      UI->ApplyCommand("/control/execute visTutor/gui.mac");     
     138#elif defined(G4UI_USE_QT)
     139      session = new G4UIQt(argc,argv);
     140      UI->ApplyCommand("/control/execute visTutor/gui.mac");     
    170141#else
    171       G4String vis = "/control/execute vis.mac";   
     142      session = new G4UIterminal();
    172143#endif
    173       UI->ApplyCommand(vis);   
    174 #if defined(G4UI_USE_XM) || defined(G4UI_USE_WIN32) || defined(G4UI_USE_QT)
    175       // Customize the G4UIXm,Win32 menubar with a macro file
    176       //
    177 #ifdef MOSX_APP
    178       G4String visTutor = QString("/control/execute "+((QApplication*)interactorManager->GetMainInteractor())->applicationDirPath ()+"/../Resources/visTutor/gui.mac").toStdString().c_str();
    179 #else
    180       G4String visTutor = "/control/execute visTutor/gui.mac";   
    181 #endif
    182       UI->ApplyCommand(visTutor);
    183 #endif
     144
     145      UI->ApplyCommand("/control/execute vis.mac");
    184146      session->SessionStart();
    185147      delete session;
    186     }
    187   else           // Batch mode
    188     {
     148     
    189149#ifdef G4VIS_USE
    190       visManager->SetVerboseLevel("quiet");
    191 #endif
    192       G4String command = "/control/execute ";
    193       G4String fileName = argv[1];
    194       UI->ApplyCommand(command+fileName);
     150      delete visManager;
     151#endif               
    195152    }
    196153
     
    199156  //                 owned and deleted by the run manager, so they should not
    200157  //                 be deleted in the main() program !
    201 
    202 #ifdef G4VIS_USE
    203   delete visManager;
    204 #endif
    205158  delete runManager;
    206   delete verbosity;
    207159
    208160  return 0;
  • trunk/geant4/N03/exampleN03.out

    r483 r609  
    11
    22*************************************************************
    3  Geant4 version Name: geant4-08-02-patch-01-ref    (23-February-2007)
     3 Geant4 version Name: global-V09-00-00    (28-August-2007)
    44                      Copyright : Geant4 Collaboration
    55                      Reference : NIM A 506 (2003), 250-303
     
    1010***** Table : Nb of materials = 13 *****
    1111
    12  Material: Aluminium     density:  2.700 g/cm3   temperature: 273.15 K  pressure:   1.00 atm  RadLength:   8.893 cm
     12 Material: Aluminium     density:  2.700 g/cm3   RadL:   8.893 cm   Imean: 166.400 eV
    1313   --->  Element: Aluminium ( )   Z = 13.0   N =  27.0   A =  26.98 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
    1414
    15  Material: liquidArgon     density:  1.390 g/cm3   temperature: 273.15 K  pressure:   1.00 atm  RadLength:  14.065 cm
     15 Material: liquidArgon     density:  1.390 g/cm3   RadL:  14.065 cm   Imean: 187.200 eV
    1616   --->  Element: liquidArgon ( )   Z = 18.0   N =  40.0   A =  39.95 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
    1717
    18  Material:     Lead     density: 11.350 g/cm3   temperature: 273.15 K  pressure:   1.00 atm  RadLength:   5.612 mm
     18 Material:     Lead     density: 11.350 g/cm3   RadL:   5.612 mm   Imean: 820.000 eV
    1919   --->  Element: Lead ( )   Z = 82.0   N = 207.2   A = 207.19 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
    2020
    21  Material:    Water     density:  1.000 g/cm3   temperature: 273.15 K  pressure:   1.00 atm  RadLength:  36.092 cm
     21 Material:    Water     density:  1.000 g/cm3   RadL:  36.092 cm   Imean:  75.000 eV
    2222   --->  Element: Hydrogen (H)   Z =  1.0   N =   1.0   A =   1.01 g/mole  ElmMassFraction:  11.21 %  ElmAbundance  66.67 %
    2323   --->  Element: Oxygen (O)   Z =  8.0   N =  16.0   A =  16.00 g/mole  ElmMassFraction:  88.79 %  ElmAbundance  33.33 %
    2424
    25  Material: Scintillator     density:  1.032 g/cm3   temperature: 273.15 K  pressure:   1.00 atm  RadLength:  42.549 cm
     25 Material: Scintillator     density:  1.032 g/cm3   RadL:  42.549 cm   Imean:  63.913 eV
    2626   --->  Element: Carbon (C)   Z =  6.0   N =  12.0   A =  12.01 g/mole  ElmMassFraction:  91.45 %  ElmAbundance  47.37 %
    2727   --->  Element: Hydrogen (H)   Z =  1.0   N =   1.0   A =   1.01 g/mole  ElmMassFraction:   8.55 %  ElmAbundance  52.63 %
    2828
    29  Material:    Mylar     density:  1.397 g/cm3   temperature: 273.15 K  pressure:   1.00 atm  RadLength:  28.599 cm
     29 Material:    Mylar     density:  1.397 g/cm3   RadL:  28.599 cm   Imean:  75.075 eV
    3030   --->  Element: Carbon (C)   Z =  6.0   N =  12.0   A =  12.01 g/mole  ElmMassFraction:  62.49 %  ElmAbundance  45.45 %
    3131   --->  Element: Hydrogen (H)   Z =  1.0   N =   1.0   A =   1.01 g/mole  ElmMassFraction:   4.20 %  ElmAbundance  36.36 %
    3232   --->  Element: Oxygen (O)   Z =  8.0   N =  16.0   A =  16.00 g/mole  ElmMassFraction:  33.30 %  ElmAbundance  18.18 %
    3333
    34  Material:   quartz     density:  2.200 g/cm3   temperature: 273.15 K  pressure:   1.00 atm  RadLength:  12.295 cm
     34 Material:   quartz     density:  2.200 g/cm3   RadL:  12.295 cm   Imean: 126.007 eV
    3535   --->  Element: Silicon (Si)   Z = 14.0   N =  28.1   A =  28.09 g/mole  ElmMassFraction:  46.75 %  ElmAbundance  33.33 %
    3636   --->  Element: Oxygen (O)   Z =  8.0   N =  16.0   A =  16.00 g/mole  ElmMassFraction:  53.25 %  ElmAbundance  66.67 %
    3737
    38  Material:      Air     density:  1.290 mg/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength: 285.161 m 
     38 Material:      Air     density:  1.290 mg/cm3  RadL: 285.161 m    Imean:  85.684 eV   temperature: 273.15 K  pressure:   1.00 atm
    3939   --->  Element: Nitrogen (N)   Z =  7.0   N =  14.0   A =  14.01 g/mole  ElmMassFraction:  70.00 %  ElmAbundance  72.71 %
    4040   --->  Element: Oxygen (O)   Z =  8.0   N =  16.0   A =  16.00 g/mole  ElmMassFraction:  30.00 %  ElmAbundance  27.29 %
    4141
    42  Material:  Aerogel     density: 200.000 mg/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength:   1.493 m
     42 Material:  Aerogel     density: 200.000 mg/cm3  RadL:   1.493 m    Imean: 100.118 eV
    4343   --->  Element: Silicon (Si)   Z = 14.0   N =  28.1   A =  28.09 g/mole  ElmMassFraction:  29.22 %  ElmAbundance  11.12 %
    4444   --->  Element: Oxygen (O)   Z =  8.0   N =  16.0   A =  16.00 g/mole  ElmMassFraction:  66.49 %  ElmAbundance  44.42 %
     
    4646   --->  Element: Carbon (C)   Z =  6.0   N =  12.0   A =  12.01 g/mole  ElmMassFraction:   0.10 %  ElmAbundance   0.09 %
    4747
    48  Material: CarbonicGas     density: 27.000 mg/cm3  temperature: 325.00 K  pressure:  50.00 atm  RadLength:  13.406 m 
     48 Material: CarbonicGas     density: 27.000 mg/cm3  RadL:  13.406 m    Imean:  90.164 eV   temperature: 325.00 K  pressure:  50.00 atm
    4949   --->  Element: Carbon (C)   Z =  6.0   N =  12.0   A =  12.01 g/mole  ElmMassFraction:  27.29 %  ElmAbundance  33.33 %
    5050   --->  Element: Oxygen (O)   Z =  8.0   N =  16.0   A =  16.00 g/mole  ElmMassFraction:  72.71 %  ElmAbundance  66.67 %
    5151
    52  Material: WaterSteam     density:  0.300 mg/cm3  temperature: 500.00 K  pressure:   2.00 atm  RadLength:   1.203 km
     52 Material: WaterSteam     density:  0.300 mg/cm3  RadL:   1.203 km   Imean:  70.893 eV   temperature: 500.00 K  pressure:   2.00 atm
    5353   --->  Element: Hydrogen (H)   Z =  1.0   N =   1.0   A =   1.01 g/mole  ElmMassFraction:  11.21 %  ElmAbundance  66.67 %
    5454   --->  Element: Oxygen (O)   Z =  8.0   N =  16.0   A =  16.00 g/mole  ElmMassFraction:  88.79 %  ElmAbundance  33.33 %
    5555
    56  Material: Galactic     density:  0.000 mg/cm3  temperature:   2.73 K  pressure:   0.00 atm  RadLength: 204727576.737 pc
     56 Material: Galactic     density:  0.000 mg/cm3  RadL: 204727576.737 pc   Imean:  21.800 eV   temperature:   2.73 K  pressure:   0.00 atm
    5757   --->  Element: Galactic ( )   Z =  1.0   N =   1.0   A =   1.01 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %
    5858
    59  Material:     Beam     density:  0.010 mg/cm3  temperature: 273.15 K  pressure:   0.02 atm  RadLength:  36.786 km
     59 Material:     Beam     density:  0.010 mg/cm3  RadL:  36.786 km   Imean:  85.684 eV   temperature: 273.15 K  pressure:   0.02 atm
    6060   --->  Element: Nitrogen (N)   Z =  7.0   N =  14.0   A =  14.01 g/mole  ElmMassFraction:  70.00 %  ElmAbundance  72.71 %
    6161   --->  Element: Oxygen (O)   Z =  8.0   N =  16.0   A =  16.00 g/mole  ElmMassFraction:  30.00 %  ElmAbundance  27.29 %
    6262
    63 
    64 Visualization Manager instantiating...
    65 Visualization Manager initialising...
    66 Registering graphics systems...
    67 
    68 You have successfully registered the following graphics systems.
    69 Current available graphics systems are:
    70   ASCIITree (ATree)
    71   DAWNFILE (DAWNFILE)
    72   GAGTree (GAGTree)
    73   G4HepRep (HepRepXML)
    74   G4HepRepFile (HepRepFile)
    75   RayTracer (RayTracer)
    76   VRML1FILE (VRML1FILE)
    77   VRML2FILE (VRML2FILE)
    78 
    79 Registering model factories...
    80 
    81 You have successfully registered the following model factories.
    82 Registered model factories:
    83   generic
    84   drawByCharge
    85   drawByParticleID
    86   drawByOriginVolume
    87   drawByAttribute
    88 
    89 Registered filter factories:
    90   chargeFilter
    91   particleFilter
    92   originVolumeFilter
    93   attributeFilter
    9463
    9564
     
    11483msc:  Model variant of multiple scattering for e-
    11584      Lambda tables from 100 eV  to 100 TeV in 120 bins.
    116       Boundary/stepping algorithm is active with facrange= 0.02  Step limitation 1
     85      LateralDisplacementFlag=  1   Skin= 0
     86      Boundary/stepping algorithm is active with RangeFactor= 0.02  Step limit type 1
    11787
    11888eIoni:   tables are built for  e-
     
    12797      Lambda tables from threshold to 100 TeV in 120 bins.
    12898      Total cross sections and sampling from StandBrem model (based on the EEDL data library)
    129       Good description from 1 KeV to 100 GeV, log scale extrapolation above 100 GeV.
     99      Good description from 1 KeV to 100 GeV, log scale extrapolation above 100 GeV. LPM flag 1
    130100
    131101eIoni:   tables are built for  e+
     
    140110      Lambda tables from threshold to 100 TeV in 120 bins.
    141111      Total cross sections and sampling from StandBrem model (based on the EEDL data library)
    142       Good description from 1 KeV to 100 GeV, log scale extrapolation above 100 GeV.
     112      Good description from 1 KeV to 100 GeV, log scale extrapolation above 100 GeV. LPM flag 1
    143113
    144114annihil:       Sampling according eplus2gg model
     
    148118msc:  Model variant of multiple scattering for proton
    149119      Lambda tables from 100 eV  to 100 TeV in 120 bins.
    150       Boundary/stepping algorithm is active with facrange= 0.02  Step limitation 1
     120      LateralDisplacementFlag=  1   Skin= 0
     121      Boundary/stepping algorithm is active with RangeFactor= 0.02  Step limit type 1
    151122
    152123hIoni:   tables are built for  proton
     
    168139msc:  Model variant of multiple scattering for mu+
    169140      Lambda tables from 100 eV  to 100 TeV in 120 bins.
    170       Boundary/stepping algorithm is active with facrange= 0.02  Step limitation 1
     141      LateralDisplacementFlag=  1   Skin= 0
     142      Boundary/stepping algorithm is active with RangeFactor= 0.02  Step limit type 1
    171143
    172144muIoni:   tables are built for  mu+
     
    214186msc:  Model variant of multiple scattering for pi-
    215187      Lambda tables from 100 eV  to 100 TeV in 120 bins.
    216       Boundary/stepping algorithm is active with facrange= 0.02  Step limitation 1
     188      LateralDisplacementFlag=  1   Skin= 0
     189      Boundary/stepping algorithm is active with RangeFactor= 0.02  Step limit type 1
    217190
    218191hIoni:   tables are built for  pi-
     
    258231----------------------------------------
    259232---> End of event: 0
    260    Absorber: total energy: 255.24989 MeV       total track length: 17.775532 cm
    261         Gap: total energy: 12.751693 MeV       total track length: 6.4347173 cm
     233   Absorber: total energy: 274.30763 MeV       total track length: 19.20204 cm
     234        Gap: total energy: 11.230804 MeV       total track length: 5.7413344 cm
    262235
    263236--------------------End of Run------------------------------
    264237
    265  mean Energy in Absorber : 255.24989 MeV +- 0 eV
    266  mean Energy in Gap      : 12.751693 MeV +- 0 eV
    267 
    268  mean trackLength in Absorber : 17.775532 cm  +- 0 fm
    269  mean trackLength in Gap      : 6.4347173 cm  +- 0 fm
     238 mean Energy in Absorber : 274.30763 MeV +- 0 eV
     239 mean Energy in Gap      : 11.230804 MeV +- 0 eV
     240
     241 mean trackLength in Absorber : 19.20204 cm  +- 0 fm
     242 mean trackLength in Gap      : 5.7413344 cm  +- 0 fm
    270243------------------------------------------------------------
    271244
     
    290263msc:  Model variant of multiple scattering for e-
    291264      Lambda tables from 100 eV  to 100 TeV in 120 bins.
    292       Boundary/stepping algorithm is active with facrange= 0.02  Step limitation 1
     265      LateralDisplacementFlag=  1   Skin= 0
     266      Boundary/stepping algorithm is active with RangeFactor= 0.02  Step limit type 1
    293267
    294268eIoni:   tables are built for  e-
     
    303277      Lambda tables from threshold to 100 TeV in 120 bins.
    304278      Total cross sections and sampling from StandBrem model (based on the EEDL data library)
    305       Good description from 1 KeV to 100 GeV, log scale extrapolation above 100 GeV.
     279      Good description from 1 KeV to 100 GeV, log scale extrapolation above 100 GeV. LPM flag 1
    306280
    307281eIoni:   tables are built for  e+
     
    316290      Lambda tables from threshold to 100 TeV in 120 bins.
    317291      Total cross sections and sampling from StandBrem model (based on the EEDL data library)
    318       Good description from 1 KeV to 100 GeV, log scale extrapolation above 100 GeV.
     292      Good description from 1 KeV to 100 GeV, log scale extrapolation above 100 GeV. LPM flag 1
    319293
    320294annihil:       Sampling according eplus2gg model
     
    324298msc:  Model variant of multiple scattering for proton
    325299      Lambda tables from 100 eV  to 100 TeV in 120 bins.
    326       Boundary/stepping algorithm is active with facrange= 0.02  Step limitation 1
     300      LateralDisplacementFlag=  1   Skin= 0
     301      Boundary/stepping algorithm is active with RangeFactor= 0.02  Step limit type 1
    327302
    328303hIoni:   tables are built for  proton
     
    344319msc:  Model variant of multiple scattering for mu+
    345320      Lambda tables from 100 eV  to 100 TeV in 120 bins.
    346       Boundary/stepping algorithm is active with facrange= 0.02  Step limitation 1
     321      LateralDisplacementFlag=  1   Skin= 0
     322      Boundary/stepping algorithm is active with RangeFactor= 0.02  Step limit type 1
    347323
    348324muIoni:   tables are built for  mu+
     
    390366msc:  Model variant of multiple scattering for pi-
    391367      Lambda tables from 100 eV  to 100 TeV in 120 bins.
    392       Boundary/stepping algorithm is active with facrange= 0.02  Step limitation 1
     368      LateralDisplacementFlag=  1   Skin= 0
     369      Boundary/stepping algorithm is active with RangeFactor= 0.02  Step limit type 1
    393370
    394371hIoni:   tables are built for  pi-
     
    405382--------- Ranecu engine status ---------
    406383 Initial seed (index) = 0
    407  Current couple of seeds = 1363400685, 1475368346
     384 Current couple of seeds = 2047602749, 788414929
    408385----------------------------------------
    409386---> End of event: 0
    410    Absorber: total energy: 273.78056 MeV       total track length: 18.732667 cm
    411         Gap: total energy: 22.74196 MeV       total track length: 11.196324 cm
     387   Absorber: total energy: 276.31409 MeV       total track length: 19.072115 cm
     388        Gap: total energy: 20.135479 MeV       total track length: 9.906299 cm
    412389
    413390--------------------End of Run------------------------------
    414391
    415  mean Energy in Absorber : 273.78056 MeV +- 0 eV
    416  mean Energy in Gap      : 22.74196 MeV +- 0 eV
    417 
    418  mean trackLength in Absorber : 18.732667 cm  +- 0 fm
    419  mean trackLength in Gap      : 11.196324 cm  +- 0 fm
     392 mean Energy in Absorber : 276.31409 MeV +- 0 eV
     393 mean Energy in Gap      : 20.135479 MeV +- 0 eV
     394
     395 mean trackLength in Absorber : 19.072115 cm  +- 0 fm
     396 mean trackLength in Gap      : 9.906299 cm  +- 0 fm
    420397------------------------------------------------------------
    421398
     
    440417msc:  Model variant of multiple scattering for e-
    441418      Lambda tables from 100 eV  to 100 TeV in 120 bins.
    442       Boundary/stepping algorithm is active with facrange= 0.02  Step limitation 1
     419      LateralDisplacementFlag=  1   Skin= 0
     420      Boundary/stepping algorithm is active with RangeFactor= 0.02  Step limit type 1
    443421
    444422eIoni:   tables are built for  e-
     
    453431      Lambda tables from threshold to 100 TeV in 120 bins.
    454432      Total cross sections and sampling from StandBrem model (based on the EEDL data library)
    455       Good description from 1 KeV to 100 GeV, log scale extrapolation above 100 GeV.
     433      Good description from 1 KeV to 100 GeV, log scale extrapolation above 100 GeV. LPM flag 1
    456434
    457435eIoni:   tables are built for  e+
     
    466444      Lambda tables from threshold to 100 TeV in 120 bins.
    467445      Total cross sections and sampling from StandBrem model (based on the EEDL data library)
    468       Good description from 1 KeV to 100 GeV, log scale extrapolation above 100 GeV.
     446      Good description from 1 KeV to 100 GeV, log scale extrapolation above 100 GeV. LPM flag 1
    469447
    470448annihil:       Sampling according eplus2gg model
     
    474452msc:  Model variant of multiple scattering for proton
    475453      Lambda tables from 100 eV  to 100 TeV in 120 bins.
    476       Boundary/stepping algorithm is active with facrange= 0.02  Step limitation 1
     454      LateralDisplacementFlag=  1   Skin= 0
     455      Boundary/stepping algorithm is active with RangeFactor= 0.02  Step limit type 1
    477456
    478457hIoni:   tables are built for  proton
     
    494473msc:  Model variant of multiple scattering for mu+
    495474      Lambda tables from 100 eV  to 100 TeV in 120 bins.
    496       Boundary/stepping algorithm is active with facrange= 0.02  Step limitation 1
     475      LateralDisplacementFlag=  1   Skin= 0
     476      Boundary/stepping algorithm is active with RangeFactor= 0.02  Step limit type 1
    497477
    498478muIoni:   tables are built for  mu+
     
    540520msc:  Model variant of multiple scattering for pi-
    541521      Lambda tables from 100 eV  to 100 TeV in 120 bins.
    542       Boundary/stepping algorithm is active with facrange= 0.02  Step limitation 1
     522      LateralDisplacementFlag=  1   Skin= 0
     523      Boundary/stepping algorithm is active with RangeFactor= 0.02  Step limit type 1
    543524
    544525hIoni:   tables are built for  pi-
     
    555536--------- Ranecu engine status ---------
    556537 Initial seed (index) = 0
    557  Current couple of seeds = 606835024, 988202660
     538 Current couple of seeds = 220670736, 1247745483
    558539----------------------------------------
    559540---> End of event: 0
    560    Absorber: total energy: 408.66702 MeV       total track length: 97.709788 cm
    561         Gap: total energy: 83.799117 MeV       total track length: 2.3229686
     541   Absorber: total energy: 393.70133 MeV       total track length: 92.810449 cm
     542        Gap: total energy: 105.36422 MeV       total track length: 2.959901
    562543
    563544--------------------End of Run------------------------------
    564545
    565  mean Energy in Absorber : 408.66702 MeV +- 0 eV
    566  mean Energy in Gap      : 83.799117 MeV +- 0 eV
    567 
    568  mean trackLength in Absorber : 97.709788 cm  +- 0 fm
    569  mean trackLength in Gap      : 2.3229686 m   +- 0 fm
    570 ------------------------------------------------------------
    571 
     546 mean Energy in Absorber : 393.70133 MeV +- 0 eV
     547 mean Energy in Gap      : 105.36422 MeV +- 0 eV
     548
     549 mean trackLength in Absorber : 92.810449 cm  +- 0 fm
     550 mean trackLength in Gap      : 2.959901 m   +- 0 fm
     551------------------------------------------------------------
     552
  • trunk/geant4/N03/g4_00.prim

    r474 r609  
    221221/BaseVector                 1                 0                 0                 0                 1                 0
    222222/Box               2.5                50                50
     223#--------------------
     224!EndModeling
     225!DrawAll
     226!CloseDevice
  • trunk/geant4/N03/g4_01.prim

    r474 r609  
    221221/BaseVector                 1                 0                 0                 0                 1                 0
    222222/Box               2.5                50                50
     223#--------------------
     224!EndModeling
     225!DrawAll
     226!CloseDevice
  • trunk/geant4/N03/g4_02.prim

    r474 r609  
    11##G4.PRIM-FORMAT-2.4
    2 /BoundingBox       -866.025404       -866.025404       -866.025404        866.025404        866.025404        866.025404
     2/BoundingBox       -103.077641       -103.077641       -103.077641        103.077641        103.077641        103.077641
    33!SetCamera
    44!OpenDevice
    55!BeginModeling
    6 /ColorRGB                 1                 0                 0
     6#--------------------
     7#/PVName          Calorimeter.0
     8/ColorRGB                 1                 1                 1
    79/ForceWireframe  0
    810/Origin                 0                 0                 0
    911/BaseVector                 1                 0                 0                 0                 1                 0
    10 /Polyline
    11 /PLVertex                 0                 0                 0
    12 /PLVertex               500                 0                 0
    13 /EndPolyline
    14 /ColorRGB                 0                 1                 0
    15 /ForceWireframe  0
    16 /Origin                 0                 0                 0
    17 /BaseVector                 1                 0                 0                 0                 1                 0
    18 /Polyline
    19 /PLVertex                 0                 0                 0
    20 /PLVertex                 0               500                 0
    21 /EndPolyline
    22 /ColorRGB                 0                 0                 1
    23 /ForceWireframe  0
    24 /Origin                 0                 0                 0
    25 /BaseVector                 1                 0                 0                 0                 1                 0
    26 /Polyline
    27 /PLVertex                 0                 0                 0
    28 /PLVertex                 0                 0               500
    29 /EndPolyline
    30 /ColorRGB                 0                 0                 1
    31 /Origin                 0                 0                 0
    32 /BaseVector                 1                 0                 0                 0                 1                 0
    33 /MarkText2DS                 0                0                0               40             -100             -140 Absorber
    34 /ColorRGB                 1                 0                 0
    35 /ForceWireframe  0
    36 /Origin                 0                 0                 0
    37 /BaseVector                 1                 0                 0                 0                 1                 0
    38 /Polyline
    39 /PLVertex               -25               -50                50
    40 /PLVertex               -25               -50               -50
    41 /EndPolyline
    42 /ColorRGB                 1                 0                 0
    43 /ForceWireframe  0
    44 /Origin                 0                 0                 0
    45 /BaseVector                 1                 0                 0                 0                 1                 0
    46 /Polyline
    47 /PLVertex               -25               -45                50
    48 /PLVertex               -25               -55                50
    49 /EndPolyline
    50 /ColorRGB                 1                 0                 0
    51 /ForceWireframe  0
    52 /Origin                 0                 0                 0
    53 /BaseVector                 1                 0                 0                 0                 1                 0
    54 /Polyline
    55 /PLVertex               -20               -50                50
    56 /PLVertex               -30               -50                50
    57 /EndPolyline
    58 /ColorRGB                 1                 0                 0
    59 /ForceWireframe  0
    60 /Origin                 0                 0                 0
    61 /BaseVector                 1                 0                 0                 0                 1                 0
    62 /Polyline
    63 /PLVertex               -25               -45               -50
    64 /PLVertex               -25               -55               -50
    65 /EndPolyline
    66 /ColorRGB                 1                 0                 0
    67 /ForceWireframe  0
    68 /Origin                 0                 0                 0
    69 /BaseVector                 1                 0                 0                 0                 1                 0
    70 /Polyline
    71 /PLVertex               -20               -50               -50
    72 /PLVertex               -30               -50               -50
    73 /EndPolyline
    74 /ColorRGB                 0                 0                 1
    75 /Origin                 0                 0                 0
    76 /BaseVector                 1                 0                 0                 0                 1                 0
    77 /MarkText2DS               -25              -45                0               12                0                0 10 cm
     12/Box                75                50                50
     13#--------------------
     14#/PVName               Layer.0
     15/ColorRGB                 1                 1                 1
     16/ForceWireframe  0
     17/Origin             -67.5                 0                 0
     18/BaseVector                 1                 0                 0                 0                 1                 0
     19/Box               7.5                50                50
     20#--------------------
     21#/PVName                    Lead.0
     22/ColorRGB                 1                 1                 1
     23/ForceWireframe  0
     24/Origin               -70                 0                 0
     25/BaseVector                 1                 0                 0                 0                 1                 0
     26/Box                 5                50                50
     27#--------------------
     28#/PVName                    liquidArgon.0
     29/ColorRGB                 1                 1                 1
     30/ForceWireframe  0
     31/Origin             -62.5                 0                 0
     32/BaseVector                 1                 0                 0                 0                 1                 0
     33/Box               2.5                50                50
     34#--------------------
     35#/PVName               Layer.1
     36/ColorRGB                 1                 1                 1
     37/ForceWireframe  0
     38/Origin             -52.5                 0                 0
     39/BaseVector                 1                 0                 0                 0                 1                 0
     40/Box               7.5                50                50
     41#--------------------
     42#/PVName                    Lead.0
     43/ColorRGB                 1                 1                 1
     44/ForceWireframe  0
     45/Origin               -55                 0                 0
     46/BaseVector                 1                 0                 0                 0                 1                 0
     47/Box                 5                50                50
     48#--------------------
     49#/PVName                    liquidArgon.0
     50/ColorRGB                 1                 1                 1
     51/ForceWireframe  0
     52/Origin             -47.5                 0                 0
     53/BaseVector                 1                 0                 0                 0                 1                 0
     54/Box               2.5                50                50
     55#--------------------
     56#/PVName               Layer.2
     57/ColorRGB                 1                 1                 1
     58/ForceWireframe  0
     59/Origin             -37.5                 0                 0
     60/BaseVector                 1                 0                 0                 0                 1                 0
     61/Box               7.5                50                50
     62#--------------------
     63#/PVName                    Lead.0
     64/ColorRGB                 1                 1                 1
     65/ForceWireframe  0
     66/Origin               -40                 0                 0
     67/BaseVector                 1                 0                 0                 0                 1                 0
     68/Box                 5                50                50
     69#--------------------
     70#/PVName                    liquidArgon.0
     71/ColorRGB                 1                 1                 1
     72/ForceWireframe  0
     73/Origin             -32.5                 0                 0
     74/BaseVector                 1                 0                 0                 0                 1                 0
     75/Box               2.5                50                50
     76#--------------------
     77#/PVName               Layer.3
     78/ColorRGB                 1                 1                 1
     79/ForceWireframe  0
     80/Origin             -22.5                 0                 0
     81/BaseVector                 1                 0                 0                 0                 1                 0
     82/Box               7.5                50                50
     83#--------------------
     84#/PVName                    Lead.0
     85/ColorRGB                 1                 1                 1
     86/ForceWireframe  0
     87/Origin               -25                 0                 0
     88/BaseVector                 1                 0                 0                 0                 1                 0
     89/Box                 5                50                50
     90#--------------------
     91#/PVName                    liquidArgon.0
     92/ColorRGB                 1                 1                 1
     93/ForceWireframe  0
     94/Origin             -17.5                 0                 0
     95/BaseVector                 1                 0                 0                 0                 1                 0
     96/Box               2.5                50                50
     97#--------------------
     98#/PVName               Layer.4
     99/ColorRGB                 1                 1                 1
     100/ForceWireframe  0
     101/Origin              -7.5                 0                 0
     102/BaseVector                 1                 0                 0                 0                 1                 0
     103/Box               7.5                50                50
     104#--------------------
     105#/PVName                    Lead.0
     106/ColorRGB                 1                 1                 1
     107/ForceWireframe  0
     108/Origin               -10                 0                 0
     109/BaseVector                 1                 0                 0                 0                 1                 0
     110/Box                 5                50                50
     111#--------------------
     112#/PVName                    liquidArgon.0
     113/ColorRGB                 1                 1                 1
     114/ForceWireframe  0
     115/Origin              -2.5                 0                 0
     116/BaseVector                 1                 0                 0                 0                 1                 0
     117/Box               2.5                50                50
     118#--------------------
     119#/PVName               Layer.5
     120/ColorRGB                 1                 1                 1
     121/ForceWireframe  0
     122/Origin               7.5                 0                 0
     123/BaseVector                 1                 0                 0                 0                 1                 0
     124/Box               7.5                50                50
     125#--------------------
     126#/PVName                    Lead.0
     127/ColorRGB                 1                 1                 1
     128/ForceWireframe  0
     129/Origin                 5                 0                 0
     130/BaseVector                 1                 0                 0                 0                 1                 0
     131/Box                 5                50                50
     132#--------------------
     133#/PVName                    liquidArgon.0
     134/ColorRGB                 1                 1                 1
     135/ForceWireframe  0
     136/Origin              12.5                 0                 0
     137/BaseVector                 1                 0                 0                 0                 1                 0
     138/Box               2.5                50                50
     139#--------------------
     140#/PVName               Layer.6
     141/ColorRGB                 1                 1                 1
     142/ForceWireframe  0
     143/Origin              22.5                 0                 0
     144/BaseVector                 1                 0                 0                 0                 1                 0
     145/Box               7.5                50                50
     146#--------------------
     147#/PVName                    Lead.0
     148/ColorRGB                 1                 1                 1
     149/ForceWireframe  0
     150/Origin                20                 0                 0
     151/BaseVector                 1                 0                 0                 0                 1                 0
     152/Box                 5                50                50
     153#--------------------
     154#/PVName                    liquidArgon.0
     155/ColorRGB                 1                 1                 1
     156/ForceWireframe  0
     157/Origin              27.5                 0                 0
     158/BaseVector                 1                 0                 0                 0                 1                 0
     159/Box               2.5                50                50
     160#--------------------
     161#/PVName               Layer.7
     162/ColorRGB                 1                 1                 1
     163/ForceWireframe  0
     164/Origin              37.5                 0                 0
     165/BaseVector                 1                 0                 0                 0                 1                 0
     166/Box               7.5                50                50
     167#--------------------
     168#/PVName                    Lead.0
     169/ColorRGB                 1                 1                 1
     170/ForceWireframe  0
     171/Origin                35                 0                 0
     172/BaseVector                 1                 0                 0                 0                 1                 0
     173/Box                 5                50                50
     174#--------------------
     175#/PVName                    liquidArgon.0
     176/ColorRGB                 1                 1                 1
     177/ForceWireframe  0
     178/Origin              42.5                 0                 0
     179/BaseVector                 1                 0                 0                 0                 1                 0
     180/Box               2.5                50                50
     181#--------------------
     182#/PVName               Layer.8
     183/ColorRGB                 1                 1                 1
     184/ForceWireframe  0
     185/Origin              52.5                 0                 0
     186/BaseVector                 1                 0                 0                 0                 1                 0
     187/Box               7.5                50                50
     188#--------------------
     189#/PVName                    Lead.0
     190/ColorRGB                 1                 1                 1
     191/ForceWireframe  0
     192/Origin                50                 0                 0
     193/BaseVector                 1                 0                 0                 0                 1                 0
     194/Box                 5                50                50
     195#--------------------
     196#/PVName                    liquidArgon.0
     197/ColorRGB                 1                 1                 1
     198/ForceWireframe  0
     199/Origin              57.5                 0                 0
     200/BaseVector                 1                 0                 0                 0                 1                 0
     201/Box               2.5                50                50
     202#--------------------
     203#/PVName               Layer.9
     204/ColorRGB                 1                 1                 1
     205/ForceWireframe  0
     206/Origin              67.5                 0                 0
     207/BaseVector                 1                 0                 0                 0                 1                 0
     208/Box               7.5                50                50
     209#--------------------
     210#/PVName                    Lead.0
     211/ColorRGB                 1                 1                 1
     212/ForceWireframe  0
     213/Origin                65                 0                 0
     214/BaseVector                 1                 0                 0                 0                 1                 0
     215/Box                 5                50                50
     216#--------------------
     217#/PVName                    liquidArgon.0
     218/ColorRGB                 1                 1                 1
     219/ForceWireframe  0
     220/Origin              72.5                 0                 0
     221/BaseVector                 1                 0                 0                 0                 1                 0
     222/Box               2.5                50                50
    78223#--------------------
    79224!EndModeling
  • trunk/geant4/N03/g4_03.prim

    r474 r609  
    11##G4.PRIM-FORMAT-2.4
    2 /BoundingBox       -866.025404       -866.025404       -866.025404        866.025404        866.025404        866.025404
     2/BoundingBox       -103.077641       -103.077641       -103.077641        103.077641        103.077641        103.077641
    33!SetCamera
    44!OpenDevice
    55!BeginModeling
    6 /ColorRGB                 1                 0                 0
     6#--------------------
     7#/PVName          Calorimeter.0
     8/ColorRGB                 1                 1                 1
    79/ForceWireframe  0
    810/Origin                 0                 0                 0
    911/BaseVector                 1                 0                 0                 0                 1                 0
    10 /Polyline
    11 /PLVertex                 0                 0                 0
    12 /PLVertex               500                 0                 0
    13 /EndPolyline
    14 /ColorRGB                 0                 1                 0
    15 /ForceWireframe  0
    16 /Origin                 0                 0                 0
    17 /BaseVector                 1                 0                 0                 0                 1                 0
    18 /Polyline
    19 /PLVertex                 0                 0                 0
    20 /PLVertex                 0               500                 0
    21 /EndPolyline
    22 /ColorRGB                 0                 0                 1
    23 /ForceWireframe  0
    24 /Origin                 0                 0                 0
    25 /BaseVector                 1                 0                 0                 0                 1                 0
    26 /Polyline
    27 /PLVertex                 0                 0                 0
    28 /PLVertex                 0                 0               500
    29 /EndPolyline
    30 /ColorRGB                 0                 0                 1
    31 /Origin                 0                 0                 0
    32 /BaseVector                 1                 0                 0                 0                 1                 0
    33 /MarkText2DS                 0                0                0               50             -100             -140 Gap
    34 /ColorRGB                 1                 0                 0
    35 /ForceWireframe  0
    36 /Origin                 0                 0                 0
    37 /BaseVector                 1                 0                 0                 0                 1                 0
    38 /Polyline
    39 /PLVertex               -25               -50                50
    40 /PLVertex               -25               -50               -50
    41 /EndPolyline
    42 /ColorRGB                 1                 0                 0
    43 /ForceWireframe  0
    44 /Origin                 0                 0                 0
    45 /BaseVector                 1                 0                 0                 0                 1                 0
    46 /Polyline
    47 /PLVertex               -25               -45                50
    48 /PLVertex               -25               -55                50
    49 /EndPolyline
    50 /ColorRGB                 1                 0                 0
    51 /ForceWireframe  0
    52 /Origin                 0                 0                 0
    53 /BaseVector                 1                 0                 0                 0                 1                 0
    54 /Polyline
    55 /PLVertex               -20               -50                50
    56 /PLVertex               -30               -50                50
    57 /EndPolyline
    58 /ColorRGB                 1                 0                 0
    59 /ForceWireframe  0
    60 /Origin                 0                 0                 0
    61 /BaseVector                 1                 0                 0                 0                 1                 0
    62 /Polyline
    63 /PLVertex               -25               -45               -50
    64 /PLVertex               -25               -55               -50
    65 /EndPolyline
    66 /ColorRGB                 1                 0                 0
    67 /ForceWireframe  0
    68 /Origin                 0                 0                 0
    69 /BaseVector                 1                 0                 0                 0                 1                 0
    70 /Polyline
    71 /PLVertex               -20               -50               -50
    72 /PLVertex               -30               -50               -50
    73 /EndPolyline
    74 /ColorRGB                 0                 0                 1
    75 /Origin                 0                 0                 0
    76 /BaseVector                 1                 0                 0                 0                 1                 0
    77 /MarkText2DS               -25              -45                0               12                0                0 10 cm
     12/Box                75                50                50
     13#--------------------
     14#/PVName               Layer.0
     15/ColorRGB                 1                 1                 1
     16/ForceWireframe  0
     17/Origin             -67.5                 0                 0
     18/BaseVector                 1                 0                 0                 0                 1                 0
     19/Box               7.5                50                50
     20#--------------------
     21#/PVName                    Lead.0
     22/ColorRGB                 1                 1                 1
     23/ForceWireframe  0
     24/Origin               -70                 0                 0
     25/BaseVector                 1                 0                 0                 0                 1                 0
     26/Box                 5                50                50
     27#--------------------
     28#/PVName                    liquidArgon.0
     29/ColorRGB                 1                 1                 1
     30/ForceWireframe  0
     31/Origin             -62.5                 0                 0
     32/BaseVector                 1                 0                 0                 0                 1                 0
     33/Box               2.5                50                50
     34#--------------------
     35#/PVName               Layer.1
     36/ColorRGB                 1                 1                 1
     37/ForceWireframe  0
     38/Origin             -52.5                 0                 0
     39/BaseVector                 1                 0                 0                 0                 1                 0
     40/Box               7.5                50                50
     41#--------------------
     42#/PVName                    Lead.0
     43/ColorRGB                 1                 1                 1
     44/ForceWireframe  0
     45/Origin               -55                 0                 0
     46/BaseVector                 1                 0                 0                 0                 1                 0
     47/Box                 5                50                50
     48#--------------------
     49#/PVName                    liquidArgon.0
     50/ColorRGB                 1                 1                 1
     51/ForceWireframe  0
     52/Origin             -47.5                 0                 0
     53/BaseVector                 1                 0                 0                 0                 1                 0
     54/Box               2.5                50                50
     55#--------------------
     56#/PVName               Layer.2
     57/ColorRGB                 1                 1                 1
     58/ForceWireframe  0
     59/Origin             -37.5                 0                 0
     60/BaseVector                 1                 0                 0                 0                 1                 0
     61/Box               7.5                50                50
     62#--------------------
     63#/PVName                    Lead.0
     64/ColorRGB                 1                 1                 1
     65/ForceWireframe  0
     66/Origin               -40                 0                 0
     67/BaseVector                 1                 0                 0                 0                 1                 0
     68/Box                 5                50                50
     69#--------------------
     70#/PVName                    liquidArgon.0
     71/ColorRGB                 1                 1                 1
     72/ForceWireframe  0
     73/Origin             -32.5                 0                 0
     74/BaseVector                 1                 0                 0                 0                 1                 0
     75/Box               2.5                50                50
     76#--------------------
     77#/PVName               Layer.3
     78/ColorRGB                 1                 1                 1
     79/ForceWireframe  0
     80/Origin             -22.5                 0                 0
     81/BaseVector                 1                 0                 0                 0                 1                 0
     82/Box               7.5                50                50
     83#--------------------
     84#/PVName                    Lead.0
     85/ColorRGB                 1                 1                 1
     86/ForceWireframe  0
     87/Origin               -25                 0                 0
     88/BaseVector                 1                 0                 0                 0                 1                 0
     89/Box                 5                50                50
     90#--------------------
     91#/PVName                    liquidArgon.0
     92/ColorRGB                 1                 1                 1
     93/ForceWireframe  0
     94/Origin             -17.5                 0                 0
     95/BaseVector                 1                 0                 0                 0                 1                 0
     96/Box               2.5                50                50
     97#--------------------
     98#/PVName               Layer.4
     99/ColorRGB                 1                 1                 1
     100/ForceWireframe  0
     101/Origin              -7.5                 0                 0
     102/BaseVector                 1                 0                 0                 0                 1                 0
     103/Box               7.5                50                50
     104#--------------------
     105#/PVName                    Lead.0
     106/ColorRGB                 1                 1                 1
     107/ForceWireframe  0
     108/Origin               -10                 0                 0
     109/BaseVector                 1                 0                 0                 0                 1                 0
     110/Box                 5                50                50
     111#--------------------
     112#/PVName                    liquidArgon.0
     113/ColorRGB                 1                 1                 1
     114/ForceWireframe  0
     115/Origin              -2.5                 0                 0
     116/BaseVector                 1                 0                 0                 0                 1                 0
     117/Box               2.5                50                50
     118#--------------------
     119#/PVName               Layer.5
     120/ColorRGB                 1                 1                 1
     121/ForceWireframe  0
     122/Origin               7.5                 0                 0
     123/BaseVector                 1                 0                 0                 0                 1                 0
     124/Box               7.5                50                50
     125#--------------------
     126#/PVName                    Lead.0
     127/ColorRGB                 1                 1                 1
     128/ForceWireframe  0
     129/Origin                 5                 0                 0
     130/BaseVector                 1                 0                 0                 0                 1                 0
     131/Box                 5                50                50
     132#--------------------
     133#/PVName                    liquidArgon.0
     134/ColorRGB                 1                 1                 1
     135/ForceWireframe  0
     136/Origin              12.5                 0                 0
     137/BaseVector                 1                 0                 0                 0                 1                 0
     138/Box               2.5                50                50
     139#--------------------
     140#/PVName               Layer.6
     141/ColorRGB                 1                 1                 1
     142/ForceWireframe  0
     143/Origin              22.5                 0                 0
     144/BaseVector                 1                 0                 0                 0                 1                 0
     145/Box               7.5                50                50
     146#--------------------
     147#/PVName                    Lead.0
     148/ColorRGB                 1                 1                 1
     149/ForceWireframe  0
     150/Origin                20                 0                 0
     151/BaseVector                 1                 0                 0                 0                 1                 0
     152/Box                 5                50                50
     153#--------------------
     154#/PVName                    liquidArgon.0
     155/ColorRGB                 1                 1                 1
     156/ForceWireframe  0
     157/Origin              27.5                 0                 0
     158/BaseVector                 1                 0                 0                 0                 1                 0
     159/Box               2.5                50                50
     160#--------------------
     161#/PVName               Layer.7
     162/ColorRGB                 1                 1                 1
     163/ForceWireframe  0
     164/Origin              37.5                 0                 0
     165/BaseVector                 1                 0                 0                 0                 1                 0
     166/Box               7.5                50                50
     167#--------------------
     168#/PVName                    Lead.0
     169/ColorRGB                 1                 1                 1
     170/ForceWireframe  0
     171/Origin                35                 0                 0
     172/BaseVector                 1                 0                 0                 0                 1                 0
     173/Box                 5                50                50
     174#--------------------
     175#/PVName                    liquidArgon.0
     176/ColorRGB                 1                 1                 1
     177/ForceWireframe  0
     178/Origin              42.5                 0                 0
     179/BaseVector                 1                 0                 0                 0                 1                 0
     180/Box               2.5                50                50
     181#--------------------
     182#/PVName               Layer.8
     183/ColorRGB                 1                 1                 1
     184/ForceWireframe  0
     185/Origin              52.5                 0                 0
     186/BaseVector                 1                 0                 0                 0                 1                 0
     187/Box               7.5                50                50
     188#--------------------
     189#/PVName                    Lead.0
     190/ColorRGB                 1                 1                 1
     191/ForceWireframe  0
     192/Origin                50                 0                 0
     193/BaseVector                 1                 0                 0                 0                 1                 0
     194/Box                 5                50                50
     195#--------------------
     196#/PVName                    liquidArgon.0
     197/ColorRGB                 1                 1                 1
     198/ForceWireframe  0
     199/Origin              57.5                 0                 0
     200/BaseVector                 1                 0                 0                 0                 1                 0
     201/Box               2.5                50                50
     202#--------------------
     203#/PVName               Layer.9
     204/ColorRGB                 1                 1                 1
     205/ForceWireframe  0
     206/Origin              67.5                 0                 0
     207/BaseVector                 1                 0                 0                 0                 1                 0
     208/Box               7.5                50                50
     209#--------------------
     210#/PVName                    Lead.0
     211/ColorRGB                 1                 1                 1
     212/ForceWireframe  0
     213/Origin                65                 0                 0
     214/BaseVector                 1                 0                 0                 0                 1                 0
     215/Box                 5                50                50
     216#--------------------
     217#/PVName                    liquidArgon.0
     218/ColorRGB                 1                 1                 1
     219/ForceWireframe  0
     220/Origin              72.5                 0                 0
     221/BaseVector                 1                 0                 0                 0                 1                 0
     222/Box               2.5                50                50
    78223#--------------------
    79224!EndModeling
  • trunk/geant4/N03/g4_04.prim

    r474 r609  
    11##G4.PRIM-FORMAT-2.4
    2 /BoundingBox       -875.138588       -897.492158       -873.986342        896.339912        873.986342        897.492158
     2/BoundingBox       -103.077641       -103.077641       -103.077641        103.077641        103.077641        103.077641
    33!SetCamera
    44!OpenDevice
    55!BeginModeling
    66#--------------------
    7 #/PVName     World.0
     7#/PVName          Calorimeter.0
    88/ColorRGB                 1                 1                 1
    99/ForceWireframe  0
    1010/Origin                 0                 0                 0
    1111/BaseVector                 1                 0                 0                 0                 1                 0
    12 /Box                90                60                60
    13 #--------------------
    14 #/PVName          Calorimeter.0
    15 /ColorRGB                 1                 1                 1
    16 /ForceWireframe  0
    17 /Origin                 0                 0                 0
    18 /BaseVector                 1                 0                 0                 0                 1                 0
    1912/Box                75                50                50
    2013#--------------------
     
    228221/BaseVector                 1                 0                 0                 0                 1                 0
    229222/Box               2.5                50                50
    230 /ColorRGB                 1                 0                 0
    231 /ForceWireframe  0
    232 /Origin                 0                 0                 0
    233 /BaseVector                 1                 0                 0                 0                 1                 0
    234 /Polyline
    235 /PLVertex                 0                 0                 0
    236 /PLVertex               500                 0                 0
    237 /EndPolyline
    238 /ColorRGB                 0                 1                 0
    239 /ForceWireframe  0
    240 /Origin                 0                 0                 0
    241 /BaseVector                 1                 0                 0                 0                 1                 0
    242 /Polyline
    243 /PLVertex                 0                 0                 0
    244 /PLVertex                 0               500                 0
    245 /EndPolyline
    246 /ColorRGB                 0                 0                 1
    247 /ForceWireframe  0
    248 /Origin                 0                 0                 0
    249 /BaseVector                 1                 0                 0                 0                 1                 0
    250 /Polyline
    251 /PLVertex                 0                 0                 0
    252 /PLVertex                 0                 0               500
    253 /EndPolyline
    254 /ColorRGB                 0                 0                 1
    255 /Origin                 0                 0                 0
    256 /BaseVector                 1                 0                 0                 0                 1                 0
    257 /MarkText2DS                 0                0                0               50             -100             -240 World
    258 /ColorRGB                 1                 0                 0
    259 /ForceWireframe  0
    260 /Origin                 0                 0                 0
    261 /BaseVector                 1                 0                 0                 0                 1                 0
    262 /Polyline
    263 /PLVertex               410              -510               510
    264 /PLVertex               510              -510               510
    265 /EndPolyline
    266 /ColorRGB                 1                 0                 0
    267 /ForceWireframe  0
    268 /Origin                 0                 0                 0
    269 /BaseVector                 1                 0                 0                 0                 1                 0
    270 /Polyline
    271 /PLVertex               410              -505               510
    272 /PLVertex               410              -515               510
    273 /EndPolyline
    274 /ColorRGB                 1                 0                 0
    275 /ForceWireframe  0
    276 /Origin                 0                 0                 0
    277 /BaseVector                 1                 0                 0                 0                 1                 0
    278 /Polyline
    279 /PLVertex               410              -510               515
    280 /PLVertex               410              -510               505
    281 /EndPolyline
    282 /ColorRGB                 1                 0                 0
    283 /ForceWireframe  0
    284 /Origin                 0                 0                 0
    285 /BaseVector                 1                 0                 0                 0                 1                 0
    286 /Polyline
    287 /PLVertex               510              -505               510
    288 /PLVertex               510              -515               510
    289 /EndPolyline
    290 /ColorRGB                 1                 0                 0
    291 /ForceWireframe  0
    292 /Origin                 0                 0                 0
    293 /BaseVector                 1                 0                 0                 0                 1                 0
    294 /Polyline
    295 /PLVertex               510              -510               515
    296 /PLVertex               510              -510               505
    297 /EndPolyline
    298 /ColorRGB                 0                 0                 1
    299 /Origin                 0                 0                 0
    300 /BaseVector                 1                 0                 0                 0                 1                 0
    301 /MarkText2DS               460             -505              510               12                0                0 10 cm
    302223#--------------------
    303224!EndModeling
  • trunk/geant4/N03/g4_05.prim

    r474 r609  
    221221/BaseVector                 1                 0                 0                 0                 1                 0
    222222/Box               2.5                50                50
     223#--------------------
     224!EndModeling
     225!DrawAll
     226!CloseDevice
  • trunk/geant4/N03/include/ExN03DetectorConstruction.hh

    r483 r609  
    2626//
    2727// $Id: ExN03DetectorConstruction.hh,v 1.7 2006/06/29 17:48:32 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     28// GEANT4 tag $Name: $
    2929//
    3030//
  • trunk/geant4/N03/include/ExN03DetectorMessenger.hh

    r483 r609  
    2626//
    2727// $Id: ExN03DetectorMessenger.hh,v 1.7 2006/06/29 17:48:34 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     28// GEANT4 tag $Name: $
    2929//
    3030//
  • trunk/geant4/N03/include/ExN03EventAction.hh

    r483 r609  
    2525//
    2626//
    27 // $Id: ExN03EventAction.hh,v 1.11 2006/10/26 14:30:05 allison Exp $
    28 // GEANT4 tag $Name: geant4-08-02-patch-01-ref $
     27// $Id: ExN03EventAction.hh,v 1.12 2007/07/02 13:22:08 vnivanch Exp $
     28// GEANT4 tag $Name: $
    2929//
    3030//
     
    4646class ExN03EventAction : public G4UserEventAction
    4747{
    48  public:
    49    ExN03EventAction(ExN03RunAction*);
    50   ~ExN03EventAction();
     48public:
     49  ExN03EventAction(ExN03RunAction*);
     50  virtual ~ExN03EventAction();
    5151
    52  public:
    53    void  BeginOfEventAction(const G4Event*);
    54    void    EndOfEventAction(const G4Event*);
     52  void  BeginOfEventAction(const G4Event*);
     53  void    EndOfEventAction(const G4Event*);
    5554   
    56    void AddAbs(G4double de, G4double dl) {EnergyAbs += de; TrackLAbs += dl;};
    57    void AddGap(G4double de, G4double dl) {EnergyGap += de; TrackLGap += dl;};
     55  void AddAbs(G4double de, G4double dl) {EnergyAbs += de; TrackLAbs += dl;};
     56  void AddGap(G4double de, G4double dl) {EnergyGap += de; TrackLGap += dl;};
    5857                     
    59    void SetPrintModulo(G4int    val)  {printModulo = val;};
     58  void SetPrintModulo(G4int    val)  {printModulo = val;};
    6059   
    61  private:
     60private:
    6261   ExN03RunAction*  runAct;
    6362   
  • trunk/geant4/N03/include/ExN03EventActionMessenger.hh

    r483 r609  
    2525//
    2626//
    27 // $Id: ExN03EventActionMessenger.hh,v 1.9 2006/10/26 14:28:00 allison Exp $
    28 // GEANT4 tag $Name: geant4-08-02-patch-01-ref $
     27// $Id: ExN03EventActionMessenger.hh,v 1.10 2007/07/02 13:22:08 vnivanch Exp $
     28// GEANT4 tag $Name: $
    2929//
    3030//
     
    4747class ExN03EventActionMessenger: public G4UImessenger
    4848{
    49   public:
    50     ExN03EventActionMessenger(ExN03EventAction*);
    51   ~ExN03EventActionMessenger();
     49public:
     50  ExN03EventActionMessenger(ExN03EventAction*);
     51  virtual ~ExN03EventActionMessenger();
    5252   
    53     void SetNewValue(G4UIcommand*, G4String);
     53  void SetNewValue(G4UIcommand*, G4String);
    5454   
    55   private:
    56     ExN03EventAction*     eventAction;
    57     G4UIdirectory*        eventDir;   
    58     G4UIcmdWithAnInteger* PrintCmd;   
     55private:
     56  ExN03EventAction*     eventAction;
     57  G4UIdirectory*        eventDir;   
     58  G4UIcmdWithAnInteger* PrintCmd;   
    5959};
    6060
  • trunk/geant4/N03/include/ExN03PhysicsList.hh

    r483 r609  
    2525//
    2626//
    27 // $Id: ExN03PhysicsList.hh,v 1.12 2006/06/29 17:48:40 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     27// $Id: ExN03PhysicsList.hh,v 1.13 2007/07/02 13:22:08 vnivanch Exp $
     28// GEANT4 tag $Name: $
    2929//
    3030//
     
    4343class ExN03PhysicsList: public G4VUserPhysicsList
    4444{
    45   public:
    46     ExN03PhysicsList();
    47   ~ExN03PhysicsList();
     45public:
     46  ExN03PhysicsList();
     47  virtual ~ExN03PhysicsList();
    4848
    49   protected:
    50     // Construct particle and physics
    51     void ConstructParticle();
    52     void ConstructProcess();
     49  // Construct particle and physics
     50  void ConstructParticle();
     51  void ConstructProcess();
    5352 
    54     void SetCuts();
     53  void SetCuts();
     54   
     55private:
     56  // these methods Construct particles
     57  void ConstructBosons();
     58  void ConstructLeptons();
     59  void ConstructMesons();
     60  void ConstructBaryons();
    5561
    56    
    57   protected:
    58     // these methods Construct particles
    59     void ConstructBosons();
    60     void ConstructLeptons();
    61     void ConstructMesons();
    62     void ConstructBaryons();
    63 
    64   protected:
    65     // these methods Construct physics processes and register them
    66     void ConstructGeneral();
    67     void ConstructEM();
     62  // these methods Construct physics processes and register them
     63  void ConstructDecay();
     64  void ConstructEM();
    6865};
    6966
  • trunk/geant4/N03/include/ExN03PrimaryGeneratorAction.hh

    r483 r609  
    2525//
    2626//
    27 // $Id: ExN03PrimaryGeneratorAction.hh,v 1.7 2006/06/29 17:48:42 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     27// $Id: ExN03PrimaryGeneratorAction.hh,v 1.8 2007/07/02 13:22:08 vnivanch Exp $
     28// GEANT4 tag $Name: $
    2929//
    3030//
     
    4848class ExN03PrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction
    4949{
    50   public:
    51     ExN03PrimaryGeneratorAction(ExN03DetectorConstruction*);   
    52   ~ExN03PrimaryGeneratorAction();
     50public:
     51  ExN03PrimaryGeneratorAction(ExN03DetectorConstruction*);   
     52  virtual ~ExN03PrimaryGeneratorAction();
    5353
    54   public:
    55     void GeneratePrimaries(G4Event*);
    56     void SetRndmFlag(G4String val) { rndmFlag = val;}
     54  void GeneratePrimaries(G4Event*);
     55  void SetRndmFlag(G4String val) { rndmFlag = val;}
    5756
    58   private:
    59     G4ParticleGun*                particleGun;    //pointer a to G4  class
    60     ExN03DetectorConstruction*    ExN03Detector;  //pointer to the geometry
     57private:
     58  G4ParticleGun*                particleGun;      //pointer a to G4  class
     59  ExN03DetectorConstruction*    ExN03Detector;    //pointer to the geometry
    6160   
    62     ExN03PrimaryGeneratorMessenger* gunMessenger; //messenger of this class
    63     G4String                      rndmFlag;       //flag for a rndm impact point
     61  ExN03PrimaryGeneratorMessenger* gunMessenger;  //messenger of this class
     62  G4String                      rndmFlag;         //flag for a rndm impact point
    6463};
    6564
  • trunk/geant4/N03/include/ExN03PrimaryGeneratorMessenger.hh

    r483 r609  
    2525//
    2626//
    27 // $Id: ExN03PrimaryGeneratorMessenger.hh,v 1.7 2006/06/29 17:48:44 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     27// $Id: ExN03PrimaryGeneratorMessenger.hh,v 1.8 2007/07/02 13:22:08 vnivanch Exp $
     28// GEANT4 tag $Name: $
    2929//
    3030//
     
    4747class ExN03PrimaryGeneratorMessenger: public G4UImessenger
    4848{
    49   public:
    50     ExN03PrimaryGeneratorMessenger(ExN03PrimaryGeneratorAction*);
    51   ~ExN03PrimaryGeneratorMessenger();
     49public:
     50  ExN03PrimaryGeneratorMessenger(ExN03PrimaryGeneratorAction*);
     51  virtual ~ExN03PrimaryGeneratorMessenger();
    5252   
    53     void SetNewValue(G4UIcommand*, G4String);
     53  void SetNewValue(G4UIcommand*, G4String);
    5454   
    55   private:
    56     ExN03PrimaryGeneratorAction* ExN03Action;
    57     G4UIdirectory*               gunDir;
    58     G4UIcmdWithAString*          RndmCmd;
     55private:
     56  ExN03PrimaryGeneratorAction* ExN03Action;
     57  G4UIdirectory*               gunDir;
     58  G4UIcmdWithAString*          RndmCmd;
    5959};
    6060
  • trunk/geant4/N03/include/ExN03RunAction.hh

    r483 r609  
    2525//
    2626//
    27 // $Id: ExN03RunAction.hh,v 1.10 2006/06/29 17:48:47 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     27// $Id: ExN03RunAction.hh,v 1.11 2007/07/02 13:22:08 vnivanch Exp $
     28// GEANT4 tag $Name: $
    2929//
    3030//
     
    4545class ExN03RunAction : public G4UserRunAction
    4646{
    47   public:
    48     ExN03RunAction();
    49   ~ExN03RunAction();
     47public:
     48  ExN03RunAction();
     49  virtual ~ExN03RunAction();
    5050
    51   public:
    52     void BeginOfRunAction(const G4Run*);
    53     void   EndOfRunAction(const G4Run*);
     51  void BeginOfRunAction(const G4Run*);
     52  void   EndOfRunAction(const G4Run*);
    5453   
    55     void fillPerEvent(G4double, G4double, G4double, G4double);
     54  void fillPerEvent(G4double, G4double, G4double, G4double);
    5655
    57   private:
    58     G4double sumEAbs, sum2EAbs;
    59     G4double sumEGap, sum2EGap;
     56private:
     57  G4double sumEAbs, sum2EAbs;
     58  G4double sumEGap, sum2EGap;
    6059   
    61     G4double sumLAbs, sum2LAbs;
    62     G4double sumLGap, sum2LGap;   
     60  G4double sumLAbs, sum2LAbs;
     61  G4double sumLGap, sum2LGap;   
    6362};
    6463
  • trunk/geant4/N03/include/ExN03SteppingAction.hh

    r483 r609  
    2525//
    2626//
    27 // $Id: ExN03SteppingAction.hh,v 1.9 2006/06/29 17:48:49 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     27// $Id: ExN03SteppingAction.hh,v 1.10 2007/07/02 13:22:08 vnivanch Exp $
     28// GEANT4 tag $Name: $
    2929//
    3030//
     
    4545class ExN03SteppingAction : public G4UserSteppingAction
    4646{
    47   public:
    48     ExN03SteppingAction(ExN03DetectorConstruction*, ExN03EventAction*);
    49   ~ExN03SteppingAction();
     47public:
     48  ExN03SteppingAction(ExN03DetectorConstruction*, ExN03EventAction*);
     49  virtual ~ExN03SteppingAction();
    5050
    51     void UserSteppingAction(const G4Step*);
     51  void UserSteppingAction(const G4Step*);
    5252   
    53   private:
    54     ExN03DetectorConstruction* detector;
    55     ExN03EventAction*          eventaction; 
     53private:
     54  ExN03DetectorConstruction* detector;
     55  ExN03EventAction*          eventaction; 
    5656};
    5757
  • trunk/geant4/N03/include/ExN03SteppingVerbose.hh

    r483 r609  
    2626//
    2727// $Id: ExN03SteppingVerbose.hh,v 1.9 2006/06/29 17:48:52 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     28// GEANT4 tag $Name: $
    2929//
    3030//
  • trunk/geant4/N03/rndmSeed.mac

    r474 r609  
    1 # $Id: rndmSeed.mac,v 1.1 2003/01/27 17:55:47 maire Exp $
     1# $Id: rndmSeed.mac,v 1.2 2007/06/13 10:36:39 maire Exp $
    22#
    33# This macro illustrates how to save and reset the random number seed
     
    2424/run/beamOn 4
    2525#
    26 # restart run 2
     26# run3 : restart run 2
    2727#
    2828/random/resetEngineFrom currentRun.rndm
    2929/run/beamOn 4
    3030#
    31 # restart run 1
     31# run4 : restart run 1
    3232#
    3333/random/resetEngineFrom run1.rndm
  • trunk/geant4/N03/src/ExN03DetectorConstruction.cc

    r483 r609  
    2626//
    2727// $Id: ExN03DetectorConstruction.cc,v 1.23 2006/06/29 17:48:54 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     28// GEANT4 tag $Name: $
    2929//
    3030//
  • trunk/geant4/N03/src/ExN03DetectorMessenger.cc

    r483 r609  
    2626//
    2727// $Id: ExN03DetectorMessenger.cc,v 1.10 2006/06/29 17:48:58 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     28// GEANT4 tag $Name: $
    2929//
    3030//
  • trunk/geant4/N03/src/ExN03EventAction.cc

    r483 r609  
    2626//
    2727// $Id: ExN03EventAction.cc,v 1.28 2006/10/26 14:30:05 allison Exp $
    28 // GEANT4 tag $Name: geant4-08-02-patch-01-ref $
     28// GEANT4 tag $Name: $
    2929//
    3030//
  • trunk/geant4/N03/src/ExN03EventActionMessenger.cc

    r483 r609  
    2626//
    2727// $Id: ExN03EventActionMessenger.cc,v 1.12 2006/10/26 14:28:00 allison Exp $
    28 // GEANT4 tag $Name: geant4-08-02-patch-01-ref $
     28// GEANT4 tag $Name: $
    2929//
    3030//
  • trunk/geant4/N03/src/ExN03PhysicsList.cc

    r483 r609  
    2525//
    2626//
    27 // $Id: ExN03PhysicsList.cc,v 1.20 2006/06/29 17:49:05 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     27// $Id: ExN03PhysicsList.cc,v 1.21 2007/07/02 13:22:08 vnivanch Exp $
     28// GEANT4 tag $Name: $
    2929//
    3030//
     
    4242ExN03PhysicsList::ExN03PhysicsList():  G4VUserPhysicsList()
    4343{
    44  defaultCutValue = 1.0*mm;
    45  SetVerboseLevel(1);
     44  defaultCutValue = 1.0*mm;
     45  SetVerboseLevel(1);
    4646}
    4747
     
    119119void ExN03PhysicsList::ConstructBaryons()
    120120{
    121 //  barions
     121  //  barions
    122122  G4Proton::ProtonDefinition();
    123123  G4AntiProton::AntiProtonDefinition();
     
    133133  AddTransportation();
    134134  ConstructEM();
    135   ConstructGeneral();
     135  ConstructDecay();
    136136}
    137137
     
    205205#include "G4Decay.hh"
    206206
    207 void ExN03PhysicsList::ConstructGeneral()
     207void ExN03PhysicsList::ConstructDecay()
    208208{
    209209  // Add Decay Process
    210    G4Decay* theDecayProcess = new G4Decay();
     210  G4Decay* theDecayProcess = new G4Decay();
    211211  theParticleIterator->reset();
    212212  while( (*theParticleIterator)() ){
  • trunk/geant4/N03/src/ExN03PrimaryGeneratorAction.cc

    r483 r609  
    2626//
    2727// $Id: ExN03PrimaryGeneratorAction.cc,v 1.8 2006/06/29 17:49:07 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     28// GEANT4 tag $Name: $
    2929//
    3030//
  • trunk/geant4/N03/src/ExN03PrimaryGeneratorMessenger.cc

    r483 r609  
    2626//
    2727// $Id: ExN03PrimaryGeneratorMessenger.cc,v 1.9 2006/06/29 17:49:09 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     28// GEANT4 tag $Name: $
    2929//
    3030//
  • trunk/geant4/N03/src/ExN03RunAction.cc

    r483 r609  
    2626//
    2727// $Id: ExN03RunAction.cc,v 1.18 2006/06/29 17:49:11 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     28// GEANT4 tag $Name: $
    2929//
    3030//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/geant4/N03/src/ExN03SteppingAction.cc

    r483 r609  
    2626//
    2727// $Id: ExN03SteppingAction.cc,v 1.15 2006/06/29 17:49:13 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     28// GEANT4 tag $Name: $
    2929//
    3030//
  • trunk/geant4/N03/src/ExN03SteppingVerbose.cc

    r483 r609  
    2626//
    2727// $Id: ExN03SteppingVerbose.cc,v 1.13 2006/06/29 17:49:16 gunter Exp $
    28 // GEANT4 tag $Name: geant4-08-01-patch-01 $
     28// GEANT4 tag $Name: $
    2929//
    3030//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
  • trunk/geant4/N03/vis.mac

    r561 r609  
    1818# Use this open statement to get an .eps and .prim files
    1919# suitable for viewing in DAWN.
    20 /vis/open DAWNFILE
     20###/vis/open DAWNFILE
    2121#
    2222# Use this open statement instead for OpenGL in immediate mode.
  • trunk/geant4/N03/visTutor/exN03Vis12.loop

    r483 r609  
    22/vis/ogl/set/startTime {startTime} ns {timeRange} ns
    33# Print eps file
    4 #/vis/oglx/printEPS
     4#/vis/ogl/printEPS
  • trunk/geant4/N03/visTutor/exN03Vis12.mac

    r561 r609  
    11#######################################################################
    2 #  MACRO FILE NAME: exN03Vis12.mac                                     #
     2#  MACRO FILE NAME: exN03Vis12.mac                                    #
    33#                                                                     #
    4 #  AUTHOR(S): Laurent Garnier                                         #
     4#  AUTHOR(S): John Allison                                            #
    55#                                                                     #
    6 #  DATE: July 01, 2007                                                #
     6#  DATE: 16th August 2006                                             #
    77#                                                                     #
    8 #  CONTENTS: A basic macro for demonstrating Inventor driver          #
     8#  CONTENTS: A basic macro for demonstrating time slicing             #
    99#                                                                     #
    10 #  USAGE:  % $G4BINDIR/exampleN03  visTutor/exN03Vis12.mac            #
     10#  USAGE:  % $G4BINDIR/exampleN03  visTutor/exN03Vis12.mac             #
    1111#                                                                     #
    12 #  REQUIRED PLATFORMS & SOFTWARES: Unix, Motif, X-window, OpenGL,Qt   #
    13 #                                  HEPVis                             #
    14 #                                  Inventor (TGS or SoFree)           #
     12#  REQUIRED PLATFORMS & SOFTWARES: Mac/Unix with X-Windows, OpenGL    #
    1513#                                                                     #
    16 #  ENVIRONMENTAL VARIABLES (C-MACROS) FOR INSTALLATION:               #
    17 #  (See geant4/source/visualization/README for details.)              #
    18 #                                                                     #
    19 #    % setenv G4VIS_BUILD_OIX_DRIVER       1                          #
    20 #                                                                     #
    21 #  ENVIRONMENTAL VARIABLES (C-MACROS) FOR COMPILATION:                #
    22 #  (See geant4/source/visualization/README for details.)              #
    23 #                                                                     #
    24 #    % setenv G4VIS_USE_OIQT               1                          #
    25 #                                                                     #
    2614#  ADDITIONAL NOTES:                                                  #
    2715#                                                                     #
    2816#######################################################################
    2917
    30 # Create "scene-0"
    31 /vis/scene/create
     18/control/verbose 2
     19/vis/verbose confirmations
    3220
    33 # Invoke the OpenInventor driver
    34 /vis/sceneHandler/create OGLIQT
    35 /vis/viewer/create
     21/vis/open OGLSX
     22/vis/drawVolume
     23/vis/scene/add/eventID
     24/vis/scene/add/trajectories rich
    3625
    37 # Add the world volume to the current scene
    38 /vis/scene/add/volume
    39 #/vis/scene/add/volume Layer
    40 # Name of the absorbers = name of their material (Lead) !
    41 #/vis/scene/add/volume Lead
    42 # Name of the gaps = name of their material (liquidArgon) !
    43 #/vis/scene/add/volume liquidArgon
    44 #/vis/scene/add/trajectories
    45 /tracking/storeTrajectory 1
     26# Set up drawByCharge with time slicing
     27/vis/modeling/trajectories/create/drawByCharge
     28/vis/modeling/trajectories/drawByCharge-0/default/setDrawStepPts true
     29/vis/modeling/trajectories/drawByCharge-0/default/setStepPtsSize 5
     30/vis/modeling/trajectories/drawByCharge-0/default/setDrawAuxPts true
     31/vis/modeling/trajectories/drawByCharge-0/default/setAuxPtsSize 5
     32/vis/modeling/trajectories/drawByCharge-0/default/setTimeSliceInterval 0.001 ns
     33/vis/modeling/trajectories/list
     34#/N03/det/setField 5 T
     35#/N03/det/update
     36/run/beamOn
    4637
    47 # Bird-eye view of events
    48 /vis/viewer/reset
    49 /vis/viewer/set/viewpointThetaPhi   45 45
     38# Configure OpenGL for display-by-time
     39/vis/ogl/set/fade 1
     40/vis/ogl/set/displayHeadTime true
     41/control/alias timeRange 0.1
     42/vis/verbose warnings
     43/control/verbose 0
     44/control/loop visTutor/exN03Vis12.loop startTime -{timeRange} 0.7 0.005
     45/control/verbose 2
     46/vis/verbose confirmations
     47/vis/ogl/set/displayHeadTime false
    5048
    51 /vis/scene/notifyHandlers
     49# Set up drawByParticleID with time slicing
     50/vis/modeling/trajectories/create/drawByParticleID
     51/vis/modeling/trajectories/drawByParticleID-0/set e- red
     52/vis/modeling/trajectories/drawByParticleID-0/set e+ blue
     53/vis/modeling/trajectories/drawByParticleID-0/set pi- cyan
     54/vis/modeling/trajectories/drawByParticleID-0/set pi+ magenta
     55#/vis/modeling/trajectories/drawByParticleID-0/default/setDrawStepPts true
     56/vis/modeling/trajectories/drawByParticleID-0/default/setStepPtsSize 5
     57#/vis/modeling/trajectories/drawByParticleID-0/default/setDrawAuxPts true
     58/vis/modeling/trajectories/drawByParticleID-0/default/setAuxPtsSize 5
     59/vis/modeling/trajectories/drawByParticleID-0/default/setTimeSliceInterval 0.001 ns
     60/vis/modeling/trajectories/list
    5261
     62# Remove gammas
     63/vis/filtering/trajectories/create/particleFilter
     64/vis/filtering/trajectories/particleFilter-0/add gamma
     65/vis/filtering/trajectories/particleFilter-0/invert true
     66
     67/gun/energy 1 GeV
     68/run/beamOn
     69/control/alias timeRange 0.1
     70/vis/ogl/set/displayHeadTime true
     71/vis/ogl/set/displayLightFront true -90 0 0 mm
     72/vis/verbose warnings
     73/control/verbose 0
     74/control/loop visTutor/exN03Vis12.loop startTime -{timeRange} 0.7 0.001
    5375/control/verbose 2
    54 #######################################################################
    55 #   Controls on an Inventor examiner viewer are :                     #
    56 #  - in picking mode (cursor is the upper left arrow)                 #
    57 #   Ctrl + pick a volume : see daughters.                             #
    58 #   Shift + pick a volume : see mother.                               #
    59 #  - in viewing mode (cursor is the hand)                             #
    60 #   Left-button + pointer move : rotate.                              #
    61 #   Ctrl+Left-button + pointer move : pane.                           #
    62 #   Ctrl+Shift+Left-button + pointer move : scale.                    #
    63 #   Middle-button + pointer move : pane.                              #
    64 #                                                                     #
    65 #######################################################################
     76/vis/verbose confirmations
     77/vis/ogl/set/displayLightFront false
     78/vis/ogl/set/displayHeadTime false
    6679
    67 /vis/viewer/update
    68 
    69 /run/beamOn 1
    70 
     80# To see pi -> mu -> e decay.
     81/gun/particle pi+
     82/vis/filtering/trajectories/particleFilter-0/add anti_nu_mu
     83/vis/filtering/trajectories/particleFilter-0/add nu_mu
     84/vis/filtering/trajectories/particleFilter-0/add anti_nu_e
     85/vis/filtering/trajectories/particleFilter-0/add nu_e
     86# Accumulate several events for effect
     87# /vis/scene/endOfEventAction accumulate
     88/gun/energy 100 MeV
     89#/vis/viewer/set/globalLineWidthScale 2
     90/run/beamOn
     91/control/alias timeRange 1000
     92/vis/ogl/set/displayHeadTime true
     93/vis/verbose warnings
     94/control/verbose 0
     95/control/loop visTutor/exN03Vis12.loop startTime -{timeRange} 3000 5
     96/control/verbose 2
     97/vis/verbose confirmations
  • trunk/geant4/N03/visTutor/exN03Vis13.loop

    r483 r609  
    55/vis/viewer/refresh
    66# Print eps file
    7 #/vis/oglx/printEPS
     7#/vis/ogl/printEPS
  • trunk/geant4/N03/visTutor/gui.mac

    r561 r609  
    3333/gui/addButton vis Vis3(OGLSX) "/control/execute visTutor/exN03Vis3.mac"
    3434/gui/addButton vis Vis4(OGLIX) "/control/execute visTutor/exN03Vis4.mac"
    35 /gui/addButton vis Vis12(OGLIQT) "/control/execute visTutor/exN03Vis12.mac"
     35/gui/addButton vis Vis15(OGLIQT) "/control/execute visTutor/exN03Vis15.mac"
    3636/gui/addButton vis Vis14(OGLSQT) "/control/execute visTutor/exN03Vis14.mac"
    3737/gui/addButton vis Vis5(OIX)   "/control/execute visTutor/exN03Vis5.mac"
  • trunk/geant4/config/History

    r606 r609  
    1 $Id: History,v 1.303 2007/11/02 15:58:08 gcosmo Exp $
     1$Id: History,v 1.305 2007/11/16 10:44:51 lgarnier Exp $
    22-------------------------------------------------------------------
    33
     
    1616     * Reverse chronological order (last date on top), please *
    1717     ----------------------------------------------------------
     18
     1915th November 2007  Ben Morgan (config-V09-00-07)
     20- Update Configure script to handle new 'gdml' sub-module and new data
     21  libraries (G4ABLADATA and new G4EMLOW version).
     22- Updated internal scripts for Configure accordingly.
    1823
    19242nd November 2007  Gabriele Cosmo (config-V09-00-06)
     
    273210th October 2007  Gunter Folger (config-V09-00-05)
    2833- Added "incl" (Liege cascade) hadronic model module to binmake.gmk.
     34
     353th October 2007  Laurent Garnier
     36- Added setup for Qt in those files :
     37 - config/G4UI_BUILD.gmk
     38 - config/G4UI_USE.gmk
     39 - config/G4VIS_BUILD.gmk
     40 - config/G4VIS_USE.gmk
     41 - config/interactivity.gmk
     42 - config/sys/Darwin-g++.gmk
     43 - config/sys/Linux-g++.gmk
    2944 
    304516th August 2007  Gabriele Cosmo (config-V09-00-04)
  • trunk/geant4/interfaces/GAG/src/G4UIGAG.cc

    r593 r609  
    2525//
    2626//
    27 // $Id: G4UIGAG.cc,v 1.18 2006/06/29 19:09:23 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-00-ref-01 $
     27// $Id: G4UIGAG.cc,v 1.19 2007/10/30 10:14:34 kmura Exp $
     28// GEANT4 tag $Name: $
    2929//
    3030// G4UIGAG.cc
     
    414414{
    415415  G4UIcommandTree * treeTop = UI->GetTree();
    416   /*int*/unsigned i = newCommand.index(" ");
     416  /*int*/str_size i = newCommand.index(" ");
    417417  if( i != std::string::npos )
    418418  {
  • trunk/geant4/interfaces/History

    r593 r609  
    1 $Id: History,v 1.82 2007/06/19 10:38:28 gcosmo Exp $
     1$Id: History,v 1.89 2007/11/16 10:41:54 lgarnier Exp $
    22-------------------------------------------------------------------
    33
     
    1717     * Reverse chronological order (last date on top), please *
    1818     ----------------------------------------------------------
     1915 Nov 2007, Laurent Garnier
     20 - G4UIQt,G4Qt : Adding a GEANT4_QT_DEBUG flag to hide all debug messages
     21 - G4UIQt,G4Qt : Compilation improvements for Qt3
     22 - G4UIQt,G4Qt : Minors corrections on G4UIQt helpWidget
     23
     2413 Nov 2007, Laurent Garnier
     25 - G4UIQt,G4Qt : Moving all moc in one big file interface/G4UIQT_moc.cc,
     26   including Qt3 and Qt4 moc support
     27
     2809 Nov 2007, Laurent Garnier
     29 - G4UIQt,G4Qt : Change all include directive to be compatible with Qt3
     30
     3127 Sept 2007, Laurent Garnier
     32 - Adding sur files for G4UIQt driver
     33
     3406 November Koichi Murakami
     35- G4UItcsh.cc: store shell histoty accross sessrions.
     36
     3730 October 2007 Koichi Murakami (interfaces-V09-00-02)
     38- Guy committed the new Qt interface (28/Sep).
     39- Add "#ifdef G4UI_BUILD_QT_SESSION" protection in src/G4UIQt_moc.cc.
     40- Remove Qt interface from the current tag.
     41- G4UIGAG.cc: suppress a compilation warning.
     42
     4330 October 2007 Koichi Murakami (interfaces-V09-00-01)
     44- Makoto updated the implementation of the signal handler for Ctrl-C.
     45
     4628 October 2007, Makoto Asai
     47- Remove improper dependency from interfaces/basic to run in GNUmakefile
     48
     4902 August 2007, Koichi Murakami (interfaces-V09-00-00)
     50- Fix compilation warning on SUN-CC in G4UIterminal.cc
    1951
    205219 June 2007, Gabriele Cosmo (interfaces-V08-03-02)
  • trunk/geant4/interfaces/basic/GNUmakefile

    r593 r609  
    1 # $Id: GNUmakefile,v 1.3 2007/05/21 07:30:33 kmura Exp $
     1# $Id: GNUmakefile,v 1.4 2007/10/29 18:49:45 asaim Exp $
    22# -------------------------------------------------------------
    33# GNUmakefile for interfaces/basic library.  John Allison, 6/7/98.
     
    1616CPPFLAGS += -I$(G4BASE)/interfaces/common/include
    1717CPPFLAGS += -I$(G4BASE)/intercoms/include
    18 CPPFLAGS += -I$(G4BASE)/global/management/include \
    19             -I$(G4BASE)/global/HEPRandom/include \
    20             -I$(G4BASE)/global/HEPGeometry/include \
    21             -I$(G4BASE)/run/include \
    22             -I$(G4BASE)/event/include \
    23             -I$(G4BASE)/track/include \
    24             -I$(G4BASE)/tracking/include \
    25             -I$(G4BASE)/particles/management/include \
    26             -I$(G4BASE)/processes/management/include \
    27             -I$(G4BASE)/processes/cuts/include \
    28             -I$(G4BASE)/processes/electromagnetic/utils/include \
    29             -I$(G4BASE)/processes/transportation/include \
    30             -I$(G4BASE)/processes/decay/include \
    31             -I$(G4BASE)/materials/include \
    32             -I$(G4BASE)/geometry/management/include \
    33             -I$(G4BASE)/geometry/volumes/include \
    34             -I$(G4BASE)/geometry/navigation/include \
    35             -I$(G4BASE)/geometry/magneticfield/include \
    36             -I$(G4BASE)/geometry/biasing/include \
    37             -I$(G4BASE)/digits_hits/detector/include \
    38             -I$(G4BASE)/digits_hits/hits/include \
    39             -I$(G4BASE)/digits_hits/digits/include \
    40             -I$(G4BASE)/interfaces/common/include \
    41             -I$(G4BASE)/interfaces/basic/include \
    42             -I$(G4BASE)/intercoms/include \
    43             -I$(G4BASE)/graphics_reps/include
    4418
    4519include $(G4INSTALL)/config/common.gmk
  • trunk/geant4/interfaces/basic/include/G4UIQt.hh

    r608 r609  
    2525//
    2626//
    27 // $Id: G4UIQt.hh,v 1.6 2007/11/15 18:24:27 lgarnier Exp $
     27// $Id: G4UIQt.hh,v 1.7 2007/11/15 18:53:59 lgarnier Exp $
    2828// GEANT4 tag $Name:  $
    2929//
     
    149149  void ButtonCallback(const QString&);
    150150  void HelpTreeClicCallback();
     151#if QT_VERSION < 0x040000
     152  void HelpTreeDoubleClicCallback( QListViewItem*, int);
     153#else
    151154  void HelpTreeDoubleClicCallback( QTreeWidgetItem*, int);
     155#endif
    152156  void ShowHelpCallback();
    153157  void CommandHistoryCallback();
  • trunk/geant4/specific-geant4-dev.sh

    r607 r609  
    2727  export G4RADIOACTIVEDATA=$G4DATA/RadiativeDecay
    2828  export G4LEDATA=$G4DATA/G4EMLOW3.0
    29   export QTHOME=/usr/local/Qt/3.3.8
     29  export QTHOME=/usr/local/Qt/4.3.0
    3030  #//////////////////////////////////////////////////////////
    3131  # GUI, Visualization :
  • trunk/geant4/visualization/History

    r593 r609  
    1 $Id: History,v 1.414 2007/07/10 17:54:09 allison Exp $
     1$Id: History,v 1.417 2007/11/15 10:18:32 allison Exp $
    22-------------------------------------------------------------------
    33
     
    2424History file for visualization category
    2525---------------------------------------
     26
     2715th November 2007  John Allison
     28- opengl-V09-00-03: Re-introduced Qt files. (All files now properly protected.)
     29
     3013th November 2007  John Allison  (vis-V09-00-02)
     31- Removed OpenGL Qt files from tag.  File are still at head - need fixing.
     32
     3310th November 2007  John Allison  (vis-V09-00-01)
     34- opengl-V09-00-01: Minor improvements in design and messaging.
     35- modeling-V09-00-00: Minor improvements in messaging.
     36- visman-V09-00-01:Minor improvement in messaging.
    2637
    273810th July 2007  John Allison  (vis-V09-00-00)
  • trunk/geant4/visualization/OpenGL/History

    r593 r609  
    1 $Id: History,v 1.94 2007/08/21 14:05:50 allison Exp $
     1$Id: History,v 1.100 2007/11/16 10:41:54 lgarnier Exp $
    22-------------------------------------------------------------------
    33
     
    2121-------------------------------------
    2222
     23<<<<<<< History
     2415 Nov 2007, Laurent Garnier
     25 - G4UIQt,G4Qt : Adding a GEANT4_QT_DEBUG flag to hide all debug messages
     26 - G4UIQt,G4Qt : Compilation improvements for Qt3
     27 - G4UIQt,G4Qt : Minors corrections on G4UIQt helpWidget
     28
     2914 Nov 2007, Laurent Garnier
     30 - G4OpenGLStoredQtViewer.cc : Correction of a bug with mouse move event in
     31     Qt4
     32 - G4OpenGLQtExportDialog_moc.cc, G4OpenGLQtViewer.cc, G4OpenGLQtViewer_moc.cc :
     33     Adding protection for Qt version between 4.0 and 4.2
     34
     3513 Nov 2007, Laurent Garnier
     36 - G4UIQt,G4Qt : Moving all moc in one big file interface/G4UIQT_moc.cc,
     37   including Qt3 and Qt4 moc support
     38
     3909 Nov 2007, Laurent Garnier
     40 - G4UIQt,G4Qt : Change all include directive to be compatible with Qt3
     41
     4208 Nov 2007, Laurent Garnier
     43 - moc_G4OpenGLQtExportDialog.cc move in G4OpenGLQtExportDialog_moc.cc
     44 - moc_G4OpenGLQtViewer.cc move to G4OpenGLQtViewer_moc.cc
     45
     4627 Sept 2007, Laurent Garnier
     47 - Adding sur files for G4UIQt driver :
     48   - G4OpenGLImmediateQt.cc
     49   - G4OpenGLImmediateQtViewer.cc
     50   - G4OpenGLQtExportDialog.cc
     51   - G4OpenGLQtViewer.cc
     52   - G4OpenGLStoredQt.cc
     53   - G4OpenGLStoredQtViewer.cc
     54   - moc_G4OpenGLQtExportDialog.cc
     55   - moc_G4OpenGLQtViewer.cc
     56
     57=======
     5815th November 2007  John Allison  (opengl-V09-00-03)
     59- Re-introduced Qt files, now properly protected by cpp flags.
     60- cpp flags also added to some other files not previously properly protected.
     61
     6213th November 2007  John Allison  (opengl-V09-00-02)
     63- Removed Qt files from tag.  File are still at head - need fixing.
     64
     6510th November 2007  John Allison  (opengl-V09-00-01)
     66- Moved WinSize_x, y to base class G4OpenGLViewer.
     67- Minor improvement in guidance for /vis/ogl/printEPS.
     68
     6928th September 2007  lgarnier
     70- first import of G4UI Qt files : Do not try to compil them
     71
     72>>>>>>> 1.99
    237321st August 2007  John Allison  (opengl-V09-00-00)
    2474- Removed redundant G4OpenGLXViewerMessenger.
     
    2777- G4OpenGLSceneHandler and G4OpenGLXViewerMessenger:
    2878  Fixed gcc-4.1.2 compiler warnings.
    29 
    30 G4OpenGLXViewer: Trapped glXMakeCurrent in Initialise function.
    3179
    328025th May 2007  John Allison  (opengl-V08-03-02)
  • trunk/geant4/visualization/OpenInventor/History

    r593 r609  
    1 $Id: History,v 1.93 2007/04/03 13:35:48 allison Exp $
     1$Id: History,v 1.94 2007/10/23 14:56:35 gcosmo Exp $
    22-------------------------------------------------------------------
    33
     
    2020History file for visualization/OpenInventor
    2121-------------------------------------------
     22
     2323rd October 2007  Gabriele Cosmo
     24- Initialise local vectors in SoPolyhedron.cc to fix compilation warnings
     25  on gcc-4.2.2 for use of non-initialised values.
    2226
    23273rd April 2007  John Allison  (openinventor-V08-02-02 - needs visman-V08-02-03)
  • trunk/geant4/visualization/OpenInventor/include/SoG4Polyhedron.h

    r593 r609  
    2525//
    2626//
    27 // $Id: SoG4Polyhedron.h,v 1.2 2006/12/13 15:49:56 gunter Exp $
    28 // GEANT4 tag $Name: geant4-09-00-ref-01 $
     27// $Id: SoG4Polyhedron.h,v 1.3 2007/09/17 16:08:00 gcosmo Exp $
     28// GEANT4 tag $Name: $
    2929//
    3030// John Allison  26th October 2006
     
    3535
    3636// Inheritance :
    37 #include <Geant4_SoPolyhedron.h>
     37#include "Geant4_SoPolyhedron.h"
    3838#include "G4AttHolder.hh"
    3939
  • trunk/geant4/visualization/OpenInventor/src/SoPolyhedron.cc

    r529 r609  
    129129     SoTextureCoordinateElement::FUNCTION);
    130130  const SoTextureCoordinateElement *tce = NULL;
    131   SbVec4f texCoord;
     131  SbVec4f texCoord(0.,0.,0.,0.);
    132132  if (useTexFunction) {
    133133    tce = SoTextureCoordinateElement::getInstance(state);
     
    416416    int32_t* coords = new int32_t[ncoord];
    417417
    418     SbVec3f pvb,pve;
     418    SbVec3f pvb(0.,0.,0.), pve(0.,0.,0.);
    419419
    420420    SbBool empty = TRUE;
  • trunk/geant4/visualization/management/History

    r593 r609  
    1 $Id: History,v 1.101 2007/07/10 17:52:25 allison Exp $
     1$Id: History,v 1.102 2007/11/10 15:05:46 allison Exp $
    22
    33-------------------------------------------------------------------
     
    2626History file for visualization management sub-category
    2727------------------------------------------------------
     28
     2910th November 2007  John Allison  (visman-V09-00-01)
     30- G4VisManager.cc: Minor improvement in messaging.
     31- G4VisCommandsScene.cc: Improvements in /vis/scene/endOfEventAction messaging.
    2832
    293310th July 2007  John Allison  (visman-V09-00-00)
  • trunk/geant4/visualization/vis.mac

    r562 r609  
    1818# Use this open statement to get an .eps and .prim files
    1919# suitable for viewing in DAWN.
    20 /vis/open DAWNFILE
     20###/vis/open DAWNFILE
    2121#
    2222# Use this open statement instead for OpenGL in immediate mode.
  • trunk/geant4/visualization/visTutor/exN03Vis12.loop

    r562 r609  
    22/vis/ogl/set/startTime {startTime} ns {timeRange} ns
    33# Print eps file
    4 #/vis/oglx/printEPS
     4#/vis/ogl/printEPS
  • trunk/geant4/visualization/visTutor/exN03Vis12.mac

    r562 r609  
    11#######################################################################
    2 #  MACRO FILE NAME: exN03Vis12.mac                                     #
     2#  MACRO FILE NAME: exN03Vis12.mac                                    #
    33#                                                                     #
    4 #  AUTHOR(S): Laurent Garnier                                         #
     4#  AUTHOR(S): John Allison                                            #
    55#                                                                     #
    6 #  DATE: July 01, 2007                                                #
     6#  DATE: 16th August 2006                                             #
    77#                                                                     #
    8 #  CONTENTS: A basic macro for demonstrating Inventor driver          #
     8#  CONTENTS: A basic macro for demonstrating time slicing             #
    99#                                                                     #
    10 #  USAGE:  % $G4BINDIR/exampleN03  visTutor/exN03Vis12.mac            #
     10#  USAGE:  % $G4BINDIR/exampleN03  visTutor/exN03Vis12.mac             #
    1111#                                                                     #
    12 #  REQUIRED PLATFORMS & SOFTWARES: Unix, Motif, X-window, OpenGL,Qt   #
    13 #                                  HEPVis                             #
    14 #                                  Inventor (TGS or SoFree)           #
     12#  REQUIRED PLATFORMS & SOFTWARES: Mac/Unix with X-Windows, OpenGL    #
    1513#                                                                     #
    16 #  ENVIRONMENTAL VARIABLES (C-MACROS) FOR INSTALLATION:               #
    17 #  (See geant4/source/visualization/README for details.)              #
    18 #                                                                     #
    19 #    % setenv G4VIS_BUILD_OIX_DRIVER       1                          #
    20 #                                                                     #
    21 #  ENVIRONMENTAL VARIABLES (C-MACROS) FOR COMPILATION:                #
    22 #  (See geant4/source/visualization/README for details.)              #
    23 #                                                                     #
    24 #    % setenv G4VIS_USE_OIQT               1                          #
    25 #                                                                     #
    2614#  ADDITIONAL NOTES:                                                  #
    2715#                                                                     #
    2816#######################################################################
    2917
    30 # Create "scene-0"
    31 /vis/scene/create
     18/control/verbose 2
     19/vis/verbose confirmations
    3220
    33 # Invoke the OpenInventor driver
    34 /vis/sceneHandler/create OGLIQT
    35 /vis/viewer/create
     21/vis/open OGLSX
     22/vis/drawVolume
     23/vis/scene/add/eventID
     24/vis/scene/add/trajectories rich
    3625
    37 # Add the world volume to the current scene
    38 /vis/scene/add/volume
    39 #/vis/scene/add/volume Layer
    40 # Name of the absorbers = name of their material (Lead) !
    41 #/vis/scene/add/volume Lead
    42 # Name of the gaps = name of their material (liquidArgon) !
    43 #/vis/scene/add/volume liquidArgon
    44 #/vis/scene/add/trajectories
    45 /tracking/storeTrajectory 1
     26# Set up drawByCharge with time slicing
     27/vis/modeling/trajectories/create/drawByCharge
     28/vis/modeling/trajectories/drawByCharge-0/default/setDrawStepPts true
     29/vis/modeling/trajectories/drawByCharge-0/default/setStepPtsSize 5
     30/vis/modeling/trajectories/drawByCharge-0/default/setDrawAuxPts true
     31/vis/modeling/trajectories/drawByCharge-0/default/setAuxPtsSize 5
     32/vis/modeling/trajectories/drawByCharge-0/default/setTimeSliceInterval 0.001 ns
     33/vis/modeling/trajectories/list
     34#/N03/det/setField 5 T
     35#/N03/det/update
     36/run/beamOn
    4637
    47 # Bird-eye view of events
    48 /vis/viewer/reset
    49 /vis/viewer/set/viewpointThetaPhi   45 45
     38# Configure OpenGL for display-by-time
     39/vis/ogl/set/fade 1
     40/vis/ogl/set/displayHeadTime true
     41/control/alias timeRange 0.1
     42/vis/verbose warnings
     43/control/verbose 0
     44/control/loop visTutor/exN03Vis12.loop startTime -{timeRange} 0.7 0.005
     45/control/verbose 2
     46/vis/verbose confirmations
     47/vis/ogl/set/displayHeadTime false
    5048
    51 /vis/scene/notifyHandlers
     49# Set up drawByParticleID with time slicing
     50/vis/modeling/trajectories/create/drawByParticleID
     51/vis/modeling/trajectories/drawByParticleID-0/set e- red
     52/vis/modeling/trajectories/drawByParticleID-0/set e+ blue
     53/vis/modeling/trajectories/drawByParticleID-0/set pi- cyan
     54/vis/modeling/trajectories/drawByParticleID-0/set pi+ magenta
     55#/vis/modeling/trajectories/drawByParticleID-0/default/setDrawStepPts true
     56/vis/modeling/trajectories/drawByParticleID-0/default/setStepPtsSize 5
     57#/vis/modeling/trajectories/drawByParticleID-0/default/setDrawAuxPts true
     58/vis/modeling/trajectories/drawByParticleID-0/default/setAuxPtsSize 5
     59/vis/modeling/trajectories/drawByParticleID-0/default/setTimeSliceInterval 0.001 ns
     60/vis/modeling/trajectories/list
    5261
     62# Remove gammas
     63/vis/filtering/trajectories/create/particleFilter
     64/vis/filtering/trajectories/particleFilter-0/add gamma
     65/vis/filtering/trajectories/particleFilter-0/invert true
     66
     67/gun/energy 1 GeV
     68/run/beamOn
     69/control/alias timeRange 0.1
     70/vis/ogl/set/displayHeadTime true
     71/vis/ogl/set/displayLightFront true -90 0 0 mm
     72/vis/verbose warnings
     73/control/verbose 0
     74/control/loop visTutor/exN03Vis12.loop startTime -{timeRange} 0.7 0.001
    5375/control/verbose 2
    54 #######################################################################
    55 #   Controls on an Inventor examiner viewer are :                     #
    56 #  - in picking mode (cursor is the upper left arrow)                 #
    57 #   Ctrl + pick a volume : see daughters.                             #
    58 #   Shift + pick a volume : see mother.                               #
    59 #  - in viewing mode (cursor is the hand)                             #
    60 #   Left-button + pointer move : rotate.                              #
    61 #   Ctrl+Left-button + pointer move : pane.                           #
    62 #   Ctrl+Shift+Left-button + pointer move : scale.                    #
    63 #   Middle-button + pointer move : pane.                              #
    64 #                                                                     #
    65 #######################################################################
     76/vis/verbose confirmations
     77/vis/ogl/set/displayLightFront false
     78/vis/ogl/set/displayHeadTime false
    6679
    67 /vis/viewer/update
    68 
    69 /run/beamOn 1
    70 
     80# To see pi -> mu -> e decay.
     81/gun/particle pi+
     82/vis/filtering/trajectories/particleFilter-0/add anti_nu_mu
     83/vis/filtering/trajectories/particleFilter-0/add nu_mu
     84/vis/filtering/trajectories/particleFilter-0/add anti_nu_e
     85/vis/filtering/trajectories/particleFilter-0/add nu_e
     86# Accumulate several events for effect
     87# /vis/scene/endOfEventAction accumulate
     88/gun/energy 100 MeV
     89#/vis/viewer/set/globalLineWidthScale 2
     90/run/beamOn
     91/control/alias timeRange 1000
     92/vis/ogl/set/displayHeadTime true
     93/vis/verbose warnings
     94/control/verbose 0
     95/control/loop visTutor/exN03Vis12.loop startTime -{timeRange} 3000 5
     96/control/verbose 2
     97/vis/verbose confirmations
  • trunk/geant4/visualization/visTutor/exN03Vis13.loop

    r562 r609  
    55/vis/viewer/refresh
    66# Print eps file
    7 #/vis/oglx/printEPS
     7#/vis/ogl/printEPS
  • trunk/geant4/visualization/visTutor/gui.mac

    r562 r609  
    3333/gui/addButton vis Vis3(OGLSX) "/control/execute visTutor/exN03Vis3.mac"
    3434/gui/addButton vis Vis4(OGLIX) "/control/execute visTutor/exN03Vis4.mac"
    35 /gui/addButton vis Vis12(OGLIQT) "/control/execute visTutor/exN03Vis12.mac"
     35/gui/addButton vis Vis15(OGLIQT) "/control/execute visTutor/exN03Vis15.mac"
    3636/gui/addButton vis Vis14(OGLSQT) "/control/execute visTutor/exN03Vis14.mac"
    3737/gui/addButton vis Vis5(OIX)   "/control/execute visTutor/exN03Vis5.mac"
Note: See TracChangeset for help on using the changeset viewer.