BDSTiltOffset Class Reference

A holder for any placement offsets and rotations for a BDSAcceleratorComponent. More...

#include <BDSTiltOffset.hh>


Public Member Functions

 BDSTiltOffset ()
 BDSTiltOffset (G4double xOffset, G4double yOffset, G4double tiltIn)
G4double GetXOffset () const
 Accessor.
G4double GetYOffset () const
 Accessor.
G4double GetTilt () const
 Accessor.

Private Attributes

G4double dx
 Horizontal displacement (mm) - note right handed coordinate system.
G4double dy
 Vertical displacement (mm).
G4double tilt
 Tilt angle (rad) - rotation angle about Z axis.

Friends

std::ostream & operator<< (std::ostream &out, BDSTiltOffset const &to)
 output stream


Detailed Description

A holder for any placement offsets and rotations for a BDSAcceleratorComponent.

Note, no rotation variables are provided other than along the beam axis (z) as this would cause overlapping volumes between a component and the next one in the line. This leads to much more complicated geometry or padding space (perhaps acceptable for very low angles), but for now is left to be implemented in future.

Author:
Laurie Nevay <laurie.nevay@rhul.ac.uk>

Definition at line 19 of file BDSTiltOffset.hh.


The documentation for this class was generated from the following files:
Generated on 28 Jun 2015 for BDSIM by  doxygen 1.4.7