#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 |
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.
Definition at line 19 of file BDSTiltOffset.hh.