Message: behavior of running exampleN02 different from previous' Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None behavior of running exampleN02 different from previous' 

Forum: Documentation and Examples
Date: 22 Mar, 2007
From: yue zhou <yue.zhou@cern.ch>

Dear geant4,
when I run following commands on lxplus before,
source /afs/cern.ch/sw/geant4/releases/specific/slc4_amd64/gcc-3.4.6/geant4.8.2.ref02/setup.csh
cp -r /afs/cern.ch/sw/geant4/releases/share/geant4.8.2.ref02/examples/novice/N02 .
make
$G4WORKDIR/bin/Linux-g++/exampleN02
everything is ok as expected.
But recently, I found that the detector is not invisible in the drawings, only tracks and hits are visible.
I pasted relevant output messages here
*************************************************************
 Geant4 version Name: geant4-08-02-ref-02    (23-February-2007)
                      Copyright : Geant4 Collaboration
                      Reference : NIM A 506 (2003), 250-303
                            WWW : http://cern.ch/geant4
*************************************************************

Visualization Manager instantiating... Visualization Manager initialising... Registering graphics systems...

You have successfully registered the following graphics systems.
Current available graphics systems are:
  ASCIITree (ATree)
  DAWNFILE (DAWNFILE)
  GAGTree (GAGTree)
  G4HepRep (HepRepXML)
  G4HepRepFile (HepRepFile)
  RayTracer (RayTracer)
  VRML1FILE (VRML1FILE)
  VRML2FILE (VRML2FILE)
  FukuiRenderer (DAWN)
  OpenGLImmediateX (OGLIX)
  OpenGLStoredX (OGLSX)
  OpenGLImmediateXm (OGLIXm)
  OpenGLStoredXm (OGLSXm)
  RayTracerX (RayTracerX)
  VRML1 (VRML1)
  VRML2 (VRML2)

Registering model factories...

You have successfully registered the following model factories.
Registered model factories:
  generic
  drawByCharge
  drawByParticleID
  drawByOriginVolume
  drawByAttribute

Registered filter factories:
  chargeFilter
  particleFilter
  originVolumeFilter
  attributeFilter

The materials defined are :

***** Table : Nb of materials = 3 *****

 Material:      Air     density:  1.290 mg/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength: 285.161 m  
   --->  Element: Nitrogen (N)   Z =  7.0   N =  14.0   A =  14.01 g/mole  ElmMassFraction:  70.00 %  ElmAbundance  72.71 %
   --->  Element: Oxygen (O)   Z =  8.0   N =  16.0   A =  16.00 g/mole  ElmMassFraction:  30.00 %  ElmAbundance  27.29 %

 Material:     Lead     density: 11.350 g/cm3   temperature: 273.15 K  pressure:   1.00 atm  RadLength:   5.612 mm 
   --->  Element: Lead ( )   Z = 82.0   N = 207.2   A = 207.19 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %

 Material: XenonGas     density:  5.458 mg/cm3  temperature: 293.15 K  pressure:   1.00 atm  RadLength:  15.539 m  
   --->  Element: XenonGas ( )   Z = 54.0   N = 131.3   A = 131.29 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %

Target is 5 cm of Lead
There are 5 chambers in the tracker region. The chambers are 200 mm of XenonGas
 The distance between chamber is 80 cm
/run/verbose 2
#
# Create a scene handler for a specific graphics system
# (Edit the next line(s) to choose another graphics system)
#
/vis/open OGLIX 600x600-0+0
/vis/sceneHandler/create OGLIX
/vis/viewer/create ! ! 600x600-0+0
libGL error: open DRM failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering
Got standard cmap
Window name: viewer-0 (OpenGLImmediateX)
/vis/viewer/refresh
#
####/vis/open DAWNFILE
#
# draw scene
#
/vis/drawVolume
/vis/scene/create
/vis/scene/add/eventID
/vis/scene/add/volume world
/vis/sceneHandler/attach
#
/vis/viewer/set/viewpointThetaPhi 90 180 deg
/vis/viewer/refresh
/vis/viewer/zoom 1.4
/vis/viewer/refresh
#
# for drawing the tracks
/vis/scene/add/trajectories
/tracking/storeTrajectory 1
WARNING: Trajectory storing has been requested.  This action may be
  reversed with "/tracking/storeTrajectory 0".
/vis/scene/notifyHandlers
# (if too many tracks cause core dump => /tracking/storeTrajectory 0)
# for drawing the hits, uncomment next line
# /vis/scene/add/hits
# (if you prefer refreshing each event, comment out next line)
/vis/scene/endOfEventAction accumulate
WARNING: The vis manager will keep up to 100 events.
  This may use a lot of memory.
/vis/scene/notifyHandlers
#
/run/beamOn 10

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

 Add Message Add Message
to: "behavior of running exampleN02 different from previous'"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]