- Timestamp:
- Nov 16, 2007, 11:59:21 AM (17 years ago)
- 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 1 103078 4 2 0 5 10.6007 6 -11.7529 7 11.7529 8 1.1 3 0 4 0 5 0 6 0 7 0 8 1 9 9 1 10 10 0.001 -
trunk/geant4/N03/G4History.macro
r567 r609 1 1 /run/verbose 2 2 2 /vis/scene/create 3 /vis/open DAWNFILE4 /vis/sceneHandler/create DAWNFILE5 /vis/sceneHandler/attach6 /vis/viewer/create ! ! 6007 3 /vis/open OGLSQT 8 4 /vis/sceneHandler/create OGLSQT … … 12 8 /vis/scene/notifyHandlers 13 9 /vis/viewer/flush 14 /vis/viewer/refresh viewer- 115 /vis/viewer/update viewer- 110 /vis/viewer/refresh viewer-0 11 /vis/viewer/update viewer-0 16 12 /vis/scene/add/trajectories 17 13 /tracking/storeTrajectory 1 … … 22 18 /vis/scene/endOfEventAction accumulate 23 19 /vis/scene/notifyHandlers 24 /control/execute visTutor/gui.mac25 /gui/addMenu file File26 /gui/addButton file Continue continue27 /gui/addButton file Exit "exit"28 /gui/addMenu run Run29 /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 Gun33 /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 Vis42 /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 Viewer57 /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.11 1 2006/10/26 14:58:59 allisonExp $1 $Id: History,v 1.116 2007/11/16 10:52:37 lgarnier Exp $ 2 2 -------------------------------------------------- 3 3 … … 16 16 ---------------------------------------------------------- 17 17 18 16-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 24 02-07-07 V.Ivant (exampleN03-V09-00-00) 25 - make destructors virtual, cleanup 26 27 25-06-07 mma (exampleN03-V08-03-02) 28 - simplifications in exampleN03.cc 29 30 13-06-07 mma (exampleN03-V08-03-01) 31 - more verbose in rndmSeed.mac 32 33 21-05-07 John Allison (exampleN03-V08-03-00) 34 - Changed visTutor/exN03Vis12.loop and 13: follows change to /vis/ogl/printEPS. 35 18 36 26-10-06 John Allison (exampleN03-V08-01-04) 19 37 - Migrate to new trajectory modeling commands: -
trunk/geant4/N03/exampleN03.cc
r572 r609 25 25 // 26 26 // 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: $ 29 29 // 30 30 // 31 31 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 32 32 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 33 34 35 /** Environnement definition for app launch for mac36 */37 //#define MOSX_APP38 #ifdef MOSX_APP39 #define G4UI_BUILD_QT_SESSION40 #define G4UI_USE_QT41 #define G4VIS_BUILD_OPENGLQT_DRIVER42 #define G4VIS_USE_OPENGLQT43 #endif44 /** End of Environnement definition for app launch for mac45 */46 47 48 49 50 51 52 33 53 34 #include "G4RunManager.hh" … … 56 37 #include "G4UItcsh.hh" 57 38 58 #ifdef G4UI_USE_XM59 #include "G4UIXm.hh"60 #endif61 62 #ifdef G4UI_USE_QT63 #include "G4UIQt.hh"64 #include "G4Qt.hh"65 #endif66 67 #ifdef G4UI_USE_WIN3268 #include "G4UIWin32.hh"69 #endif70 71 39 #include "Randomize.hh" 72 73 #ifdef G4VIS_USE74 #include "G4VisExecutive.hh"75 #endif76 40 77 41 #include "ExN03DetectorConstruction.hh" … … 83 47 #include "ExN03SteppingVerbose.hh" 84 48 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 85 68 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 86 69 … … 90 73 // 91 74 CLHEP::HepRandom::setTheEngine(new CLHEP::RanecuEngine); 92 75 93 76 // User Verbose output class 94 77 // 95 G4VSteppingVerbose* verbosity = new ExN03SteppingVerbose; 96 G4VSteppingVerbose::SetInstance(verbosity); 78 G4VSteppingVerbose::SetInstance(new ExN03SteppingVerbose); 97 79 98 80 // Construct the default run manager … … 107 89 G4VUserPhysicsList* physics = new ExN03PhysicsList; 108 90 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 140 92 // Set user action classes 141 93 // 142 G4VUserPrimaryGeneratorAction* gen_action = new ExN03PrimaryGeneratorAction(detector); 94 G4VUserPrimaryGeneratorAction* gen_action = 95 new ExN03PrimaryGeneratorAction(detector); 143 96 runManager->SetUserAction(gen_action); 144 97 // … … 150 103 // 151 104 G4UserSteppingAction* stepping_action = 152 new ExN03SteppingAction(detector, event_action);105 new ExN03SteppingAction(detector, event_action); 153 106 runManager->SetUserAction(stepping_action); 154 107 … … 156 109 // 157 110 runManager->Initialize(); 158 111 159 112 // Get the pointer to the User Interface manager 160 113 // 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 162 128 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"); 170 141 #else 171 G4String vis = "/control/execute vis.mac";142 session = new G4UIterminal(); 172 143 #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"); 184 146 session->SessionStart(); 185 147 delete session; 186 } 187 else // Batch mode 188 { 148 189 149 #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 195 152 } 196 153 … … 199 156 // owned and deleted by the run manager, so they should not 200 157 // be deleted in the main() program ! 201 202 #ifdef G4VIS_USE203 delete visManager;204 #endif205 158 delete runManager; 206 delete verbosity;207 159 208 160 return 0; -
trunk/geant4/N03/exampleN03.out
r483 r609 1 1 2 2 ************************************************************* 3 Geant4 version Name: g eant4-08-02-patch-01-ref (23-February-2007)3 Geant4 version Name: global-V09-00-00 (28-August-2007) 4 4 Copyright : Geant4 Collaboration 5 5 Reference : NIM A 506 (2003), 250-303 … … 10 10 ***** Table : Nb of materials = 13 ***** 11 11 12 Material: Aluminium density: 2.700 g/cm3 temperature: 273.15 K pressure: 1.00 atm RadLength: 8.893 cm12 Material: Aluminium density: 2.700 g/cm3 RadL: 8.893 cm Imean: 166.400 eV 13 13 ---> Element: Aluminium ( ) Z = 13.0 N = 27.0 A = 26.98 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 14 14 15 Material: liquidArgon density: 1.390 g/cm3 temperature: 273.15 K pressure: 1.00 atm RadLength: 14.065 cm15 Material: liquidArgon density: 1.390 g/cm3 RadL: 14.065 cm Imean: 187.200 eV 16 16 ---> Element: liquidArgon ( ) Z = 18.0 N = 40.0 A = 39.95 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 17 17 18 Material: Lead density: 11.350 g/cm3 temperature: 273.15 K pressure: 1.00 atm RadLength: 5.612 mm18 Material: Lead density: 11.350 g/cm3 RadL: 5.612 mm Imean: 820.000 eV 19 19 ---> Element: Lead ( ) Z = 82.0 N = 207.2 A = 207.19 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 20 20 21 Material: Water density: 1.000 g/cm3 temperature: 273.15 K pressure: 1.00 atm RadLength: 36.092 cm21 Material: Water density: 1.000 g/cm3 RadL: 36.092 cm Imean: 75.000 eV 22 22 ---> Element: Hydrogen (H) Z = 1.0 N = 1.0 A = 1.01 g/mole ElmMassFraction: 11.21 % ElmAbundance 66.67 % 23 23 ---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole ElmMassFraction: 88.79 % ElmAbundance 33.33 % 24 24 25 Material: Scintillator density: 1.032 g/cm3 temperature: 273.15 K pressure: 1.00 atm RadLength: 42.549 cm25 Material: Scintillator density: 1.032 g/cm3 RadL: 42.549 cm Imean: 63.913 eV 26 26 ---> Element: Carbon (C) Z = 6.0 N = 12.0 A = 12.01 g/mole ElmMassFraction: 91.45 % ElmAbundance 47.37 % 27 27 ---> Element: Hydrogen (H) Z = 1.0 N = 1.0 A = 1.01 g/mole ElmMassFraction: 8.55 % ElmAbundance 52.63 % 28 28 29 Material: Mylar density: 1.397 g/cm3 temperature: 273.15 K pressure: 1.00 atm RadLength: 28.599 cm29 Material: Mylar density: 1.397 g/cm3 RadL: 28.599 cm Imean: 75.075 eV 30 30 ---> Element: Carbon (C) Z = 6.0 N = 12.0 A = 12.01 g/mole ElmMassFraction: 62.49 % ElmAbundance 45.45 % 31 31 ---> Element: Hydrogen (H) Z = 1.0 N = 1.0 A = 1.01 g/mole ElmMassFraction: 4.20 % ElmAbundance 36.36 % 32 32 ---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole ElmMassFraction: 33.30 % ElmAbundance 18.18 % 33 33 34 Material: quartz density: 2.200 g/cm3 temperature: 273.15 K pressure: 1.00 atm RadLength: 12.295 cm34 Material: quartz density: 2.200 g/cm3 RadL: 12.295 cm Imean: 126.007 eV 35 35 ---> Element: Silicon (Si) Z = 14.0 N = 28.1 A = 28.09 g/mole ElmMassFraction: 46.75 % ElmAbundance 33.33 % 36 36 ---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole ElmMassFraction: 53.25 % ElmAbundance 66.67 % 37 37 38 Material: Air density: 1.290 mg/cm3 temperature: 273.15 K pressure: 1.00 atm RadLength: 285.161 m38 Material: Air density: 1.290 mg/cm3 RadL: 285.161 m Imean: 85.684 eV temperature: 273.15 K pressure: 1.00 atm 39 39 ---> Element: Nitrogen (N) Z = 7.0 N = 14.0 A = 14.01 g/mole ElmMassFraction: 70.00 % ElmAbundance 72.71 % 40 40 ---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole ElmMassFraction: 30.00 % ElmAbundance 27.29 % 41 41 42 Material: Aerogel density: 200.000 mg/cm3 temperature: 273.15 K pressure: 1.00 atm RadLength: 1.493 m42 Material: Aerogel density: 200.000 mg/cm3 RadL: 1.493 m Imean: 100.118 eV 43 43 ---> Element: Silicon (Si) Z = 14.0 N = 28.1 A = 28.09 g/mole ElmMassFraction: 29.22 % ElmAbundance 11.12 % 44 44 ---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole ElmMassFraction: 66.49 % ElmAbundance 44.42 % … … 46 46 ---> Element: Carbon (C) Z = 6.0 N = 12.0 A = 12.01 g/mole ElmMassFraction: 0.10 % ElmAbundance 0.09 % 47 47 48 Material: CarbonicGas density: 27.000 mg/cm3 temperature: 325.00 K pressure: 50.00 atm RadLength: 13.406 m48 Material: CarbonicGas density: 27.000 mg/cm3 RadL: 13.406 m Imean: 90.164 eV temperature: 325.00 K pressure: 50.00 atm 49 49 ---> Element: Carbon (C) Z = 6.0 N = 12.0 A = 12.01 g/mole ElmMassFraction: 27.29 % ElmAbundance 33.33 % 50 50 ---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole ElmMassFraction: 72.71 % ElmAbundance 66.67 % 51 51 52 Material: WaterSteam density: 0.300 mg/cm3 temperature: 500.00 K pressure: 2.00 atm RadLength: 1.203 km52 Material: WaterSteam density: 0.300 mg/cm3 RadL: 1.203 km Imean: 70.893 eV temperature: 500.00 K pressure: 2.00 atm 53 53 ---> Element: Hydrogen (H) Z = 1.0 N = 1.0 A = 1.01 g/mole ElmMassFraction: 11.21 % ElmAbundance 66.67 % 54 54 ---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole ElmMassFraction: 88.79 % ElmAbundance 33.33 % 55 55 56 Material: Galactic density: 0.000 mg/cm3 temperature: 2.73 K pressure: 0.00 atm RadLength: 204727576.737 pc56 Material: Galactic density: 0.000 mg/cm3 RadL: 204727576.737 pc Imean: 21.800 eV temperature: 2.73 K pressure: 0.00 atm 57 57 ---> Element: Galactic ( ) Z = 1.0 N = 1.0 A = 1.01 g/mole ElmMassFraction: 100.00 % ElmAbundance 100.00 % 58 58 59 Material: Beam density: 0.010 mg/cm3 temperature: 273.15 K pressure: 0.02 atm RadLength: 36.786 km59 Material: Beam density: 0.010 mg/cm3 RadL: 36.786 km Imean: 85.684 eV temperature: 273.15 K pressure: 0.02 atm 60 60 ---> Element: Nitrogen (N) Z = 7.0 N = 14.0 A = 14.01 g/mole ElmMassFraction: 70.00 % ElmAbundance 72.71 % 61 61 ---> Element: Oxygen (O) Z = 8.0 N = 16.0 A = 16.00 g/mole ElmMassFraction: 30.00 % ElmAbundance 27.29 % 62 62 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 generic84 drawByCharge85 drawByParticleID86 drawByOriginVolume87 drawByAttribute88 89 Registered filter factories:90 chargeFilter91 particleFilter92 originVolumeFilter93 attributeFilter94 63 95 64 … … 114 83 msc: Model variant of multiple scattering for e- 115 84 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 117 87 118 88 eIoni: tables are built for e- … … 127 97 Lambda tables from threshold to 100 TeV in 120 bins. 128 98 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 130 100 131 101 eIoni: tables are built for e+ … … 140 110 Lambda tables from threshold to 100 TeV in 120 bins. 141 111 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 143 113 144 114 annihil: Sampling according eplus2gg model … … 148 118 msc: Model variant of multiple scattering for proton 149 119 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 151 122 152 123 hIoni: tables are built for proton … … 168 139 msc: Model variant of multiple scattering for mu+ 169 140 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 171 143 172 144 muIoni: tables are built for mu+ … … 214 186 msc: Model variant of multiple scattering for pi- 215 187 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 217 190 218 191 hIoni: tables are built for pi- … … 258 231 ---------------------------------------- 259 232 ---> End of event: 0 260 Absorber: total energy: 2 55.24989 MeV total track length: 17.775532cm261 Gap: total energy: 1 2.751693 MeV total track length: 6.4347173cm233 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 262 235 263 236 --------------------End of Run------------------------------ 264 237 265 mean Energy in Absorber : 2 55.24989MeV +- 0 eV266 mean Energy in Gap : 1 2.751693MeV +- 0 eV267 268 mean trackLength in Absorber : 1 7.775532cm +- 0 fm269 mean trackLength in Gap : 6.4347173cm +- 0 fm238 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 270 243 ------------------------------------------------------------ 271 244 … … 290 263 msc: Model variant of multiple scattering for e- 291 264 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 293 267 294 268 eIoni: tables are built for e- … … 303 277 Lambda tables from threshold to 100 TeV in 120 bins. 304 278 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 306 280 307 281 eIoni: tables are built for e+ … … 316 290 Lambda tables from threshold to 100 TeV in 120 bins. 317 291 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 319 293 320 294 annihil: Sampling according eplus2gg model … … 324 298 msc: Model variant of multiple scattering for proton 325 299 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 327 302 328 303 hIoni: tables are built for proton … … 344 319 msc: Model variant of multiple scattering for mu+ 345 320 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 347 323 348 324 muIoni: tables are built for mu+ … … 390 366 msc: Model variant of multiple scattering for pi- 391 367 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 393 370 394 371 hIoni: tables are built for pi- … … 405 382 --------- Ranecu engine status --------- 406 383 Initial seed (index) = 0 407 Current couple of seeds = 1363400685, 1475368346384 Current couple of seeds = 2047602749, 788414929 408 385 ---------------------------------------- 409 386 ---> End of event: 0 410 Absorber: total energy: 27 3.78056 MeV total track length: 18.732667cm411 Gap: total energy: 2 2.74196 MeV total track length: 11.196324cm387 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 412 389 413 390 --------------------End of Run------------------------------ 414 391 415 mean Energy in Absorber : 27 3.78056MeV +- 0 eV416 mean Energy in Gap : 2 2.74196MeV +- 0 eV417 418 mean trackLength in Absorber : 1 8.732667cm +- 0 fm419 mean trackLength in Gap : 11.196324cm +- 0 fm392 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 420 397 ------------------------------------------------------------ 421 398 … … 440 417 msc: Model variant of multiple scattering for e- 441 418 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 443 421 444 422 eIoni: tables are built for e- … … 453 431 Lambda tables from threshold to 100 TeV in 120 bins. 454 432 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 456 434 457 435 eIoni: tables are built for e+ … … 466 444 Lambda tables from threshold to 100 TeV in 120 bins. 467 445 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 469 447 470 448 annihil: Sampling according eplus2gg model … … 474 452 msc: Model variant of multiple scattering for proton 475 453 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 477 456 478 457 hIoni: tables are built for proton … … 494 473 msc: Model variant of multiple scattering for mu+ 495 474 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 497 477 498 478 muIoni: tables are built for mu+ … … 540 520 msc: Model variant of multiple scattering for pi- 541 521 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 543 524 544 525 hIoni: tables are built for pi- … … 555 536 --------- Ranecu engine status --------- 556 537 Initial seed (index) = 0 557 Current couple of seeds = 606835024, 988202660538 Current couple of seeds = 220670736, 1247745483 558 539 ---------------------------------------- 559 540 ---> End of event: 0 560 Absorber: total energy: 408.66702 MeV total track length: 97.709788cm561 Gap: total energy: 83.799117 MeV total track length: 2.3229686m541 Absorber: total energy: 393.70133 MeV total track length: 92.810449 cm 542 Gap: total energy: 105.36422 MeV total track length: 2.959901 m 562 543 563 544 --------------------End of Run------------------------------ 564 545 565 mean Energy in Absorber : 408.66702MeV +- 0 eV566 mean Energy in Gap : 83.799117MeV +- 0 eV567 568 mean trackLength in Absorber : 9 7.709788cm +- 0 fm569 mean trackLength in Gap : 2. 3229686m +- 0 fm570 ------------------------------------------------------------ 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 221 221 /BaseVector 1 0 0 0 1 0 222 222 /Box 2.5 50 50 223 #-------------------- 224 !EndModeling 225 !DrawAll 226 !CloseDevice -
trunk/geant4/N03/g4_01.prim
r474 r609 221 221 /BaseVector 1 0 0 0 1 0 222 222 /Box 2.5 50 50 223 #-------------------- 224 !EndModeling 225 !DrawAll 226 !CloseDevice -
trunk/geant4/N03/g4_02.prim
r474 r609 1 1 ##G4.PRIM-FORMAT-2.4 2 /BoundingBox - 866.025404 -866.025404 -866.025404 866.025404 866.025404 866.0254042 /BoundingBox -103.077641 -103.077641 -103.077641 103.077641 103.077641 103.077641 3 3 !SetCamera 4 4 !OpenDevice 5 5 !BeginModeling 6 /ColorRGB 1 0 0 6 #-------------------- 7 #/PVName Calorimeter.0 8 /ColorRGB 1 1 1 7 9 /ForceWireframe 0 8 10 /Origin 0 0 0 9 11 /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 78 223 #-------------------- 79 224 !EndModeling -
trunk/geant4/N03/g4_03.prim
r474 r609 1 1 ##G4.PRIM-FORMAT-2.4 2 /BoundingBox - 866.025404 -866.025404 -866.025404 866.025404 866.025404 866.0254042 /BoundingBox -103.077641 -103.077641 -103.077641 103.077641 103.077641 103.077641 3 3 !SetCamera 4 4 !OpenDevice 5 5 !BeginModeling 6 /ColorRGB 1 0 0 6 #-------------------- 7 #/PVName Calorimeter.0 8 /ColorRGB 1 1 1 7 9 /ForceWireframe 0 8 10 /Origin 0 0 0 9 11 /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 78 223 #-------------------- 79 224 !EndModeling -
trunk/geant4/N03/g4_04.prim
r474 r609 1 1 ##G4.PRIM-FORMAT-2.4 2 /BoundingBox - 875.138588 -897.492158 -873.986342 896.339912 873.986342 897.4921582 /BoundingBox -103.077641 -103.077641 -103.077641 103.077641 103.077641 103.077641 3 3 !SetCamera 4 4 !OpenDevice 5 5 !BeginModeling 6 6 #-------------------- 7 #/PVName World.07 #/PVName Calorimeter.0 8 8 /ColorRGB 1 1 1 9 9 /ForceWireframe 0 10 10 /Origin 0 0 0 11 11 /BaseVector 1 0 0 0 1 0 12 /Box 90 60 6013 #--------------------14 #/PVName Calorimeter.015 /ColorRGB 1 1 116 /ForceWireframe 017 /Origin 0 0 018 /BaseVector 1 0 0 0 1 019 12 /Box 75 50 50 20 13 #-------------------- … … 228 221 /BaseVector 1 0 0 0 1 0 229 222 /Box 2.5 50 50 230 /ColorRGB 1 0 0231 /ForceWireframe 0232 /Origin 0 0 0233 /BaseVector 1 0 0 0 1 0234 /Polyline235 /PLVertex 0 0 0236 /PLVertex 500 0 0237 /EndPolyline238 /ColorRGB 0 1 0239 /ForceWireframe 0240 /Origin 0 0 0241 /BaseVector 1 0 0 0 1 0242 /Polyline243 /PLVertex 0 0 0244 /PLVertex 0 500 0245 /EndPolyline246 /ColorRGB 0 0 1247 /ForceWireframe 0248 /Origin 0 0 0249 /BaseVector 1 0 0 0 1 0250 /Polyline251 /PLVertex 0 0 0252 /PLVertex 0 0 500253 /EndPolyline254 /ColorRGB 0 0 1255 /Origin 0 0 0256 /BaseVector 1 0 0 0 1 0257 /MarkText2DS 0 0 0 50 -100 -240 World258 /ColorRGB 1 0 0259 /ForceWireframe 0260 /Origin 0 0 0261 /BaseVector 1 0 0 0 1 0262 /Polyline263 /PLVertex 410 -510 510264 /PLVertex 510 -510 510265 /EndPolyline266 /ColorRGB 1 0 0267 /ForceWireframe 0268 /Origin 0 0 0269 /BaseVector 1 0 0 0 1 0270 /Polyline271 /PLVertex 410 -505 510272 /PLVertex 410 -515 510273 /EndPolyline274 /ColorRGB 1 0 0275 /ForceWireframe 0276 /Origin 0 0 0277 /BaseVector 1 0 0 0 1 0278 /Polyline279 /PLVertex 410 -510 515280 /PLVertex 410 -510 505281 /EndPolyline282 /ColorRGB 1 0 0283 /ForceWireframe 0284 /Origin 0 0 0285 /BaseVector 1 0 0 0 1 0286 /Polyline287 /PLVertex 510 -505 510288 /PLVertex 510 -515 510289 /EndPolyline290 /ColorRGB 1 0 0291 /ForceWireframe 0292 /Origin 0 0 0293 /BaseVector 1 0 0 0 1 0294 /Polyline295 /PLVertex 510 -510 515296 /PLVertex 510 -510 505297 /EndPolyline298 /ColorRGB 0 0 1299 /Origin 0 0 0300 /BaseVector 1 0 0 0 1 0301 /MarkText2DS 460 -505 510 12 0 0 10 cm302 223 #-------------------- 303 224 !EndModeling -
trunk/geant4/N03/g4_05.prim
r474 r609 221 221 /BaseVector 1 0 0 0 1 0 222 222 /Box 2.5 50 50 223 #-------------------- 224 !EndModeling 225 !DrawAll 226 !CloseDevice -
trunk/geant4/N03/include/ExN03DetectorConstruction.hh
r483 r609 26 26 // 27 27 // $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: $ 29 29 // 30 30 // -
trunk/geant4/N03/include/ExN03DetectorMessenger.hh
r483 r609 26 26 // 27 27 // $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: $ 29 29 // 30 30 // -
trunk/geant4/N03/include/ExN03EventAction.hh
r483 r609 25 25 // 26 26 // 27 // $Id: ExN03EventAction.hh,v 1.1 1 2006/10/26 14:30:05 allisonExp $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: $ 29 29 // 30 30 // … … 46 46 class ExN03EventAction : public G4UserEventAction 47 47 { 48 49 50 ~ExN03EventAction();48 public: 49 ExN03EventAction(ExN03RunAction*); 50 virtual ~ExN03EventAction(); 51 51 52 public: 53 void BeginOfEventAction(const G4Event*); 54 void EndOfEventAction(const G4Event*); 52 void BeginOfEventAction(const G4Event*); 53 void EndOfEventAction(const G4Event*); 55 54 56 57 55 void AddAbs(G4double de, G4double dl) {EnergyAbs += de; TrackLAbs += dl;}; 56 void AddGap(G4double de, G4double dl) {EnergyGap += de; TrackLGap += dl;}; 58 57 59 58 void SetPrintModulo(G4int val) {printModulo = val;}; 60 59 61 60 private: 62 61 ExN03RunAction* runAct; 63 62 -
trunk/geant4/N03/include/ExN03EventActionMessenger.hh
r483 r609 25 25 // 26 26 // 27 // $Id: ExN03EventActionMessenger.hh,v 1. 9 2006/10/26 14:28:00 allisonExp $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: $ 29 29 // 30 30 // … … 47 47 class ExN03EventActionMessenger: public G4UImessenger 48 48 { 49 50 51 ~ExN03EventActionMessenger();49 public: 50 ExN03EventActionMessenger(ExN03EventAction*); 51 virtual ~ExN03EventActionMessenger(); 52 52 53 53 void SetNewValue(G4UIcommand*, G4String); 54 54 55 56 57 58 55 private: 56 ExN03EventAction* eventAction; 57 G4UIdirectory* eventDir; 58 G4UIcmdWithAnInteger* PrintCmd; 59 59 }; 60 60 -
trunk/geant4/N03/include/ExN03PhysicsList.hh
r483 r609 25 25 // 26 26 // 27 // $Id: ExN03PhysicsList.hh,v 1.1 2 2006/06/29 17:48:40 gunterExp $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: $ 29 29 // 30 30 // … … 43 43 class ExN03PhysicsList: public G4VUserPhysicsList 44 44 { 45 46 47 ~ExN03PhysicsList();45 public: 46 ExN03PhysicsList(); 47 virtual ~ExN03PhysicsList(); 48 48 49 protected: 50 // Construct particle and physics 51 void ConstructParticle(); 52 void ConstructProcess(); 49 // Construct particle and physics 50 void ConstructParticle(); 51 void ConstructProcess(); 53 52 54 void SetCuts(); 53 void SetCuts(); 54 55 private: 56 // these methods Construct particles 57 void ConstructBosons(); 58 void ConstructLeptons(); 59 void ConstructMesons(); 60 void ConstructBaryons(); 55 61 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(); 68 65 }; 69 66 -
trunk/geant4/N03/include/ExN03PrimaryGeneratorAction.hh
r483 r609 25 25 // 26 26 // 27 // $Id: ExN03PrimaryGeneratorAction.hh,v 1. 7 2006/06/29 17:48:42 gunterExp $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: $ 29 29 // 30 30 // … … 48 48 class ExN03PrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction 49 49 { 50 51 52 ~ExN03PrimaryGeneratorAction();50 public: 51 ExN03PrimaryGeneratorAction(ExN03DetectorConstruction*); 52 virtual ~ExN03PrimaryGeneratorAction(); 53 53 54 public: 55 void GeneratePrimaries(G4Event*); 56 void SetRndmFlag(G4String val) { rndmFlag = val;} 54 void GeneratePrimaries(G4Event*); 55 void SetRndmFlag(G4String val) { rndmFlag = val;} 57 56 58 59 60 ExN03DetectorConstruction* ExN03Detector;//pointer to the geometry57 private: 58 G4ParticleGun* particleGun; //pointer a to G4 class 59 ExN03DetectorConstruction* ExN03Detector; //pointer to the geometry 61 60 62 ExN03PrimaryGeneratorMessenger* gunMessenger;//messenger of this class63 61 ExN03PrimaryGeneratorMessenger* gunMessenger; //messenger of this class 62 G4String rndmFlag; //flag for a rndm impact point 64 63 }; 65 64 -
trunk/geant4/N03/include/ExN03PrimaryGeneratorMessenger.hh
r483 r609 25 25 // 26 26 // 27 // $Id: ExN03PrimaryGeneratorMessenger.hh,v 1. 7 2006/06/29 17:48:44 gunterExp $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: $ 29 29 // 30 30 // … … 47 47 class ExN03PrimaryGeneratorMessenger: public G4UImessenger 48 48 { 49 50 51 ~ExN03PrimaryGeneratorMessenger();49 public: 50 ExN03PrimaryGeneratorMessenger(ExN03PrimaryGeneratorAction*); 51 virtual ~ExN03PrimaryGeneratorMessenger(); 52 52 53 53 void SetNewValue(G4UIcommand*, G4String); 54 54 55 56 57 58 55 private: 56 ExN03PrimaryGeneratorAction* ExN03Action; 57 G4UIdirectory* gunDir; 58 G4UIcmdWithAString* RndmCmd; 59 59 }; 60 60 -
trunk/geant4/N03/include/ExN03RunAction.hh
r483 r609 25 25 // 26 26 // 27 // $Id: ExN03RunAction.hh,v 1.1 0 2006/06/29 17:48:47 gunterExp $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: $ 29 29 // 30 30 // … … 45 45 class ExN03RunAction : public G4UserRunAction 46 46 { 47 48 49 ~ExN03RunAction();47 public: 48 ExN03RunAction(); 49 virtual ~ExN03RunAction(); 50 50 51 public: 52 void BeginOfRunAction(const G4Run*); 53 void EndOfRunAction(const G4Run*); 51 void BeginOfRunAction(const G4Run*); 52 void EndOfRunAction(const G4Run*); 54 53 55 54 void fillPerEvent(G4double, G4double, G4double, G4double); 56 55 57 58 59 56 private: 57 G4double sumEAbs, sum2EAbs; 58 G4double sumEGap, sum2EGap; 60 59 61 62 60 G4double sumLAbs, sum2LAbs; 61 G4double sumLGap, sum2LGap; 63 62 }; 64 63 -
trunk/geant4/N03/include/ExN03SteppingAction.hh
r483 r609 25 25 // 26 26 // 27 // $Id: ExN03SteppingAction.hh,v 1. 9 2006/06/29 17:48:49 gunterExp $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: $ 29 29 // 30 30 // … … 45 45 class ExN03SteppingAction : public G4UserSteppingAction 46 46 { 47 48 49 ~ExN03SteppingAction();47 public: 48 ExN03SteppingAction(ExN03DetectorConstruction*, ExN03EventAction*); 49 virtual ~ExN03SteppingAction(); 50 50 51 51 void UserSteppingAction(const G4Step*); 52 52 53 54 55 53 private: 54 ExN03DetectorConstruction* detector; 55 ExN03EventAction* eventaction; 56 56 }; 57 57 -
trunk/geant4/N03/include/ExN03SteppingVerbose.hh
r483 r609 26 26 // 27 27 // $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: $ 29 29 // 30 30 // -
trunk/geant4/N03/rndmSeed.mac
r474 r609 1 # $Id: rndmSeed.mac,v 1. 1 2003/01/27 17:55:47maire Exp $1 # $Id: rndmSeed.mac,v 1.2 2007/06/13 10:36:39 maire Exp $ 2 2 # 3 3 # This macro illustrates how to save and reset the random number seed … … 24 24 /run/beamOn 4 25 25 # 26 # r estart run 226 # run3 : restart run 2 27 27 # 28 28 /random/resetEngineFrom currentRun.rndm 29 29 /run/beamOn 4 30 30 # 31 # r estart run 131 # run4 : restart run 1 32 32 # 33 33 /random/resetEngineFrom run1.rndm -
trunk/geant4/N03/src/ExN03DetectorConstruction.cc
r483 r609 26 26 // 27 27 // $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: $ 29 29 // 30 30 // -
trunk/geant4/N03/src/ExN03DetectorMessenger.cc
r483 r609 26 26 // 27 27 // $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: $ 29 29 // 30 30 // -
trunk/geant4/N03/src/ExN03EventAction.cc
r483 r609 26 26 // 27 27 // $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: $ 29 29 // 30 30 // -
trunk/geant4/N03/src/ExN03EventActionMessenger.cc
r483 r609 26 26 // 27 27 // $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: $ 29 29 // 30 30 // -
trunk/geant4/N03/src/ExN03PhysicsList.cc
r483 r609 25 25 // 26 26 // 27 // $Id: ExN03PhysicsList.cc,v 1.2 0 2006/06/29 17:49:05 gunterExp $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: $ 29 29 // 30 30 // … … 42 42 ExN03PhysicsList::ExN03PhysicsList(): G4VUserPhysicsList() 43 43 { 44 defaultCutValue = 1.0*mm;45 SetVerboseLevel(1);44 defaultCutValue = 1.0*mm; 45 SetVerboseLevel(1); 46 46 } 47 47 … … 119 119 void ExN03PhysicsList::ConstructBaryons() 120 120 { 121 // barions121 // barions 122 122 G4Proton::ProtonDefinition(); 123 123 G4AntiProton::AntiProtonDefinition(); … … 133 133 AddTransportation(); 134 134 ConstructEM(); 135 Construct General();135 ConstructDecay(); 136 136 } 137 137 … … 205 205 #include "G4Decay.hh" 206 206 207 void ExN03PhysicsList::Construct General()207 void ExN03PhysicsList::ConstructDecay() 208 208 { 209 209 // Add Decay Process 210 210 G4Decay* theDecayProcess = new G4Decay(); 211 211 theParticleIterator->reset(); 212 212 while( (*theParticleIterator)() ){ -
trunk/geant4/N03/src/ExN03PrimaryGeneratorAction.cc
r483 r609 26 26 // 27 27 // $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: $ 29 29 // 30 30 // -
trunk/geant4/N03/src/ExN03PrimaryGeneratorMessenger.cc
r483 r609 26 26 // 27 27 // $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: $ 29 29 // 30 30 // -
trunk/geant4/N03/src/ExN03RunAction.cc
r483 r609 26 26 // 27 27 // $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: $ 29 29 // 30 30 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/geant4/N03/src/ExN03SteppingAction.cc
r483 r609 26 26 // 27 27 // $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: $ 29 29 // 30 30 // -
trunk/geant4/N03/src/ExN03SteppingVerbose.cc
r483 r609 26 26 // 27 27 // $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: $ 29 29 // 30 30 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/geant4/N03/vis.mac
r561 r609 18 18 # Use this open statement to get an .eps and .prim files 19 19 # suitable for viewing in DAWN. 20 /vis/open DAWNFILE20 ###/vis/open DAWNFILE 21 21 # 22 22 # Use this open statement instead for OpenGL in immediate mode. -
trunk/geant4/N03/visTutor/exN03Vis12.loop
r483 r609 2 2 /vis/ogl/set/startTime {startTime} ns {timeRange} ns 3 3 # Print eps file 4 #/vis/ogl x/printEPS4 #/vis/ogl/printEPS -
trunk/geant4/N03/visTutor/exN03Vis12.mac
r561 r609 1 1 ####################################################################### 2 # MACRO FILE NAME: exN03Vis12.mac 2 # MACRO FILE NAME: exN03Vis12.mac # 3 3 # # 4 # AUTHOR(S): Laurent Garnier#4 # AUTHOR(S): John Allison # 5 5 # # 6 # DATE: July 01, 2007#6 # DATE: 16th August 2006 # 7 7 # # 8 # CONTENTS: A basic macro for demonstrating Inventor driver#8 # CONTENTS: A basic macro for demonstrating time slicing # 9 9 # # 10 # USAGE: % $G4BINDIR/exampleN03 visTutor/exN03Vis12.mac #10 # USAGE: % $G4BINDIR/exampleN03 visTutor/exN03Vis12.mac # 11 11 # # 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 # 15 13 # # 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 # #26 14 # ADDITIONAL NOTES: # 27 15 # # 28 16 ####################################################################### 29 17 30 # Create "scene-0" 31 /vis/ scene/create18 /control/verbose 2 19 /vis/verbose confirmations 32 20 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 36 25 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 46 37 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 50 48 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 52 61 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 53 75 /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 66 79 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 5 5 /vis/viewer/refresh 6 6 # Print eps file 7 #/vis/ogl x/printEPS7 #/vis/ogl/printEPS -
trunk/geant4/N03/visTutor/gui.mac
r561 r609 33 33 /gui/addButton vis Vis3(OGLSX) "/control/execute visTutor/exN03Vis3.mac" 34 34 /gui/addButton vis Vis4(OGLIX) "/control/execute visTutor/exN03Vis4.mac" 35 /gui/addButton vis Vis1 2(OGLIQT) "/control/execute visTutor/exN03Vis12.mac"35 /gui/addButton vis Vis15(OGLIQT) "/control/execute visTutor/exN03Vis15.mac" 36 36 /gui/addButton vis Vis14(OGLSQT) "/control/execute visTutor/exN03Vis14.mac" 37 37 /gui/addButton vis Vis5(OIX) "/control/execute visTutor/exN03Vis5.mac" -
trunk/geant4/config/History
r606 r609 1 $Id: History,v 1.30 3 2007/11/02 15:58:08 gcosmoExp $1 $Id: History,v 1.305 2007/11/16 10:44:51 lgarnier Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 16 16 * Reverse chronological order (last date on top), please * 17 17 ---------------------------------------------------------- 18 19 15th 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. 18 23 19 24 2nd November 2007 Gabriele Cosmo (config-V09-00-06) … … 27 32 10th October 2007 Gunter Folger (config-V09-00-05) 28 33 - Added "incl" (Liege cascade) hadronic model module to binmake.gmk. 34 35 3th 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 29 44 30 45 16th August 2007 Gabriele Cosmo (config-V09-00-04) -
trunk/geant4/interfaces/GAG/src/G4UIGAG.cc
r593 r609 25 25 // 26 26 // 27 // $Id: G4UIGAG.cc,v 1.1 8 2006/06/29 19:09:23 gunterExp $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: $ 29 29 // 30 30 // G4UIGAG.cc … … 414 414 { 415 415 G4UIcommandTree * treeTop = UI->GetTree(); 416 /*int*/ unsignedi = newCommand.index(" ");416 /*int*/str_size i = newCommand.index(" "); 417 417 if( i != std::string::npos ) 418 418 { -
trunk/geant4/interfaces/History
r593 r609 1 $Id: History,v 1.8 2 2007/06/19 10:38:28 gcosmoExp $1 $Id: History,v 1.89 2007/11/16 10:41:54 lgarnier Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 17 17 * Reverse chronological order (last date on top), please * 18 18 ---------------------------------------------------------- 19 15 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 24 13 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 28 09 Nov 2007, Laurent Garnier 29 - G4UIQt,G4Qt : Change all include directive to be compatible with Qt3 30 31 27 Sept 2007, Laurent Garnier 32 - Adding sur files for G4UIQt driver 33 34 06 November Koichi Murakami 35 - G4UItcsh.cc: store shell histoty accross sessrions. 36 37 30 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 43 30 October 2007 Koichi Murakami (interfaces-V09-00-01) 44 - Makoto updated the implementation of the signal handler for Ctrl-C. 45 46 28 October 2007, Makoto Asai 47 - Remove improper dependency from interfaces/basic to run in GNUmakefile 48 49 02 August 2007, Koichi Murakami (interfaces-V09-00-00) 50 - Fix compilation warning on SUN-CC in G4UIterminal.cc 19 51 20 52 19 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 kmuraExp $1 # $Id: GNUmakefile,v 1.4 2007/10/29 18:49:45 asaim Exp $ 2 2 # ------------------------------------------------------------- 3 3 # GNUmakefile for interfaces/basic library. John Allison, 6/7/98. … … 16 16 CPPFLAGS += -I$(G4BASE)/interfaces/common/include 17 17 CPPFLAGS += -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/include44 18 45 19 include $(G4INSTALL)/config/common.gmk -
trunk/geant4/interfaces/basic/include/G4UIQt.hh
r608 r609 25 25 // 26 26 // 27 // $Id: G4UIQt.hh,v 1. 6 2007/11/15 18:24:27lgarnier Exp $27 // $Id: G4UIQt.hh,v 1.7 2007/11/15 18:53:59 lgarnier Exp $ 28 28 // GEANT4 tag $Name: $ 29 29 // … … 149 149 void ButtonCallback(const QString&); 150 150 void HelpTreeClicCallback(); 151 #if QT_VERSION < 0x040000 152 void HelpTreeDoubleClicCallback( QListViewItem*, int); 153 #else 151 154 void HelpTreeDoubleClicCallback( QTreeWidgetItem*, int); 155 #endif 152 156 void ShowHelpCallback(); 153 157 void CommandHistoryCallback(); -
trunk/geant4/specific-geant4-dev.sh
r607 r609 27 27 export G4RADIOACTIVEDATA=$G4DATA/RadiativeDecay 28 28 export G4LEDATA=$G4DATA/G4EMLOW3.0 29 export QTHOME=/usr/local/Qt/ 3.3.829 export QTHOME=/usr/local/Qt/4.3.0 30 30 #////////////////////////////////////////////////////////// 31 31 # GUI, Visualization : -
trunk/geant4/visualization/History
r593 r609 1 $Id: History,v 1.41 4 2007/07/10 17:54:09allison Exp $1 $Id: History,v 1.417 2007/11/15 10:18:32 allison Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 24 24 History file for visualization category 25 25 --------------------------------------- 26 27 15th November 2007 John Allison 28 - opengl-V09-00-03: Re-introduced Qt files. (All files now properly protected.) 29 30 13th November 2007 John Allison (vis-V09-00-02) 31 - Removed OpenGL Qt files from tag. File are still at head - need fixing. 32 33 10th 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. 26 37 27 38 10th 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 allisonExp $1 $Id: History,v 1.100 2007/11/16 10:41:54 lgarnier Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 21 21 ------------------------------------- 22 22 23 <<<<<<< History 24 15 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 29 14 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 35 13 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 39 09 Nov 2007, Laurent Garnier 40 - G4UIQt,G4Qt : Change all include directive to be compatible with Qt3 41 42 08 Nov 2007, Laurent Garnier 43 - moc_G4OpenGLQtExportDialog.cc move in G4OpenGLQtExportDialog_moc.cc 44 - moc_G4OpenGLQtViewer.cc move to G4OpenGLQtViewer_moc.cc 45 46 27 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 ======= 58 15th 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 62 13th November 2007 John Allison (opengl-V09-00-02) 63 - Removed Qt files from tag. File are still at head - need fixing. 64 65 10th 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 69 28th September 2007 lgarnier 70 - first import of G4UI Qt files : Do not try to compil them 71 72 >>>>>>> 1.99 23 73 21st August 2007 John Allison (opengl-V09-00-00) 24 74 - Removed redundant G4OpenGLXViewerMessenger. … … 27 77 - G4OpenGLSceneHandler and G4OpenGLXViewerMessenger: 28 78 Fixed gcc-4.1.2 compiler warnings. 29 30 G4OpenGLXViewer: Trapped glXMakeCurrent in Initialise function.31 79 32 80 25th May 2007 John Allison (opengl-V08-03-02) -
trunk/geant4/visualization/OpenInventor/History
r593 r609 1 $Id: History,v 1.9 3 2007/04/03 13:35:48 allisonExp $1 $Id: History,v 1.94 2007/10/23 14:56:35 gcosmo Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 20 20 History file for visualization/OpenInventor 21 21 ------------------------------------------- 22 23 23rd 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. 22 26 23 27 3rd April 2007 John Allison (openinventor-V08-02-02 - needs visman-V08-02-03) -
trunk/geant4/visualization/OpenInventor/include/SoG4Polyhedron.h
r593 r609 25 25 // 26 26 // 27 // $Id: SoG4Polyhedron.h,v 1. 2 2006/12/13 15:49:56 gunterExp $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: $ 29 29 // 30 30 // John Allison 26th October 2006 … … 35 35 36 36 // Inheritance : 37 #include <Geant4_SoPolyhedron.h>37 #include "Geant4_SoPolyhedron.h" 38 38 #include "G4AttHolder.hh" 39 39 -
trunk/geant4/visualization/OpenInventor/src/SoPolyhedron.cc
r529 r609 129 129 SoTextureCoordinateElement::FUNCTION); 130 130 const SoTextureCoordinateElement *tce = NULL; 131 SbVec4f texCoord ;131 SbVec4f texCoord(0.,0.,0.,0.); 132 132 if (useTexFunction) { 133 133 tce = SoTextureCoordinateElement::getInstance(state); … … 416 416 int32_t* coords = new int32_t[ncoord]; 417 417 418 SbVec3f pvb ,pve;418 SbVec3f pvb(0.,0.,0.), pve(0.,0.,0.); 419 419 420 420 SbBool empty = TRUE; -
trunk/geant4/visualization/management/History
r593 r609 1 $Id: History,v 1.10 1 2007/07/10 17:52:25allison Exp $1 $Id: History,v 1.102 2007/11/10 15:05:46 allison Exp $ 2 2 3 3 ------------------------------------------------------------------- … … 26 26 History file for visualization management sub-category 27 27 ------------------------------------------------------ 28 29 10th November 2007 John Allison (visman-V09-00-01) 30 - G4VisManager.cc: Minor improvement in messaging. 31 - G4VisCommandsScene.cc: Improvements in /vis/scene/endOfEventAction messaging. 28 32 29 33 10th July 2007 John Allison (visman-V09-00-00) -
trunk/geant4/visualization/vis.mac
r562 r609 18 18 # Use this open statement to get an .eps and .prim files 19 19 # suitable for viewing in DAWN. 20 /vis/open DAWNFILE20 ###/vis/open DAWNFILE 21 21 # 22 22 # Use this open statement instead for OpenGL in immediate mode. -
trunk/geant4/visualization/visTutor/exN03Vis12.loop
r562 r609 2 2 /vis/ogl/set/startTime {startTime} ns {timeRange} ns 3 3 # Print eps file 4 #/vis/ogl x/printEPS4 #/vis/ogl/printEPS -
trunk/geant4/visualization/visTutor/exN03Vis12.mac
r562 r609 1 1 ####################################################################### 2 # MACRO FILE NAME: exN03Vis12.mac 2 # MACRO FILE NAME: exN03Vis12.mac # 3 3 # # 4 # AUTHOR(S): Laurent Garnier#4 # AUTHOR(S): John Allison # 5 5 # # 6 # DATE: July 01, 2007#6 # DATE: 16th August 2006 # 7 7 # # 8 # CONTENTS: A basic macro for demonstrating Inventor driver#8 # CONTENTS: A basic macro for demonstrating time slicing # 9 9 # # 10 # USAGE: % $G4BINDIR/exampleN03 visTutor/exN03Vis12.mac #10 # USAGE: % $G4BINDIR/exampleN03 visTutor/exN03Vis12.mac # 11 11 # # 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 # 15 13 # # 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 # #26 14 # ADDITIONAL NOTES: # 27 15 # # 28 16 ####################################################################### 29 17 30 # Create "scene-0" 31 /vis/ scene/create18 /control/verbose 2 19 /vis/verbose confirmations 32 20 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 36 25 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 46 37 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 50 48 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 52 61 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 53 75 /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 66 79 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 5 5 /vis/viewer/refresh 6 6 # Print eps file 7 #/vis/ogl x/printEPS7 #/vis/ogl/printEPS -
trunk/geant4/visualization/visTutor/gui.mac
r562 r609 33 33 /gui/addButton vis Vis3(OGLSX) "/control/execute visTutor/exN03Vis3.mac" 34 34 /gui/addButton vis Vis4(OGLIX) "/control/execute visTutor/exN03Vis4.mac" 35 /gui/addButton vis Vis1 2(OGLIQT) "/control/execute visTutor/exN03Vis12.mac"35 /gui/addButton vis Vis15(OGLIQT) "/control/execute visTutor/exN03Vis15.mac" 36 36 /gui/addButton vis Vis14(OGLSQT) "/control/execute visTutor/exN03Vis14.mac" 37 37 /gui/addButton vis Vis5(OIX) "/control/execute visTutor/exN03Vis5.mac"
Note: See TracChangeset
for help on using the changeset viewer.