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

None Re: Getting a G4LogicalVolume from its name 

Keywords: G4LogicalVolume
Forum: Geometry
Re: None Getting a G4LogicalVolume from its name (Mathieu Trocmé)
Re: Feedback Re: Getting a G4LogicalVolume from its name (Gabriele Cosmo)
Date: 05 Apr, 2007
From: Mathieu Trocmé <mathieu.trocme@ires.in2p3.fr>

Great, thanks. 

The same method could also be added to G4PhysicalVolumeStore and G4SolidStore (and all other Store classes). 
Or maybe everything could be implemented in G4GeometryManager: 
>> G4VSolid          * mySolidVolume    = G4GeometryManager::GetInstance()->GetSolidVolume    ("mySolidVolume"   ) ;
>> G4LogicalVolume   * myLogicalVolume  = G4GeometryManager::GetInstance()->GetLogicalVolume  ("myLogicalVolume" ) ;
>> G4VPhysicalVolume * myPhysicalVolume = G4GeometryManager::GetInstance()->GetPhysicalVolume ("myPhysicalVolume") ;

Regards, 
Mathieu

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é - 06 May, 2010)
(_ Question: Re: Getting a G4LogicalVolume from its name   (Gabriele Cosmo - 10 May, 2010)
(_ 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 ]