Message: G4AssemblyVolumes with G4Regions Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question G4AssemblyVolumes with G4Regions 

Forum: Geometry
Date: 22 Oct, 2015
From: Ben Krikler <Ben Krikler>

It seems that there is no easy way to add a G4Region to a G4AssemblyVolume. This class seems to be intended to act in the same was as G4LogicalVolume during the geometry building process but not exist or define any physical boundary during the tracking stage.

Whilst adding a G4LogicalVolume to a G4Region is simple, to add all sub-volumes that make up a G4AssemblyVolume to a region I'm either required to loop over all the added logical volumes after they're placed (I think that would work) or else each volume needs to add itself to the region.

Is there a better, more correct way to do this? If not, could I suggest a feature request that the G4AssemblyVolume class be given similar status as G4LogicalVolume with respect to G4Region? Namely, could we add a SetRegion method to G4AssemblyVolume and could G4Region receive a method equivalent to AddRootLogicalVolume (AddRootAssemblyVolume for example)?

Thanks in advance,

Ben

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

1 More: Re: G4AssemblyVolumes with G4Regions   (Gabriele Cosmo - 23 Oct, 2015)
(_ None: Re: G4AssemblyVolumes with G4Regions   (Ben Krikler - 23 Oct, 2015)
 Add Message Add Message
to: "G4AssemblyVolumes with G4Regions"

 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 ]