Message: Re: Getting a G4LogicalVolume from its name Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Re: Getting a G4LogicalVolume from its name 

Forum: Geometry
Re: None Getting a G4LogicalVolume from its name (Mathieu Trocmé)
Re: Feedback Re: Getting a G4LogicalVolume from its name (Gabriele Cosmo)
Re: None Re: Getting a G4LogicalVolume from its name (Mathieu Trocmé)
Re: None Re: Getting a G4LogicalVolume from its name (Mathieu Trocmé)
Date: 10 May, 2010
From: Gabriele Cosmo <Gabriele Cosmo>

I'm not sure what version of Geant4 you're using, but each store already
provides such method... i.e. for G4LogicalVolumeStore:

    G4LogicalVolume* GetVolume(const G4String& name, G4bool verbose=true) const;
      // Return the pointer of the first volume in the collection having
      // that name.

Cheers, Gabriele

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

1 None: Re: Getting a G4LogicalVolume from its name   (Mathieu Trocmé - 10 May, 2010)
 Add Message Add Message
to: "Re: Getting a G4LogicalVolume from its name"

 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 ]