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

#include <CLHEP/Vector/RotationZ.h>

Public Member Functions

 HepRotationZ ()
 
 HepRotationZ (double delta)
 
 HepRotationZ (const HepRotationZ &orig)
 
 HepRotationZ (HepRotationZ &&orig)=default
 
HepRotationZoperator= (const HepRotationZ &r)
 
HepRotationZoperator= (HepRotationZ &&r)=default
 
HepRotationZset (double delta)
 
 ~HepRotationZ ()
 
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 HepRotationZ &r) const
 
bool operator== (const HepRotationZ &r) const
 
bool operator!= (const HepRotationZ &r) const
 
bool operator< (const HepRotationZ &r) const
 
bool operator> (const HepRotationZ &r) const
 
bool operator<= (const HepRotationZ &r) const
 
bool operator>= (const HepRotationZ &r) const
 
double distance2 (const HepRotationZ &r) const
 
double distance2 (const HepRotation &r) const
 
double howNear (const HepRotationZ &r) const
 
double howNear (const HepRotation &r) const
 
bool isNear (const HepRotationZ &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
 
HepRotationZ operator* (const HepRotationZ &rz) const
 
HepRotationZoperator*= (const HepRotationZ &r)
 
HepRotationZtransform (const HepRotationZ &r)
 
HepRotationZ inverse () const
 
HepRotationZinvert ()
 
std::ostream & print (std::ostream &os) const
 

Static Public Member Functions

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

Protected Member Functions

 HepRotationZ (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

HepRotationZ inverseOf (const HepRotationZ &r)
 

Detailed Description

Author

Definition at line 39 of file RotationZ.h.

Constructor & Destructor Documentation

◆ HepRotationZ() [1/5]

◆ HepRotationZ() [2/5]

CLHEP::HepRotationZ::HepRotationZ ( double delta)

References delta(), and HepRotationZ().

◆ HepRotationZ() [3/5]

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

Definition at line 34 of file RotationZ.icc.

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

◆ HepRotationZ() [4/5]

CLHEP::HepRotationZ::HepRotationZ ( HepRotationZ && orig)
inlinedefault

References HepRotationZ().

◆ ~HepRotationZ()

CLHEP::HepRotationZ::~HepRotationZ ( )
inline

Definition at line 49 of file RotationZ.icc.

◆ HepRotationZ() [5/5]

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

Definition at line 38 of file RotationZ.icc.

References its_c, its_d, and its_s.

Member Function Documentation

◆ axis()

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

Definition at line 72 of file RotationZ.icc.

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

◆ axisAngle()

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

Definition at line 74 of file RotationZ.icc.

References axis(), and delta().

◆ col1()

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

Definition at line 170 of file RotationZ.icc.

References colX().

◆ col2()

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

Definition at line 172 of file RotationZ.icc.

References colY().

◆ col3()

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

Definition at line 174 of file RotationZ.icc.

References colZ().

◆ col4()

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

Definition at line 176 of file RotationZ.icc.

◆ colX()

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

Definition at line 51 of file RotationZ.icc.

References its_c, and its_s.

Referenced by col1().

◆ colY()

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

Definition at line 53 of file RotationZ.icc.

References its_c, and its_s.

Referenced by col2().

◆ colZ()

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

Definition at line 55 of file RotationZ.icc.

Referenced by col3().

◆ compare()

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

Definition at line 88 of file RotationZ.icc.

References HepRotationZ(), and its_d.

◆ decompose() [1/4]

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

◆ decompose() [2/4]

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

◆ decompose() [3/4]

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

References HepRotationZ().

◆ decompose() [4/4]

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

◆ delta()

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

Definition at line 71 of file RotationZ.icc.

References its_d.

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

◆ distance2() [1/4]

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

◆ distance2() [2/4]

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

◆ distance2() [3/4]

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

◆ distance2() [4/4]

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

References HepRotationZ().

◆ eulerAngles()

HepEulerAngles CLHEP::HepRotationZ::eulerAngles ( ) const

References axis(), and delta().

◆ getAngleAxis()

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

Definition at line 78 of file RotationZ.icc.

References getAxis(), and its_d.

◆ getAxis()

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

Definition at line 69 of file RotationZ.icc.

References axis().

Referenced by getAngleAxis().

◆ getDelta()

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

Definition at line 68 of file RotationZ.icc.

References its_d.

◆ getPhi()

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

Definition at line 65 of file RotationZ.icc.

References phi().

◆ getPsi()

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

Definition at line 67 of file RotationZ.icc.

References psi().

◆ getTheta()

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

Definition at line 66 of file RotationZ.icc.

References theta().

◆ getTolerance()

double CLHEP::HepRotationZ::getTolerance ( )
inlinestatic

Definition at line 201 of file RotationZ.icc.

References CLHEP::Hep4RotationInterface::tolerance.

◆ howNear() [1/4]

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

◆ howNear() [2/4]

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

◆ howNear() [3/4]

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

◆ howNear() [4/4]

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

References HepRotationZ().

◆ inverse()

HepRotationZ CLHEP::HepRotationZ::inverse ( ) const
inline

Definition at line 158 of file RotationZ.icc.

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

Referenced by inverseOf, and invert().

◆ invert()

HepRotationZ & CLHEP::HepRotationZ::invert ( )
inline

Definition at line 166 of file RotationZ.icc.

References HepRotationZ(), and inverse().

◆ isIdentity()

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

Definition at line 84 of file RotationZ.icc.

References its_d.

◆ isNear() [1/4]

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

◆ isNear() [2/4]

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

◆ isNear() [3/4]

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

◆ isNear() [4/4]

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

◆ norm2()

double CLHEP::HepRotationZ::norm2 ( ) const

References HepRotationZ().

◆ operator!=()

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

Definition at line 94 of file RotationZ.icc.

References HepRotationZ(), and its_d.

◆ operator()() [1/2]

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

Definition at line 111 of file RotationZ.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::HepRotationZ::operator() ( const HepLorentzVector & w) const
inline

Definition at line 124 of file RotationZ.icc.

◆ operator*() [1/3]

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

Definition at line 120 of file RotationZ.icc.

References operator()().

◆ operator*() [2/3]

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

Definition at line 129 of file RotationZ.icc.

References operator()().

◆ operator*() [3/3]

HepRotationZ CLHEP::HepRotationZ::operator* ( const HepRotationZ & rz) const
inline

Definition at line 152 of file RotationZ.icc.

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

◆ operator*=()

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

Definition at line 134 of file RotationZ.icc.

References HepRotationZ().

◆ operator<()

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

Definition at line 102 of file RotationZ.icc.

References HepRotationZ(), and its_d.

◆ operator<=()

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

Definition at line 98 of file RotationZ.icc.

References HepRotationZ(), and its_d.

◆ operator=() [1/2]

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

Definition at line 42 of file RotationZ.icc.

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

◆ operator=() [2/2]

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

References HepRotationZ().

◆ operator==()

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

Definition at line 92 of file RotationZ.icc.

References HepRotationZ(), and its_d.

◆ operator>()

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

Definition at line 100 of file RotationZ.icc.

References HepRotationZ(), and its_d.

◆ operator>=()

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

Definition at line 96 of file RotationZ.icc.

References HepRotationZ(), and its_d.

◆ phi()

double CLHEP::HepRotationZ::phi ( ) const

Referenced by getPhi().

◆ phiX()

double CLHEP::HepRotationZ::phiX ( ) const

◆ phiY()

double CLHEP::HepRotationZ::phiY ( ) const

◆ phiZ()

double CLHEP::HepRotationZ::phiZ ( ) const

◆ print()

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

◆ proper()

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

Definition at line 142 of file RotationZ.icc.

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

◆ psi()

double CLHEP::HepRotationZ::psi ( ) const

Referenced by getPsi().

◆ rectify()

void CLHEP::HepRotationZ::rectify ( )
inline

Definition at line 105 of file RotationZ.icc.

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

◆ rep3x3()

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

Definition at line 26 of file RotationZ.icc.

References its_c, and its_s.

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

◆ rep4x4()

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

Definition at line 194 of file RotationZ.icc.

References its_c, and its_s.

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

◆ row1()

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

Definition at line 178 of file RotationZ.icc.

References rowX().

◆ row2()

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

Definition at line 180 of file RotationZ.icc.

References rowY().

◆ row3()

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

Definition at line 182 of file RotationZ.icc.

References rowZ().

◆ row4()

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

Definition at line 184 of file RotationZ.icc.

◆ rowX()

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

Definition at line 58 of file RotationZ.icc.

References its_c, and its_s.

Referenced by row1().

◆ rowY()

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

Definition at line 60 of file RotationZ.icc.

References its_c, and its_s.

Referenced by row2().

◆ rowZ()

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

Definition at line 62 of file RotationZ.icc.

Referenced by row3().

◆ set()

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

References delta(), and HepRotationZ().

◆ setDelta()

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

References delta().

◆ setTolerance()

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

Definition at line 204 of file RotationZ.icc.

References CLHEP::Hep4RotationInterface::setTolerance().

◆ theta()

double CLHEP::HepRotationZ::theta ( ) const

Referenced by getTheta().

◆ thetaX()

double CLHEP::HepRotationZ::thetaX ( ) const

◆ thetaY()

double CLHEP::HepRotationZ::thetaY ( ) const

◆ thetaZ()

double CLHEP::HepRotationZ::thetaZ ( ) const

◆ transform()

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

Definition at line 138 of file RotationZ.icc.

References HepRotationZ().

◆ tt()

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

Definition at line 192 of file RotationZ.icc.

◆ tx()

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

Definition at line 189 of file RotationZ.icc.

◆ ty()

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

Definition at line 190 of file RotationZ.icc.

◆ tz()

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

Definition at line 191 of file RotationZ.icc.

◆ xt()

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

Definition at line 186 of file RotationZ.icc.

◆ xx()

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

Definition at line 15 of file RotationZ.icc.

References its_c.

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

◆ xy()

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

Definition at line 16 of file RotationZ.icc.

References its_s.

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

◆ xz()

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

Definition at line 24 of file RotationZ.icc.

◆ yt()

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

Definition at line 187 of file RotationZ.icc.

◆ yx()

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

Definition at line 17 of file RotationZ.icc.

References its_s.

Referenced by CLHEP::HepRotation::operator*.

◆ yy()

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

Definition at line 18 of file RotationZ.icc.

References its_c.

◆ yz()

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

Definition at line 23 of file RotationZ.icc.

◆ zt()

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

Definition at line 188 of file RotationZ.icc.

◆ zx()

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

Definition at line 22 of file RotationZ.icc.

◆ zy()

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

Definition at line 21 of file RotationZ.icc.

◆ zz()

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

Definition at line 20 of file RotationZ.icc.

Friends And Related Symbol Documentation

◆ inverseOf

HepRotationZ inverseOf ( const HepRotationZ & r)
friend

Definition at line 162 of file RotationZ.icc.

References HepRotationZ(), and inverse().

Member Data Documentation

◆ its_c

double CLHEP::HepRotationZ::its_c
protected

◆ its_d

◆ its_s

double CLHEP::HepRotationZ::its_s
protected

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