Hi John,
I had a go with the program on a Linux system over the weekend. This time I get just a small dot in the middle. I have also tried using just /vis/open OGL - but no change. The
/vis/scene/add/userAction -100 100 -100 100 -100 100 cm
command was something that I just tried (just hoping it might do something without really understanding the problem or what the command actually did !).
I still get the usual G4Exception:
-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : visman0202
issued by : G4Scene::CalculateExtent
Scene has no extent. Please activate or add something.
The camera needs to have something to point at!
Add a volume. (You may need “/run/initialize”.)
Or use “/vis/scene/add/extent”.
“/vis/scene/list” to see list of models.
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------
The first few lines of output are as follows:
.\Release\SEM.exe YieldCurve.gdml YieldSilicon.mac
Available UI session types: [ Win32, GAG, csh ]
/control/saveHistory
/run/verbose 2
Visualization setting
/control/execute vis.mac
Macro file for the visualization setting in the initialization phase
of the B1 example when running in interactive mode
Use this open statement to create an OpenGL view:
#/vis/open OGLIWin32 600x600-0+0
/vis/open OGL
/vis/sceneHandler/create OGL
/vis/viewer/create ! ! 600
/vis/viewer/refresh
#/vis/open OGL 600x600-0+0
Draw geometry:
/vis/drawVolume
/vis/scene/create
/vis/scene/add/volume world -1 -1 none m 0 0 0 0 0 0
Later there are the following lines, which look rather suspicious, but I would have thought if there are null pointers, then the program would crash…
Region – – appears in <LogWorld_PV> world volume
This region is in the mass world.
Root logical volume(s) : LogWorld
Pointers : G4VUserRegionInformation[0000000000000000], G4UserLimits[0000000000000000], G4FastSimulationManager[0000000000000000], G4UserSteppingAction[0000000000000000]
Materials : Galactic BlackHole
Production cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Region – – is not associated to any world.
Root logical volume(s) :
Pointers : G4VUserRegionInformation[0000000000000000], G4UserLimits[0000000000000000], G4FastSimulationManager[0000000000000000], G4UserSteppingAction[0000000000000000]
Materials :
Production cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Many thanks
Chris
P.S.
The whole output is below, so if you can spot anything, that would be appreciated.
.\Release\SEM.exe YieldCurve.gdml YieldSilicon.mac
Available UI session types: [ Win32, GAG, csh ]
/control/saveHistory
/run/verbose 2
Visualization setting
/control/execute vis.mac
Macro file for the visualization setting in the initialization phase
of the B1 example when running in interactive mode
Use this open statement to create an OpenGL view:
#/vis/open OGLIWin32 600x600-0+0
/vis/open OGL
/vis/sceneHandler/create OGL
/vis/viewer/create ! ! 600
/vis/viewer/refresh
#/vis/open OGL 600x600-0+0
Draw geometry:
/vis/drawVolume
/vis/scene/create
/vis/scene/add/volume world -1 -1 none m 0 0 0 0 0 0
-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : visman0202
issued by : G4Scene::CalculateExtent
Scene has no extent. Please activate or add something.
The camera needs to have something to point at!
Add a volume. (You may need “/run/initialize”.)
Or use “/vis/scene/add/extent”.
“/vis/scene/list” to see list of models.
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------
/vis/sceneHandler/attach
-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : visman0106
issued by : G4VSceneHandler::ProcessScene
The scene has no extent.
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------
Specify view angle:
/vis/viewer/set/viewpointThetaPhi 90. 180.
/vis/viewer/refresh
Draw smooth trajectories at end of event, showing trajectory points
as markers 2 pixels wide:
/vis/scene/add/trajectories smooth
/tracking/storeTrajectory 2
Attributes available for modeling and filtering with
“/vis/modeling/trajectories/create/drawByAttribute” and
“/vis/filtering/trajectories/create/attributeFilter” commands:
G4TrajectoriesModel:
Event ID (EventID): G4int
Run ID (RunID): G4int
G4SmoothTrajectory:
Charge (Ch): unit: e+ (G4double)
Track ID (ID): G4int
Initial kinetic energy (IKE): G4BestUnit (G4double)
Initial momentum magnitude (IMag): G4BestUnit (G4double)
Initial momentum (IMom): G4BestUnit (G4ThreeVector)
No. of points (NTP): G4int
PDG Encoding (PDG): G4int
Parent ID (PID): G4int
Particle Name (PN): G4String
G4SmoothTrajectoryPoint:
Auxiliary Point Position (Aux): G4BestUnit (G4ThreeVector)
Step Position (Pos): G4BestUnit (G4ThreeVector)
WARNING: Trajectory storing has been requested. This action may be
reversed with “/tracking/storeTrajectory 0”.
/vis/scene/notifyHandlers
-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : visman0202
issued by : G4Scene::CalculateExtent
Scene has no extent. Please activate or add something.
The camera needs to have something to point at!
Add a volume. (You may need “/run/initialize”.)
Or use “/vis/scene/add/extent”.
“/vis/scene/list” to see list of models.
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------
-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : visman0106
issued by : G4VSceneHandler::ProcessScene
The scene has no extent.
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------
To superimpose all of the events from a given run:
/vis/scene/endOfEventAction accumulate
WARNING: The vis manager will keep up to 100 events.
This may use a lot of memory.
It may be changed with, e.g., “/vis/scene/endOfEventAction accumulate 10”.
Re-establish auto refreshing and verbosity:
/vis/viewer/set/autoRefresh true
/vis/viewer/refresh
/vis/verbose warnings
Visualization verbosity changed to warnings (3)
For file-based drivers, use this to create an empty detector view:
#/vis/viewer/flush
/run/beamOn 50
=== Deexcitation model UAtomDeexcitation is activated for 1 region:
DefaultRegionForTheWorld 1 1 1
=== Auger cascade flag: 1
=== Ignore cuts flag: 0
phot: for gamma SubType=12 BuildTable=0
LambdaPrime table from 200 keV to 10 TeV in 154 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
PenPhotoElec : Emin= 0 eV Emax= 10 TeV Fluo
compt: for gamma SubType=13 BuildTable=1
Lambda table from 100 eV to 1 MeV, 20 bins/decade, spline: 1
LambdaPrime table from 1 MeV to 10 TeV in 140 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
PenCompton : Emin= 0 eV Emax= 10 TeV Fluo
conv: for gamma SubType=14 BuildTable=1
Lambda table from 1.022 MeV to 10 TeV, 20 bins/decade, spline: 1
===== EM models for the G4Region DefaultRegionForTheWorld ======
PenConversion : Emin= 0 eV Emax= 10 TeV
Rayl: for gamma SubType=11 BuildTable=1
Lambda table from 100 eV to 100 keV, 20 bins/decade, spline: 0
LambdaPrime table from 100 keV to 10 TeV in 160 bins
===== EM models for the G4Region DefaultRegionForTheWorld ======
PenRayleigh : Emin= 0 eV Emax= 100 GeV
CADPhysicsSingleScattering::BuildPhysicsTable() for ssc and particle e-
CADPhysicsSingleScattering: Galactic is treated as a gas, with Mott cross sections starting from zero energy.
Trying to open file for element 1… CADPhysicsSingleScattering: BlackHole is treated as a gas, with Mott cross sections starting from zero energy.
Trying to open file for element 1… CADPhysicsDI: Start BuildPhysicsTable
CADPhysicsDI: Start BuildEnrange LowestKineticEnergy(eV) = 0.01HighestKineticEnergy(eV) = 1e+06 1e-06
num Energy
CADPhysicsDI: Start Material Galactic
CADPhysicsDI: Calculate cross sections for Galactic
CADPhysicsDI: Using df file: C:\Users\CATIA\Geant4\geant4_10_06_p01\SEM/df/df_Galactic.dat
CADPhysicsDI: Start Material BlackHole
CADPhysicsDI: Calculate cross sections for BlackHole
CADPhysicsDI: Using df file: C:\Users\CATIA\Geant4\geant4_10_06_p01\SEM/df/df_BlackHole.dat
Failed to create isotope ion with Z=1 and A=1
Failed to create isotope ion with Z=1 and A=2
Failed to create isotope ion with Z=1 and A=1
Failed to create isotope ion with Z=1 and A=2
LowEnergyIoni: Total cross sections from EEDL database.
Gamma energy sampled from a parametrised formula.
Implementation of the continuous dE/dx part.
At present it can be used for electrons in the energy range [250eV,100GeV].
The process must work with G4LowEnergyBremsstrahlung.
LowEnBrem: Total cross sections from EEDL database.
Gamma energy sampled from a parameterised formula.
Implementation of the continuous dE/dx part.
At present it can be used for electrons in the energy range [250eV,100GeV].
The process must work with G4LowEnergyIonisation.
Region – – appears in <LogWorld_PV> world volume
This region is in the mass world.
Root logical volume(s) : LogWorld
Pointers : G4VUserRegionInformation[0000000000000000], G4UserLimits[0000000000000000], G4FastSimulationManager[0000000000000000], G4UserSteppingAction[0000000000000000]
Materials : Galactic BlackHole
Production cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Region – – is not associated to any world.
Root logical volume(s) :
Pointers : G4VUserRegionInformation[0000000000000000], G4UserLimits[0000000000000000], G4FastSimulationManager[0000000000000000], G4UserSteppingAction[0000000000000000]
Materials :
Production cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
========= Table of registered couples ==============================
Index : 0 used in the geometry : Yes
Material : Galactic
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 250 eV e- 250 eV e+ 250 eV proton -1 MeV
Region(s) which use this couple :
DefaultRegionForTheWorld
Index : 1 used in the geometry : Yes
Material : BlackHole
Range cuts : gamma 1 mm e- 1 mm e+ 1 mm proton 1 mm
Energy thresholds : gamma 250 eV e- 250 eV e+ 250 eV proton -1 MeV
Region(s) which use this couple :
DefaultRegionForTheWorld
====================================================================
Start closing geometry.
G4GeometryManager::ReportVoxelStats – Voxel Statistics
Total memory consumed for geometry optimisation: 0 kByte
Total CPU time elapsed for geometry optimisation: 0 seconds
Voxelisation: top CPU users:
Percent Total CPU System CPU Memory Volume
------- ---------- ---------- -------- ----------
0.00 0.00 0.00 0k samplecontainer
Voxelisation: top memory users:
Percent Memory Heads Nodes Pointers Total CPU Volume
------- -------- ------ ------ -------- ---------- ----------
100.00 0k 1 4 6 0.00 samplecontainer
-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : visman0202
issued by : G4Scene::CalculateExtent
Scene has no extent. Please activate or add something.
The camera needs to have something to point at!
Add a volume. (You may need “/run/initialize”.)
Or use “/vis/scene/add/extent”.
“/vis/scene/list” to see list of models.
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------
/vis/scene/notifyHandlers scene-0
-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : visman0202
issued by : G4Scene::CalculateExtent
Scene has no extent. Please activate or add something.
The camera needs to have something to point at!
Add a volume. (You may need “/run/initialize”.)
Or use “/vis/scene/add/extent”.
“/vis/scene/list” to see list of models.
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------
-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : visman0106
issued by : G4VSceneHandler::ProcessScene
The scene has no extent.
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------
G4VisManager: Using G4TrajectoryDrawByCharge as fallback trajectory model.
See commands in /vis/modeling/trajectories/ for other options.
Run 0 starts.
Event 0
Event 1
Event 2
Event 3
Event 4
Event 5
Event 6
Event 7
Event 8
Event 9
Event 10
Event 11
Event 12
Event 13
Event 14
Event 15
Event 16
Event 17
Event 18
Event 19
Event 20
Event 21
Event 22
Event 23
Event 24
Event 25
Event 26
Event 27
Event 28
Event 29
Event 30
Event 31
Event 32
Event 33
Event 34
Event 35
Event 36
Event 37
Event 38
Event 39
Event 40
Event 41
Event 42
Event 43
Event 44
Event 45
Event 46
Event 47
Event 48
Event 49
Run terminated.
Run Summary
Number of events processed : 50
User=0.000000s Real=0.027398s Sys=0.000000s
50 events have been kept for refreshing and/or reviewing.
“/vis/reviewKeptEvents” to review them one by one.
“/vis/enable”, then “/vis/viewer/flush” or “/vis/viewer/rebuild” to see them accumulated.