Message: aStep->IsFirstStepInVolume()==false Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question aStep->IsFirstStepInVolume()==false 

Forum: Event and Track Management
Date: 31 Mar, 2009
From: <viet.nga.thi.la@cern.ch>

Hi all,

This is a portion in my program:

 if (aStep->IsFirstStepInVolume()==true){
    G4StepPoint*  preStepPoint = aStep->GetPreStepPoint();
    E1 = preStepPoint->GetKineticEnergy();
    G4cout<<"E1 = "<<E1<<G4endl;
  }

I get aStep->IsFirstStepInVolume(), but it don't return "true". It return "false".

So I use the value "false", aStep->IsFirstStepInVolume()==false), how do it influence to my result?

Thanks.

Viet Nga

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

1 Warning: Re: aStep->IsFirstStepInVolume()==false   (Gumplinger Peter - 31 Mar, 2009)
2 None: Re: aStep->IsFirstStepInVolume()==false   (Tim Fulcher - Mar 05, 11:10)
1 None: Re: aStep->IsFirstStepInVolume()==false   (Makoto Asai - Mar 05, 12:04)
(_ None: Re: aStep->IsFirstStepInVolume()==false   (Tim Fulcher - Mar 05, 12:27)
 Add Message Add Message
to: "aStep->IsFirstStepInVolume()==false"

 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 ]