HYDRA_development_version
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
HGeomRotation Class Reference

#include <hgeomrotation.h>

Inheritance diagram for HGeomRotation:
Collaboration diagram for HGeomRotation:

Public Member Functions

 HGeomRotation ()
 
 HGeomRotation (const Double_t *)
 
 HGeomRotation (const Double_t, const Double_t, const Double_t)
 
 ~HGeomRotation ()
 
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
 
HGeomRotationoperator= (const HGeomRotation &)
 
Bool_t operator== (const HGeomRotation &)
 
Bool_t operator!= (const HGeomRotation &)
 
HGeomVector operator* (const HGeomVector &) const
 
HGeomRotation operator* (const HGeomRotation &) const
 
HGeomRotationoperator*= (const HGeomRotation &)
 
HGeomRotationtransform (const HGeomRotation &)
 
Bool_t isUnitMatrix ()
 
HGeomRotation inverse () const
 
HGeomRotationinvert ()
 
Double_t determinant () const
 
Double_t diff2 (const HGeomRotation &) 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

Definition at line 10 of file hgeomrotation.h.

Constructor & Destructor Documentation

HGeomRotation::HGeomRotation ( )
inline

Definition at line 46 of file hgeomrotation.h.

HGeomRotation::HGeomRotation ( const Double_t *  a)
inline

Definition at line 57 of file hgeomrotation.h.

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

Definition at line 17 of file hgeomrotation.h.

Member Function Documentation

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

Definition at line 115 of file hgeomrotation.cc.

References isUnitMatrix(), and rot.

Double_t HGeomRotation::determinant ( ) const
inline

Definition at line 144 of file hgeomrotation.h.

Double_t HGeomRotation::diff2 ( const HGeomRotation r) const

Definition at line 104 of file hgeomrotation.cc.

References rot.

Referenced by HGeomTransform::transTo().

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

Definition at line 73 of file hgeomrotation.h.

HGeomRotation HGeomRotation::inverse ( ) const
inline
HGeomRotation & HGeomRotation::invert ( )
inline

Definition at line 140 of file hgeomrotation.h.

Bool_t HGeomRotation::isUnitMatrix ( )
inline

Definition at line 126 of file hgeomrotation.h.

Referenced by HGeomRootBuilder::createRotation(), and createTRotMatrix().

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

Definition at line 91 of file hgeomrotation.h.

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

Definition at line 51 of file hgeomrotation.h.

HGeomVector HGeomRotation::operator* ( const HGeomVector v) const
inline

Definition at line 100 of file hgeomrotation.h.

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

Definition at line 106 of file hgeomrotation.h.

References n.

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

Definition at line 118 of file hgeomrotation.h.

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

Definition at line 77 of file hgeomrotation.h.

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

Definition at line 82 of file hgeomrotation.h.

void HGeomRotation::print ( void  ) const
inline

Definition at line 159 of file hgeomrotation.h.

Referenced by HGeomNode::print().

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

Definition at line 69 of file hgeomrotation.h.

Referenced by HMdcSizesCellsLayer::setSecTrans().

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

Definition at line 82 of file hgeomrotation.cc.

References c1(), and rot.

void HGeomRotation::setMatrix ( const Double_t *  a)
inline
void HGeomRotation::setMatrix ( const Float_t *  a)
inline

Definition at line 65 of file hgeomrotation.h.

void HGeomRotation::setUnitMatrix ( )
inline

Definition at line 150 of file hgeomrotation.h.

Referenced by HMdcSizesCellsLayer::setSecTrans(), and HGeomTransform::transTo().

void HGeomRotation::setZero ( )
inline

Definition at line 155 of file hgeomrotation.h.

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

Definition at line 122 of file hgeomrotation.h.

Referenced by HGeomTransform::transFrom().

Member Data Documentation

Double_t HGeomRotation::rot[9]
protected

Definition at line 12 of file hgeomrotation.h.

Referenced by createTRotMatrix(), diff2(), and setEulerAngles().


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