Message: Re: How to rotate tubs with regard to mother volume? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: How to rotate tubs with regard to mother volume? 

Forum: Documentation and Examples
Re: Question How to rotate tubs with regard to mother volume?
Date: 30 Jul, 2004
From: Jeremy McCormick <Jeremy McCormick>

Hi,

This is probably the most straightforward way for you:

  G4RotationMatrix rot = new G4RotationMatrix();
  rot->rotateX(90.*deg) // rotate around X axis

  new G4PVPlacement(rot,  
                    ...); // etc.

See Rotation.h in CLHEP library, which I believe is actual type of G4RotationMatrix.

--Jeremy McCormick, SLAC

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

 Add Message Add Message
to: "Re: How to rotate tubs with regard to mother volume?"

 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 ]