Message: Re: Untitled Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Untitled 

Forum: Run Management
Re: None Untitled (Bryan Fodness)
Re: None Re: Untitled (Vladimir Ivanchenko)
Date: 22 Jun, 2002
From: Makoto Asai <Makoto Asai>

I would suggest two alternative solutions.

1. This is for the case you want to get output of the particular 
step where your interested process occurs. Create your own 
SteppingVerbose class and put an if-statement to check the process.
The way how you can create your own SteppingVerbose class is
demonstrated in ExampleN03.

2. This is for the case you want to get output of entire steps
of a track which causes a process you are interested in.
Given it is impossible to predict which process will occur
beforehand, SteppingVerbose would not help you. For this case,
you should print out a trajectory at your PostUserTrackingAction.
If you feel insufficient to the amount of information of the 
G4Trajectory and G4TrajectoryPoint classes, you are encouraged 
to create your own trajectory and trajectory point classes.
The thread 34 of Event and Tracking will help you to create
your own trajectory classes.

If you take solution 2, I would suggest the following. It looks
like you are shooting big number of primary protons in an event,
but you should shoot one proton per event and run big number of
events. All trajectories are kept until the end of an event,
regardless of you print them out or not. Thus, if you create
trajectories, they consume memory.

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

 Add Message Add Message
to: "Re: Untitled"

 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 ]