Message: Re: Redoing a step? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Ok Re: Redoing a step? 

Keywords: stepping RF
Forum: Event and Track Management
Re: None Redoing a step? (Tom Roberts)
Re: None Re: Redoing a step? (Makoto Asai)
Re: None Re: Redoing a step? (Tom Roberts)
Date: 11 Feb, 2003
From: Tom Roberts <Tom Roberts>

I have gotten this to work, and did so without requiring changes to any geant4 code (everything is done in UserSteppingAction).

Rather than redoing a step or trying to jump a track by ~30 cm, I took advantage of geant4's ability to track multiple particles in an event. At the upstream end of the volume, I save the track and make an initial estimate of the RF cavity's timing. At the downstream end I adjust the cavity's timing, and if the adjustment exceeds a timingTolerance, I simply kill the current track and add the saved track as a secondary. This secondary is immediately tracked and my code treats it as if it were the original. A limit of 10 such iterations is imposed.

The result is that in this tuning mode, each RF cavity can generate several secondaries, but all RF cavities are tuned in a single event. Remarkably, for my situation (200 MeV/c muons, 201.25 MHz RF cavities, 0.002 ns timingTolerance), this procedure converges for the first track.

My problems due to inaccurate timing have disappeared.

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

 Add Message Add Message
to: "Re: Redoing a step?"

 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 ]