Message: Re: How to find physical volumes from a text entered geometry Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: How to find physical volumes from a text entered geometry 

Forum: Biasing and Scoring
Re: Question How to find physical volumes from a text entered geometry (sylvian kahane)
Date: 28 Sep, 2013
From: Pedro Arce <Pedro Arce>

You can make a loop to the store of physical volumes

  G4PhysicalVolumeStore* pvs = G4PhysicalVolumeStore::GetInstance();
  std::vector<G4VPhysicalVolume*>::iterator cite;
  for( cite = pvs->begin(); cite != pvs->end(); cite++ ) {
    G4VPhysicalVolume* pv = *cite;

 Add Message Add Message
to: "Re: How to find physical volumes from a text entered geometry"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews