Message: suspended tracks decaying into one of its secondary Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None suspended tracks decaying into one of its secondary  

Forum: Event and Track Management
Date: 29 Oct, 2002
From: Dominique J Mangeol <Dominique J Mangeol>

Hi,

I had recently a problem with suspended track which was causing my program to crash. After some investigation, I have found that the problem was originating from suspended tracks which were decaying (while still suspended) without being stopped) into one of its daugther.

Looking into geant4 code, I have found in source/src/G4EventManager.cc that a track is allowed to decay into its secondary while suspended, here is the part of the code in G4EventManager.cc which manages that:

   G4TrackVector * secondaries = trackManager->GimmeSecondaries();
    switch (istop)
    {
      case fStopButAlive:
      case fSuspend:
        trackContainer->PushOneTrack( track, aTrajectory );
        StackTracks( secondaries );
        break;

I would like to know if it is a bug or if it is allowed on purpose.

So far the only way I have found to correct this problem has been to remove "StackTracks( secondaries );"

After this change, the track decays finally in its secondary but once it has been StopAndKilled.

Thanks for your help,

Dominique.

------------------------------------------------------------------

Dominique Mangeol McGill University BaBar group

 mail address: Stanford Linear Accelerator Center
               2575 Sand Hill Road, mail stop 41
               Menlo Park, CA 94025
               The USA

email address: mangeol@SLAC.Stanford.EDU
    phones:  office: (650) 926 8525    mobile: (650) 245 4583    
                fax: (650) 926 3570     pager: (650) 846 0894
------------------------------------------------------------------

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

1 Question: Re: suspended tracks decaying into one of its secondary   (Peter Gumplinger - 29 Oct, 2002)
(_ None: suspended tracks decaying into one of its secondary   (Dominique J Mangeol - 30 Oct, 2002)
 Add Message Add Message
to: "suspended tracks decaying into one of its secondary "

 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 ]