CLHEP 2.4.7.1
C++ Class Library for High Energy Physics
CLHEP::HepRotationX Class Reference

#include <CLHEP/Vector/RotationX.h>

Public Member Functions

 HepRotationX ()
 
 HepRotationX (double delta)
 
 HepRotationX (const HepRotationX &orig)
 
 HepRotationX (HepRotationX &&orig)=default
 
HepRotationXoperator= (const HepRotationX &r)
 
HepRotationXoperator= (HepRotationX &&r)=default
 
HepRotationXset (double delta)
 
 ~HepRotationX ()
 
Hep3Vector colX () const
 
Hep3Vector colY () const
 
Hep3Vector colZ () const
 
Hep3Vector rowX () const
 
Hep3Vector rowY () const
 
Hep3Vector rowZ () const
 
double xx () const
 
double xy () const
 
double xz () const
 
double yx () const
 
double yy () const
 
double yz () const
 
double zx () const
 
double zy () const
 
double zz () const
 
HepRep3x3 rep3x3 () const
 
double getPhi () const
 
double getTheta () const
 
double getPsi () const
 
double phi () const
 
double theta () const
 
double psi () const
 
HepEulerAngles eulerAngles () const
 
double getDelta () const
 
Hep3Vector getAxis () const
 
double delta () const
 
Hep3Vector axis () const
 
HepAxisAngle axisAngle () const
 
void getAngleAxis (double &delta, Hep3Vector &axis) const
 
double phiX () const
 
double phiY () const
 
double phiZ () const
 
double thetaX () const
 
double thetaY () const
 
double thetaZ () const
 
HepLorentzVector col1 () const
 
HepLorentzVector col2 () const
 
HepLorentzVector col3 () const
 
HepLorentzVector col4 () const
 
HepLorentzVector row1 () const
 
HepLorentzVector row2 () const
 
HepLorentzVector row3 () const
 
HepLorentzVector row4 () const
 
double xt () const
 
double yt () const
 
double zt () const
 
double tx () const
 
double ty () const
 
double tz () const
 
double tt () const
 
HepRep4x4 rep4x4 () const
 
void setDelta (double delta)
 
void decompose (HepAxisAngle &rotation, Hep3Vector &boost) const
 
void decompose (Hep3Vector &boost, HepAxisAngle &rotation) const
 
void decompose (HepRotation &rotation, HepBoost &boost) const
 
void decompose (HepBoost &boost, HepRotation &rotation) const
 
bool isIdentity () const
 
int compare (const HepRotationX &r) const
 
bool operator== (const HepRotationX &r) const
 
bool operator!= (const HepRotationX &r) const
 
bool operator< (const HepRotationX &r) const
 
bool operator> (const HepRotationX &r) const
 
bool operator<= (const HepRotationX &r) const
 
bool operator>= (const HepRotationX &r) const
 
double distance2 (const HepRotationX &r) const
 
double distance2 (const HepRotation &r) const
 
double howNear (const HepRotationX &r) const
 
double howNear (const HepRotation &r) const
 
bool isNear (const HepRotationX &r, double epsilon=Hep4RotationInterface::tolerance) const
 
bool isNear (const HepRotation &r, double epsilon=Hep4RotationInterface::tolerance) const
 
double distance2 (const HepBoost &lt) const
 
double distance2 (const HepLorentzRotation &lt) const
 
double howNear (const HepBoost &lt) const
 
double howNear (const HepLorentzRotation &lt) const
 
bool isNear (const HepBoost &lt, double epsilon=Hep4RotationInterface::tolerance) const
 
bool isNear (const HepLorentzRotation &lt, double epsilon=Hep4RotationInterface::tolerance) const
 
double norm2 () const
 
void rectify ()
 
Hep3Vector operator() (const Hep3Vector &p) const
 
Hep3Vector operator* (const Hep3Vector &p) const
 
HepLorentzVector operator() (const HepLorentzVector &w) const
 
HepLorentzVector operator* (const HepLorentzVector &w) const
 
HepRotationX operator* (const HepRotationX &rx) const
 
HepRotationXoperator*= (const HepRotationX &r)
 
HepRotationXtransform (const HepRotationX &r)
 
HepRotationX inverse () const
 
HepRotationXinvert ()
 
std::ostream & print (std::ostream &os) const
 

Static Public Member Functions

static double getTolerance ()
 
static double setTolerance (double tol)
 

Protected Member Functions

 HepRotationX (double dd, double ss, double cc)
 

Static Protected Member Functions

static double proper (double delta)
 

Protected Attributes

double its_d
 
double its_s
 
double its_c
 

Friends

HepRotationX inverseOf (const HepRotationX &r)
 

Detailed Description

Author

Definition at line 40 of file RotationX.h.

Constructor & Destructor Documentation

◆ HepRotationX() [1/5]

◆ HepRotationX() [2/5]

CLHEP::HepRotationX::HepRotationX ( double delta)

References delta(), and HepRotationX().

◆ HepRotationX() [3/5]

CLHEP::HepRotationX::HepRotationX ( const HepRotationX & orig)
inline

Definition at line 34 of file RotationX.icc.

References HepRotationX(), its_c, its_d, and its_s.

◆ HepRotationX() [4/5]

CLHEP::HepRotationX::HepRotationX ( HepRotationX && orig)
inlinedefault

References HepRotationX().

◆ ~HepRotationX()

CLHEP::HepRotationX::~HepRotationX ( )
inline

Definition at line 49 of file RotationX.icc.

◆ HepRotationX() [5/5]

CLHEP::HepRotationX::HepRotationX ( double dd,
double ss,
double cc )
inlineprotected

Definition at line 38 of file RotationX.icc.

References its_c, its_d, and its_s.

Member Function Documentation

◆ axis()

Hep3Vector CLHEP::HepRotationX::axis ( ) const
inline

Definition at line 72 of file RotationX.icc.

Referenced by axisAngle(), eulerAngles(), and getAxis().

◆ axisAngle()

HepAxisAngle CLHEP::HepRotationX::axisAngle ( ) const
inline

Definition at line 74 of file RotationX.icc.

References axis(), and delta().

◆ col1()

HepLorentzVector CLHEP::HepRotationX::col1 ( ) const
inline

Definition at line 84 of file RotationX.icc.

References colX().

◆ col2()

HepLorentzVector CLHEP::HepRotationX::col2 ( ) const
inline

Definition at line 86 of file RotationX.icc.

References colY().

◆ col3()

HepLorentzVector CLHEP::HepRotationX::col3 ( ) const
inline

Definition at line 88 of file RotationX.icc.

References colZ().

◆ col4()

HepLorentzVector CLHEP::HepRotationX::col4 ( ) const
inline

Definition at line 90 of file RotationX.icc.

◆ colX()

Hep3Vector CLHEP::HepRotationX::colX ( ) const
inline

Definition at line 51 of file RotationX.icc.

Referenced by col1().

◆ colY()

Hep3Vector CLHEP::HepRotationX::colY ( ) const
inline

Definition at line 53 of file RotationX.icc.

References its_c, and its_s.

Referenced by col2().

◆ colZ()

Hep3Vector CLHEP::HepRotationX::colZ ( ) const
inline

Definition at line 55 of file RotationX.icc.

References its_c, and its_s.

Referenced by col3().

◆ compare()

int CLHEP::HepRotationX::compare ( const HepRotationX & r) const
inline

Definition at line 119 of file RotationX.icc.

References HepRotationX(), and its_d.

◆ decompose() [1/4]

void CLHEP::HepRotationX::decompose ( Hep3Vector & boost,
HepAxisAngle & rotation ) const

◆ decompose() [2/4]

void CLHEP::HepRotationX::decompose ( HepAxisAngle & rotation,
Hep3Vector & boost ) const

◆ decompose() [3/4]

void CLHEP::HepRotationX::decompose ( HepBoost & boost,
HepRotation & rotation ) const

References HepRotationX().

◆ decompose() [4/4]

void CLHEP::HepRotationX::decompose ( HepRotation & rotation,
HepBoost & boost ) const

◆ delta()

double CLHEP::HepRotationX::delta ( ) const
inline

Definition at line 71 of file RotationX.icc.

References its_d.

Referenced by axisAngle(), eulerAngles(), HepRotationX(), set(), and setDelta().

◆ distance2() [1/4]

double CLHEP::HepRotationX::distance2 ( const HepBoost & lt) const

◆ distance2() [2/4]

double CLHEP::HepRotationX::distance2 ( const HepLorentzRotation & lt) const

◆ distance2() [3/4]

double CLHEP::HepRotationX::distance2 ( const HepRotation & r) const

◆ distance2() [4/4]

double CLHEP::HepRotationX::distance2 ( const HepRotationX & r) const

References HepRotationX().

◆ eulerAngles()

HepEulerAngles CLHEP::HepRotationX::eulerAngles ( ) const

References axis(), and delta().

◆ getAngleAxis()

void CLHEP::HepRotationX::getAngleAxis ( double & delta,
Hep3Vector & axis ) const
inline

Definition at line 78 of file RotationX.icc.

References getAxis(), and its_d.

◆ getAxis()

Hep3Vector CLHEP::HepRotationX::getAxis ( ) const
inline

Definition at line 69 of file RotationX.icc.

References axis().

Referenced by getAngleAxis().

◆ getDelta()

double CLHEP::HepRotationX::getDelta ( ) const
inline

Definition at line 68 of file RotationX.icc.

References its_d.

◆ getPhi()

double CLHEP::HepRotationX::getPhi ( ) const
inline

Definition at line 65 of file RotationX.icc.

References phi().

◆ getPsi()

double CLHEP::HepRotationX::getPsi ( ) const
inline

Definition at line 67 of file RotationX.icc.

References psi().

◆ getTheta()

double CLHEP::HepRotationX::getTheta ( ) const
inline

Definition at line 66 of file RotationX.icc.

References theta().

◆ getTolerance()

double CLHEP::HepRotationX::getTolerance ( )
inlinestatic

Definition at line 201 of file RotationX.icc.

References CLHEP::Hep4RotationInterface::tolerance.

◆ howNear() [1/4]

double CLHEP::HepRotationX::howNear ( const HepBoost & lt) const

◆ howNear() [2/4]

double CLHEP::HepRotationX::howNear ( const HepLorentzRotation & lt) const

◆ howNear() [3/4]

double CLHEP::HepRotationX::howNear ( const HepRotation & r) const

◆ howNear() [4/4]

double CLHEP::HepRotationX::howNear ( const HepRotationX & r) const

References HepRotationX().

◆ inverse()

HepRotationX CLHEP::HepRotationX::inverse ( ) const
inline

Definition at line 189 of file RotationX.icc.

References HepRotationX(), its_c, its_d, its_s, and proper().

Referenced by inverseOf, and invert().

◆ invert()

HepRotationX & CLHEP::HepRotationX::invert ( )
inline

Definition at line 197 of file RotationX.icc.

References HepRotationX(), and inverse().

◆ isIdentity()

bool CLHEP::HepRotationX::isIdentity ( ) const
inline

Definition at line 115 of file RotationX.icc.

References its_d.

◆ isNear() [1/4]

bool CLHEP::HepRotationX::isNear ( const HepBoost & lt,
double epsilon = Hep4RotationInterface::tolerance ) const

◆ isNear() [2/4]

bool CLHEP::HepRotationX::isNear ( const HepLorentzRotation & lt,
double epsilon = Hep4RotationInterface::tolerance ) const

◆ isNear() [3/4]

bool CLHEP::HepRotationX::isNear ( const HepRotation & r,
double epsilon = Hep4RotationInterface::tolerance ) const

◆ isNear() [4/4]

bool CLHEP::HepRotationX::isNear ( const HepRotationX & r,
double epsilon = Hep4RotationInterface::tolerance ) const

◆ norm2()

double CLHEP::HepRotationX::norm2 ( ) const

References HepRotationX().

◆ operator!=()

bool CLHEP::HepRotationX::operator!= ( const HepRotationX & r) const
inline

Definition at line 125 of file RotationX.icc.

References HepRotationX(), and its_d.

◆ operator()() [1/2]

Hep3Vector CLHEP::HepRotationX::operator() ( const Hep3Vector & p) const
inline

Definition at line 142 of file RotationX.icc.

References its_c, its_s, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().

Referenced by operator*(), and operator*().

◆ operator()() [2/2]

HepLorentzVector CLHEP::HepRotationX::operator() ( const HepLorentzVector & w) const
inline

Definition at line 155 of file RotationX.icc.

◆ operator*() [1/3]

Hep3Vector CLHEP::HepRotationX::operator* ( const Hep3Vector & p) const
inline

Definition at line 151 of file RotationX.icc.

References operator()().

◆ operator*() [2/3]

HepLorentzVector CLHEP::HepRotationX::operator* ( const HepLorentzVector & w) const
inline

Definition at line 160 of file RotationX.icc.

References operator()().

◆ operator*() [3/3]

HepRotationX CLHEP::HepRotationX::operator* ( const HepRotationX & rx) const
inline

Definition at line 183 of file RotationX.icc.

References HepRotationX(), its_c, its_d, its_s, and proper().

◆ operator*=()

HepRotationX & CLHEP::HepRotationX::operator*= ( const HepRotationX & r)
inline

Definition at line 165 of file RotationX.icc.

References HepRotationX().

◆ operator<()

bool CLHEP::HepRotationX::operator< ( const HepRotationX & r) const
inline

Definition at line 133 of file RotationX.icc.

References HepRotationX(), and its_d.

◆ operator<=()

bool CLHEP::HepRotationX::operator<= ( const HepRotationX & r) const
inline

Definition at line 129 of file RotationX.icc.

References HepRotationX(), and its_d.

◆ operator=() [1/2]

HepRotationX & CLHEP::HepRotationX::operator= ( const HepRotationX & r)
inline

Definition at line 42 of file RotationX.icc.

References HepRotationX(), its_c, its_d, and its_s.

◆ operator=() [2/2]

HepRotationX & CLHEP::HepRotationX::operator= ( HepRotationX && r)
inlinedefault

References HepRotationX().

◆ operator==()

bool CLHEP::HepRotationX::operator== ( const HepRotationX & r) const
inline

Definition at line 123 of file RotationX.icc.

References HepRotationX(), and its_d.

◆ operator>()

bool CLHEP::HepRotationX::operator> ( const HepRotationX & r) const
inline

Definition at line 131 of file RotationX.icc.

References HepRotationX(), and its_d.

◆ operator>=()

bool CLHEP::HepRotationX::operator>= ( const HepRotationX & r) const
inline

Definition at line 127 of file RotationX.icc.

References HepRotationX(), and its_d.

◆ phi()

double CLHEP::HepRotationX::phi ( ) const

Referenced by getPhi().

◆ phiX()

double CLHEP::HepRotationX::phiX ( ) const

◆ phiY()

double CLHEP::HepRotationX::phiY ( ) const

◆ phiZ()

double CLHEP::HepRotationX::phiZ ( ) const

◆ print()

std::ostream & CLHEP::HepRotationX::print ( std::ostream & os) const

◆ proper()

double CLHEP::HepRotationX::proper ( double delta)
inlinestaticprotected

Definition at line 173 of file RotationX.icc.

Referenced by inverse(), operator*(), and rectify().

◆ psi()

double CLHEP::HepRotationX::psi ( ) const

Referenced by getPsi().

◆ rectify()

void CLHEP::HepRotationX::rectify ( )
inline

Definition at line 136 of file RotationX.icc.

References its_c, its_d, its_s, and proper().

◆ rep3x3()

HepRep3x3 CLHEP::HepRotationX::rep3x3 ( ) const
inline

Definition at line 26 of file RotationX.icc.

References its_c, and its_s.

Referenced by CLHEP::HepRotation::operator=(), and CLHEP::HepRotation::set().

◆ rep4x4()

HepRep4x4 CLHEP::HepRotationX::rep4x4 ( ) const
inline

Definition at line 108 of file RotationX.icc.

References its_c, and its_s.

Referenced by CLHEP::HepLorentzRotation::HepLorentzRotation(), and CLHEP::HepLorentzRotation::set().

◆ row1()

HepLorentzVector CLHEP::HepRotationX::row1 ( ) const
inline

Definition at line 92 of file RotationX.icc.

References rowX().

◆ row2()

HepLorentzVector CLHEP::HepRotationX::row2 ( ) const
inline

Definition at line 94 of file RotationX.icc.

References rowY().

◆ row3()

HepLorentzVector CLHEP::HepRotationX::row3 ( ) const
inline

Definition at line 96 of file RotationX.icc.

References rowZ().

◆ row4()

HepLorentzVector CLHEP::HepRotationX::row4 ( ) const
inline

Definition at line 98 of file RotationX.icc.

◆ rowX()

Hep3Vector CLHEP::HepRotationX::rowX ( ) const
inline

Definition at line 58 of file RotationX.icc.

Referenced by row1().

◆ rowY()

Hep3Vector CLHEP::HepRotationX::rowY ( ) const
inline

Definition at line 60 of file RotationX.icc.

References its_c, and its_s.

Referenced by row2().

◆ rowZ()

Hep3Vector CLHEP::HepRotationX::rowZ ( ) const
inline

Definition at line 62 of file RotationX.icc.

References its_c, and its_s.

Referenced by row3().

◆ set()

HepRotationX & CLHEP::HepRotationX::set ( double delta)

References delta(), and HepRotationX().

◆ setDelta()

void CLHEP::HepRotationX::setDelta ( double delta)

References delta().

◆ setTolerance()

double CLHEP::HepRotationX::setTolerance ( double tol)
inlinestatic

Definition at line 204 of file RotationX.icc.

References CLHEP::Hep4RotationInterface::setTolerance().

◆ theta()

double CLHEP::HepRotationX::theta ( ) const

Referenced by getTheta().

◆ thetaX()

double CLHEP::HepRotationX::thetaX ( ) const

◆ thetaY()

double CLHEP::HepRotationX::thetaY ( ) const

◆ thetaZ()

double CLHEP::HepRotationX::thetaZ ( ) const

◆ transform()

HepRotationX & CLHEP::HepRotationX::transform ( const HepRotationX & r)
inline

Definition at line 169 of file RotationX.icc.

References HepRotationX().

◆ tt()

double CLHEP::HepRotationX::tt ( ) const
inline

Definition at line 106 of file RotationX.icc.

◆ tx()

double CLHEP::HepRotationX::tx ( ) const
inline

Definition at line 103 of file RotationX.icc.

◆ ty()

double CLHEP::HepRotationX::ty ( ) const
inline

Definition at line 104 of file RotationX.icc.

◆ tz()

double CLHEP::HepRotationX::tz ( ) const
inline

Definition at line 105 of file RotationX.icc.

◆ xt()

double CLHEP::HepRotationX::xt ( ) const
inline

Definition at line 100 of file RotationX.icc.

◆ xx()

double CLHEP::HepRotationX::xx ( ) const
inline

Definition at line 20 of file RotationX.icc.

◆ xy()

double CLHEP::HepRotationX::xy ( ) const
inline

Definition at line 21 of file RotationX.icc.

◆ xz()

double CLHEP::HepRotationX::xz ( ) const
inline

Definition at line 22 of file RotationX.icc.

◆ yt()

double CLHEP::HepRotationX::yt ( ) const
inline

Definition at line 101 of file RotationX.icc.

◆ yx()

double CLHEP::HepRotationX::yx ( ) const
inline

Definition at line 23 of file RotationX.icc.

◆ yy()

double CLHEP::HepRotationX::yy ( ) const
inline

Definition at line 15 of file RotationX.icc.

References its_c.

Referenced by CLHEP::HepRotation::operator*(), and CLHEP::HepRotation::operator*.

◆ yz()

double CLHEP::HepRotationX::yz ( ) const
inline

Definition at line 16 of file RotationX.icc.

References its_s.

Referenced by CLHEP::HepRotation::operator*().

◆ zt()

double CLHEP::HepRotationX::zt ( ) const
inline

Definition at line 102 of file RotationX.icc.

◆ zx()

double CLHEP::HepRotationX::zx ( ) const
inline

Definition at line 24 of file RotationX.icc.

◆ zy()

double CLHEP::HepRotationX::zy ( ) const
inline

Definition at line 17 of file RotationX.icc.

References its_s.

Referenced by CLHEP::HepRotation::operator*.

◆ zz()

double CLHEP::HepRotationX::zz ( ) const
inline

Definition at line 18 of file RotationX.icc.

References its_c.

Friends And Related Symbol Documentation

◆ inverseOf

HepRotationX inverseOf ( const HepRotationX & r)
friend

Definition at line 193 of file RotationX.icc.

References HepRotationX(), and inverse().

Member Data Documentation

◆ its_c

double CLHEP::HepRotationX::its_c
protected

◆ its_d

◆ its_s

double CLHEP::HepRotationX::its_s
protected

The documentation for this class was generated from the following files: