Message: Read volume Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Read volume 

Keywords: PIW
Forum: Physics List
Date: 02 Jun, 2004
From: Pushpa <>

Can anyone help me to get the volume where a particular step includes.
I need to do this for each step for all particles (secondaries too).
As an example I can get the volume where a particular track includes by
 following code

      G4ParticleDefinition* particle = aTrack->GetDefinition();
      G4LogicalVolume* logVol = aTrack->GetLogicalVolumeAtVertex();
But I need to do it for each step not track!!
thank you !!

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

1 None: Re: Read volume   (Makoto Asai - 02 Jun, 2004)
 Add Message Add Message
to: "Read volume"

 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 ]