Message: Removing TrackBanner when printing output Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Removing TrackBanner when printing output 

Keywords: printing output, trackbanner, removal
Forum: Event and Track Management
Date: 20 Jul, 2007
From: Matthew Middione <middionematt@csufresno.edu>

Hello,

I was wondering if there was a way to eliminate the Track Banner when
printing output in Geant4.

Below is an example of my output:

*********************************************************************************************************
* G4Track Information:   Particle = F18[0.0],   Track ID = 1,   Parent ID = 0
*********************************************************************************************************


*********************************************************************************************************
* G4Track Information:   Particle = e+,   Track ID = 4,   Parent ID = 1
*********************************************************************************************************

-0.821   1.191

*********************************************************************************************************
* G4Track Information:   Particle = F18[0.0],   Track ID = 1,   Parent ID = 0
*********************************************************************************************************


*********************************************************************************************************
* G4Track Information:   Particle = e+,   Track ID = 4,   Parent ID = 1
*********************************************************************************************************

-0.736  -0.205

*********************************************************************************************************
* G4Track Information:   Particle = F18[0.0],   Track ID = 1,   Parent ID = 0
*********************************************************************************************************


*********************************************************************************************************
* G4Track Information:   Particle = e+,   Track ID = 4,   Parent ID = 1
*********************************************************************************************************

-0.126  -0.069


...And so on...

The reason why I ask is because I plan on running the simulation 50000
times and only wish to display the set of numbers that you see above for
the e+ particles.  If there was a way to eliminate the asterisks and the
G4Track Information, which I believe is called the TrackBanner then I
believe my goal would be achieved.  Let me know what your thoughts are
on this matter and if you know how I can eliminate this TrackBanner.

Thanks in anticipation,
Matthew Middione


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

 Add Message Add Message
to: "Removing TrackBanner when printing 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 ]