EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FairGeoRotation Class Reference

#include <EicRoot/blob/master/geobase/FairGeoRotation.h>

+ Inheritance diagram for FairGeoRotation:
+ Collaboration diagram for FairGeoRotation:

Public Member Functions

 FairGeoRotation ()
 
 FairGeoRotation (const FairGeoRotation &)
 
 FairGeoRotation (const Double_t *)
 
 FairGeoRotation (const Double_t, const Double_t, const Double_t)
 
 ~FairGeoRotation ()
 
void setMatrix (const Double_t *)
 
void setMatrix (const Float_t *)
 
void setEulerAngles (const Double_t, const Double_t, const Double_t)
 
void setElement (const Double_t, const Int_t)
 
Double_t operator() (Int_t) const
 
FairGeoRotationoperator= (const FairGeoRotation &)
 
Bool_t operator== (const FairGeoRotation &)
 
Bool_t operator!= (const FairGeoRotation &)
 
FairGeoVector operator* (const FairGeoVector &) const
 
FairGeoRotation operator* (const FairGeoRotation &) const
 
FairGeoRotationoperator*= (const FairGeoRotation &)
 
FairGeoRotationtransform (const FairGeoRotation &)
 
Bool_t isUnitMatrix ()
 
FairGeoRotation inverse () const
 
FairGeoRotationinvert ()
 
Double_t determinant () const
 
Double_t diff2 (const FairGeoRotation &) const
 
Double_t getElement (Int_t i, Int_t j) const
 
void setUnitMatrix ()
 
void setZero ()
 
void print () const
 
TRotMatrix * createTRotMatrix (const Text_t *name="", const Text_t *title="")
 

Protected Attributes

Double_t rot [9]
 

Detailed Description

rotation matrix

Author
Ilse koenig

Definition at line 17 of file FairGeoRotation.h.

View newest version in sPHENIX GitHub at line 17 of file FairGeoRotation.h

Constructor & Destructor Documentation

FairGeoRotation::FairGeoRotation ( )
inline

Definition at line 55 of file FairGeoRotation.h.

View newest version in sPHENIX GitHub at line 55 of file FairGeoRotation.h

References rot.

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

+ Here is the caller graph for this function:

FairGeoRotation::FairGeoRotation ( const FairGeoRotation r)
inline

Definition at line 69 of file FairGeoRotation.h.

View newest version in sPHENIX GitHub at line 69 of file FairGeoRotation.h

References rot.

FairGeoRotation::FairGeoRotation ( const Double_t *  a)
inline

Definition at line 75 of file FairGeoRotation.h.

View newest version in sPHENIX GitHub at line 75 of file FairGeoRotation.h

References rot.

FairGeoRotation::FairGeoRotation ( const Double_t  ,
const Double_t  ,
const Double_t   
)
FairGeoRotation::~FairGeoRotation ( )
inline

Definition at line 26 of file FairGeoRotation.h.

View newest version in sPHENIX GitHub at line 26 of file FairGeoRotation.h

Member Function Documentation

TRotMatrix * FairGeoRotation::createTRotMatrix ( const Text_t *  name = "",
const Text_t *  title = "" 
)

Definition at line 118 of file FairGeoRotation.cxx.

View newest version in sPHENIX GitHub at line 118 of file FairGeoRotation.cxx

References isUnitMatrix(), rot, and t.

+ Here is the call graph for this function:

Double_t FairGeoRotation::determinant ( ) const
inline

Definition at line 178 of file FairGeoRotation.h.

View newest version in sPHENIX GitHub at line 178 of file FairGeoRotation.h

References rot.

Double_t FairGeoRotation::diff2 ( const FairGeoRotation r) const

Definition at line 106 of file FairGeoRotation.cxx.

View newest version in sPHENIX GitHub at line 106 of file FairGeoRotation.cxx

References d, rot, and Acts::UnitConstants::s.

Referenced by FairGeoTransform::transTo().

+ Here is the caller graph for this function:

Double_t FairGeoRotation::getElement ( Int_t  i,
Int_t  j 
) const
inline

Definition at line 96 of file FairGeoRotation.h.

View newest version in sPHENIX GitHub at line 96 of file FairGeoRotation.h

References rot.

FairGeoRotation FairGeoRotation::inverse ( ) const
inline

Definition at line 164 of file FairGeoRotation.h.

View newest version in sPHENIX GitHub at line 164 of file FairGeoRotation.h

References FairGeoRotation(), and rot.

Referenced by invert(), and FairGeoTransform::transTo().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

FairGeoRotation & FairGeoRotation::invert ( )
inline

Definition at line 173 of file FairGeoRotation.h.

View newest version in sPHENIX GitHub at line 173 of file FairGeoRotation.h

References inverse().

Referenced by FairGeoTransform::invert().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool_t FairGeoRotation::isUnitMatrix ( )
inline

Definition at line 157 of file FairGeoRotation.h.

View newest version in sPHENIX GitHub at line 157 of file FairGeoRotation.h

References rot.

Referenced by createTRotMatrix().

+ Here is the caller graph for this function:

Bool_t FairGeoRotation::operator!= ( const FairGeoRotation r)
inline

Definition at line 117 of file FairGeoRotation.h.

View newest version in sPHENIX GitHub at line 117 of file FairGeoRotation.h

References rot.

Double_t FairGeoRotation::operator() ( Int_t  i) const
inline

Definition at line 62 of file FairGeoRotation.h.

View newest version in sPHENIX GitHub at line 62 of file FairGeoRotation.h

References rot.

FairGeoVector FairGeoRotation::operator* ( const FairGeoVector v) const
inline

Definition at line 127 of file FairGeoRotation.h.

View newest version in sPHENIX GitHub at line 127 of file FairGeoRotation.h

References rot, and v.

Referenced by operator*=().

+ Here is the caller graph for this function:

FairGeoRotation FairGeoRotation::operator* ( const FairGeoRotation r) const
inline

Definition at line 134 of file FairGeoRotation.h.

View newest version in sPHENIX GitHub at line 134 of file FairGeoRotation.h

References FairGeoRotation(), k, n, and rot.

+ Here is the call graph for this function:

FairGeoRotation & FairGeoRotation::operator*= ( const FairGeoRotation r)
inline

Definition at line 147 of file FairGeoRotation.h.

View newest version in sPHENIX GitHub at line 147 of file FairGeoRotation.h

References operator*().

+ Here is the call graph for this function:

FairGeoRotation & FairGeoRotation::operator= ( const FairGeoRotation r)
inline

Definition at line 101 of file FairGeoRotation.h.

View newest version in sPHENIX GitHub at line 101 of file FairGeoRotation.h

References rot.

Bool_t FairGeoRotation::operator== ( const FairGeoRotation r)
inline

Definition at line 107 of file FairGeoRotation.h.

View newest version in sPHENIX GitHub at line 107 of file FairGeoRotation.h

References rot.

void FairGeoRotation::print ( ) const
inline

Definition at line 196 of file FairGeoRotation.h.

View newest version in sPHENIX GitHub at line 196 of file FairGeoRotation.h

References rot.

Referenced by FairGeoTransform::print(), and FairGeoNode::print().

+ Here is the caller graph for this function:

void FairGeoRotation::setElement ( const Double_t  a,
const Int_t  i 
)
inline

Definition at line 91 of file FairGeoRotation.h.

View newest version in sPHENIX GitHub at line 91 of file FairGeoRotation.h

References rot.

void FairGeoRotation::setEulerAngles ( const Double_t  a,
const Double_t  b,
const Double_t  c 
)

Definition at line 83 of file FairGeoRotation.cxx.

View newest version in sPHENIX GitHub at line 83 of file FairGeoRotation.cxx

References c1, c2, deg2rad, rot, s1, and s2.

void FairGeoRotation::setMatrix ( const Double_t *  a)
inline

Definition at line 81 of file FairGeoRotation.h.

View newest version in sPHENIX GitHub at line 81 of file FairGeoRotation.h

References rot.

Referenced by FairGeoTransform::setRotMatrix().

+ Here is the caller graph for this function:

void FairGeoRotation::setMatrix ( const Float_t *  a)
inline

Definition at line 86 of file FairGeoRotation.h.

View newest version in sPHENIX GitHub at line 86 of file FairGeoRotation.h

References rot.

void FairGeoRotation::setUnitMatrix ( )
inline

Definition at line 185 of file FairGeoRotation.h.

View newest version in sPHENIX GitHub at line 185 of file FairGeoRotation.h

References rot.

Referenced by FairGeoTransform::clear(), and FairGeoTransform::transTo().

+ Here is the caller graph for this function:

void FairGeoRotation::setZero ( )
inline

Definition at line 191 of file FairGeoRotation.h.

View newest version in sPHENIX GitHub at line 191 of file FairGeoRotation.h

References rot.

FairGeoRotation & FairGeoRotation::transform ( const FairGeoRotation r)
inline

Definition at line 152 of file FairGeoRotation.h.

View newest version in sPHENIX GitHub at line 152 of file FairGeoRotation.h

Referenced by FairGeoTransform::transFrom(), and FairGeoTransform::transTo().

+ Here is the caller graph for this function:

Member Data Documentation

Double_t FairGeoRotation::rot[9]
protected

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