Message: Summary of Tracking Output Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Summary of Tracking Output  

Keywords: Output Tracking Summary
Forum: Documentation and Examples
Date: 05 Dec, 2002
From: <>


I wanted to dump the Tracking/summary of the events. Using the

command: idle>/tracking/verbose 1, one can re-direct the output to a file.

In my case, I used the command: $G4WORKDIR/bin/Linux-g++/TestEm4 vis.mac > & qqq.out, where the the content of the textfile "vis.mac", I attached below.

# Macro file for the initialization phase of ""
# Sets some default verbose
# and initializes the graphic.
/tracking/verbose 1 /event/verbose 1 #/control/verbose 2 /control/saveHistory /run/verbose 1
# Create empty scene ("world" is default)
# Create a scene handler for a specific graphics system
# Edit the next line(s) to choose another graphic system
/vis/open DAWNFILE
#/vis/open OGLIX
# Draw scene
/vis/viewer/zoom 0.75 /vis/viewer/flush
# for drawing the tracks
# if too many tracks cause core dump => storeTrajectory 0
/tracking/storeTrajectory 1 /vis/scene/endOfEventAction accumulate
/run/beamOn 20

Well, there was an output writen on file "qqq.out", but it does not include the tracking summary. I expect to see the particle's Parent and Track ID, X,Y,Z, ..., Volume, Process. How do we obtain this Tracking Summary? Thanks

The content of "qqq.out" is shown below.

 Geant4 version $Name: geant4-04-01-patch-01 $
             Copyright : Geant4 Collaboration
Visualization Manager instantiating...
Visualization Manager initialising...
Registering graphics systems...

You have successfully chosen to use the following graphics systems.
Current available graphics systems are:
  ASCIITree (ATree)
  GAGTree (GAGTree)
  G4HepRepFile (HepRepFile)
  RayTracer (RayTracer)
  FukuiRenderer (DAWN)

***** Table : Nb of materials = 9 *****

 Material: Vacuum            density:  0.000 mg/cm3  temperature:   2.73 K  pressure:   0.00 atm  RadLength: 204727576.737
   --->  Element: Vacuum    Z =  1.0   N =   1.0   A =   1.01 g/mole  fractionMass: 100.00 %  Abundance 100.00 %

................... ................... ...................

phot:  Total cross sections from Sandia parametrisation.
Em4PhysicsList::SetCuts:CutLength : 1 (mm)

compt:  Total cross sections from a parametrisation. Good description from 10 KeV to (100/Z) GeV.
       Scattered gamma energy according Klein-Nishina.
        PhysicsTables from 1 keV to 100 GeV in 80 bins.
   quartz                         5.54 keV           536 keV
   Basalt                          7.5 keV           662 keV
1 DAWNFILE scene handlers extanct.
WARNING: objects with visibility flag set to "false" will not be drawn!
  "/vis/set/culling off" to Draw such objects.
  Also see other "/vis/set" commands.
Your "world" has no vis attributes or is marked as visible.
  For a better view of the contents, mark the world as invisible, e.g.,
  myWorldLogicalVol -> SetVisAttributes (G4VisAttributes::Invisible);  
G4Scene::AddWorldIfEmpty: The scene was empty,
   "world" has been added.
Output file: g4_19.prim
Destination directory (current dir if NULL):
Maximal number of files in the destination directory: 100
  * The maximal number is customizable as:           
       % setenv  G4DAWNFILE_MAX_FILE_NUM  number     
  * The destination directory is customizable as:    
       % setenv  G4DAWNFILE_DEST_DIR  dir_name/      
     ** Do not forget "/" at the end of the          
        dir_name, e.g. "./tmp/".  

File g4_19.prim is generated. dawn g4_19.prim

          Fukui  Renderer         
 (Drawer for Academic WritiNgs)   
 ver 3.85c-X   June 01, 2002      

***** g4.prim viewer mode (default)
***** ("dawn -h" for help)

Application initialization failed: no display name and no $DISPLAY environment variable
Error in startup script: invalid command name "frame"
    while executing
"frame   .top     -highlightthickness 0 -bg $bgcolor"
    (file "/usr/local/bin/DAWN_GUI" line 18)
Graphics systems deleted.
Visualization Manager deleting...
G4 kernel has come to Quit state.

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

1 None: Re: Summary of Tracking Output   (michel maire - 09 Dec, 2002)
 Add Message Add Message
to: "Summary of Tracking Output "

 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 ]