Message: no count for n(B,alpha)Li reaction using ExN07StackingAction.cc Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None no count for n(B,alpha)Li reaction using ExN07StackingAction.cc 

Keywords: counts, track, ExN07StackingAction
Forum: Event and Track Management
Date: 06 Jul, 2004
From: Kanin Aungskunsiri <nin@astro.phys.sc.chula.ac.th>

Dear All,

After Update my G4 version from G4.5.2 to G4.6.1 There are somethings strange in my program. I use ExN07StackingAction.cc as an example to track particles in region I am interested in. There is a brief code below...

================================================

G4ClassificationOfNewTrack
ExN07StackingAction::ClassifyNewTrack(const G4Track * aTrack)
{
  G4TouchableHistory* theTouchable
   = (G4TouchableHistory*)(aTrack->GetTouchable());
  if(theTouchable&&theTouchable->GetHistoryDepth()>1)
  {
    G4VPhysicalVolume* calPhys  = theTouchable->GetVolume(0);

    if(calPhys)
    {
               if(calPhys->GetName()=="BF3-Tube")
                      if(particleType==G4Gamma::GammaDefinition())
                                   nGamma[1]++;
                      if(particleType==G4Alpha::AlphaDefinition())
                          	   nAlpha++;

                     .............  .........
     }
    }
    return fUrgent;
  }

================================================

I shoot thermal neutrons in the BF3 gas chamber.. There are n(B,alpha)Li reactions ( use command /tracking/verbose 2 ). But I don't know why there is no count for the ExN07StackingAction code.. Another physics process is ok using ExN07StackingAction to count particles.

First time, I use G4.5.2 there are no problem in this case, but after I update to G4.6.1 there are lots of problem

Could anyone help me ? Thank you ...

Kanin Aungskunsiri

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

1 None: Re: no count for n(B,alpha)Li reaction using ExN07StackingAction.cc   (Makoto Asai - 28 Oct, 2004)
 Add Message Add Message
to: "no count for n(B,alpha)Li reaction using ExN07StackingAction.cc"

 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 ]