Message: Re: Using UI command to change detector's position Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Using UI command to change detector's position 

Forum: Geometry
Re: Question Using UI command to change detector's position
Date: 02 Aug, 2018
From: Makoto Asai <Makoto Asai>

Hi,
Position and rotation are not the properties of G4LogicalVolume but the properties of G4VPhysicalVolume. I invite you to B5 basic example where we demonstrate the rotation and relocation of a volume by a UI command.
http://www-geant4.kek.jp/lxr/source/examples/basic/B5/src/B5DetectorConstruction.cc#L446
Hope this helps,
Makoto

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

1 News: Re: Using UI command to change detector's position   (mesonsoup - 03 Aug, 2018)
 Add Message Add Message
to: "Re: Using UI command to change detector's position"

 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 ]