#include <TGeoMatrix.h>
Inheritance diagram for TGeoRotation:
Public Member Functions | |
TGeoRotation () | |
TGeoRotation (const TGeoRotation &other) | |
TGeoRotation (const TGeoMatrix &other) | |
TGeoRotation (const char *name) | |
TGeoRotation (const char *name, Double_t phi, Double_t theta, Double_t psi) | |
TGeoRotation (const char *name, Double_t theta1, Double_t phi1, Double_t theta2, Double_t phi2, Double_t theta3, Double_t phi3) | |
virtual | ~TGeoRotation () |
TGeoRotation & | operator= (const TGeoMatrix &matrix) |
TGeoRotation & | operator= (const TGeoRotation &other) |
Bool_t | IsValid () const |
virtual TGeoMatrix & | Inverse () const |
void | Clear (Option_t *option="") |
Double_t | Determinant () const |
void | FastRotZ (Double_t *sincos) |
void | GetAngles (Double_t &theta1, Double_t &phi1, Double_t &theta2, Double_t &phi2, Double_t &theta3, Double_t &phi3) const |
void | GetAngles (Double_t &phi, Double_t &theta, Double_t &psi) const |
Double_t | GetPhiRotation (Bool_t fixX=kFALSE) const |
virtual void | LocalToMaster (const Double_t *local, Double_t *master) const |
virtual void | LocalToMasterVect (const Double_t *local, Double_t *master) const |
virtual void | LocalToMasterBomb (const Double_t *local, Double_t *master) const |
virtual TGeoMatrix * | MakeClone () const |
virtual void | MasterToLocal (const Double_t *master, Double_t *local) const |
virtual void | MasterToLocalVect (const Double_t *master, Double_t *local) const |
virtual void | MasterToLocalBomb (const Double_t *master, Double_t *local) const |
void | MultiplyBy (TGeoRotation *rot, Bool_t after=kTRUE) |
virtual void | RotateX (Double_t angle) |
virtual void | RotateY (Double_t angle) |
virtual void | RotateZ (Double_t angle) |
virtual void | SavePrimitive (ostream &out, Option_t *option="") |
virtual void | ReflectX (Bool_t leftside, Bool_t rotonly=kFALSE) |
virtual void | ReflectY (Bool_t leftside, Bool_t rotonly=kFALSE) |
virtual void | ReflectZ (Bool_t leftside, Bool_t rotonly=kFALSE) |
void | SetAngles (Double_t phi, Double_t theta, Double_t psi) |
void | SetAngles (Double_t theta1, Double_t phi1, Double_t theta2, Double_t phi2, Double_t theta3, Double_t phi3) |
void | SetMatrix (const Double_t *rot) |
void | SetRotation (const TGeoMatrix &other) |
void | GetInverse (Double_t *invmat) const |
virtual const Double_t * | GetTranslation () const |
virtual const Double_t * | GetRotationMatrix () const |
virtual const Double_t * | GetScale () const |
TGeoRotation () | |
TGeoRotation (const TGeoRotation &other) | |
TGeoRotation (const TGeoMatrix &other) | |
TGeoRotation (const char *name) | |
TGeoRotation (const char *name, Double_t phi, Double_t theta, Double_t psi) | |
TGeoRotation (const char *name, Double_t theta1, Double_t phi1, Double_t theta2, Double_t phi2, Double_t theta3, Double_t phi3) | |
virtual | ~TGeoRotation () |
TGeoRotation & | operator= (const TGeoMatrix &matrix) |
TGeoRotation & | operator= (const TGeoRotation &other) |
Bool_t | IsValid () const |
virtual TGeoMatrix & | Inverse () const |
void | Clear (Option_t *option="") |
Double_t | Determinant () const |
void | FastRotZ (Double_t *sincos) |
void | GetAngles (Double_t &theta1, Double_t &phi1, Double_t &theta2, Double_t &phi2, Double_t &theta3, Double_t &phi3) const |
void | GetAngles (Double_t &phi, Double_t &theta, Double_t &psi) const |
Double_t | GetPhiRotation (Bool_t fixX=kFALSE) const |
virtual void | LocalToMaster (const Double_t *local, Double_t *master) const |
virtual void | LocalToMasterVect (const Double_t *local, Double_t *master) const |
virtual void | LocalToMasterBomb (const Double_t *local, Double_t *master) const |
virtual TGeoMatrix * | MakeClone () const |
virtual void | MasterToLocal (const Double_t *master, Double_t *local) const |
virtual void | MasterToLocalVect (const Double_t *master, Double_t *local) const |
virtual void | MasterToLocalBomb (const Double_t *master, Double_t *local) const |
void | MultiplyBy (TGeoRotation *rot, Bool_t after=kTRUE) |
virtual void | RotateX (Double_t angle) |
virtual void | RotateY (Double_t angle) |
virtual void | RotateZ (Double_t angle) |
virtual void | SavePrimitive (ostream &out, Option_t *option="") |
virtual void | ReflectX (Bool_t leftside, Bool_t rotonly=kFALSE) |
virtual void | ReflectY (Bool_t leftside, Bool_t rotonly=kFALSE) |
virtual void | ReflectZ (Bool_t leftside, Bool_t rotonly=kFALSE) |
void | SetAngles (Double_t phi, Double_t theta, Double_t psi) |
void | SetAngles (Double_t theta1, Double_t phi1, Double_t theta2, Double_t phi2, Double_t theta3, Double_t phi3) |
void | SetMatrix (const Double_t *rot) |
void | SetRotation (const TGeoMatrix &other) |
void | GetInverse (Double_t *invmat) const |
virtual const Double_t * | GetTranslation () const |
virtual const Double_t * | GetRotationMatrix () const |
virtual const Double_t * | GetScale () const |
Protected Member Functions | |
void | CheckMatrix () |
void | CheckMatrix () |
Protected Attributes | |
Double_t | fRotationMatrix [3 *3] |
Definition at line 179 of file TGeoMatrix.h.
TGeoRotation::TGeoRotation | ( | ) |
Referenced by MakeClone().
TGeoRotation::TGeoRotation | ( | const TGeoRotation & | other | ) |
TGeoRotation::TGeoRotation | ( | const TGeoMatrix & | other | ) |
TGeoRotation::TGeoRotation | ( | const char * | name | ) |
virtual TGeoRotation::~TGeoRotation | ( | ) | [inline, virtual] |
Definition at line 194 of file TGeoMatrix.h.
TGeoRotation::TGeoRotation | ( | ) |
TGeoRotation::TGeoRotation | ( | const TGeoRotation & | other | ) |
TGeoRotation::TGeoRotation | ( | const TGeoMatrix & | other | ) |
TGeoRotation::TGeoRotation | ( | const char * | name | ) |
TGeoRotation::TGeoRotation | ( | const char * | name, | |
Double_t | theta1, | |||
Double_t | phi1, | |||
Double_t | theta2, | |||
Double_t | phi2, | |||
Double_t | theta3, | |||
Double_t | phi3 | |||
) |
virtual TGeoRotation::~TGeoRotation | ( | ) | [inline, virtual] |
Definition at line 194 of file TGeoMatrix.h.
void TGeoRotation::CheckMatrix | ( | ) | [protected] |
Definition at line 1177 of file TGeoMatrix.cxx.
References TMath::Abs(), Determinant(), E, fRotationMatrix, TGeoMatrix::kGeoReflection, TGeoMatrix::kGeoRotation, TObject::ResetBit(), and TObject::SetBit().
Referenced by SetAngles(), and SetMatrix().
TGeoRotation & TGeoRotation::operator= | ( | const TGeoMatrix & | matrix | ) |
Reimplemented from TGeoMatrix.
Definition at line 816 of file TGeoMatrix.cxx.
References TGeoMatrix::operator=(), and SetRotation().
Referenced by operator=().
TGeoRotation& TGeoRotation::operator= | ( | const TGeoRotation & | other | ) | [inline] |
Bool_t TGeoRotation::IsValid | ( | ) | const |
Definition at line 846 of file TGeoMatrix.cxx.
References TMath::Abs(), E, fRotationMatrix, i, j, kFALSE, and kTRUE.
Referenced by SetAngles().
TGeoMatrix & TGeoRotation::Inverse | ( | ) | const [virtual] |
Implements TGeoMatrix.
Definition at line 826 of file TGeoMatrix.cxx.
References fRotationMatrix, and h.
Referenced by TGDMLParse::BooSolid().
void TGeoRotation::Clear | ( | Option_t * | option = "" |
) | [virtual] |
Reimplemented from TNamed.
Definition at line 865 of file TGeoMatrix.cxx.
References fRotationMatrix, TGeoMatrix::kGeoRotation, kIdentityMatrix, kN9, and TObject::ResetBit().
Referenced by TGeoGenTrans::Clear().
Double_t TGeoRotation::Determinant | ( | ) | const |
Definition at line 1163 of file TGeoMatrix.cxx.
References fRotationMatrix.
Referenced by CheckMatrix().
void TGeoRotation::FastRotZ | ( | Double_t * | sincos | ) |
Definition at line 873 of file TGeoMatrix.cxx.
References fRotationMatrix, TGeoMatrix::kGeoRotation, and TObject::SetBit().
void TGeoRotation::GetAngles | ( | Double_t & | theta1, | |
Double_t & | phi1, | |||
Double_t & | theta2, | |||
Double_t & | phi2, | |||
Double_t & | theta3, | |||
Double_t & | phi3 | |||
) | const |
Definition at line 1122 of file TGeoMatrix.cxx.
References TMath::Abs(), TMath::ACos(), TMath::ATan2(), E, fRotationMatrix, and TMath::Pi().
Referenced by TGeoCombiTransEditor::DoParameters(), TGeoRotationEditor::DoParameters(), SavePrimitive(), TGeoRotationEditor::SetModel(), and TGeoCombiTransEditor::SetModel().
Definition at line 1142 of file TGeoMatrix.cxx.
References TMath::Abs(), TMath::ACos(), TMath::ASin(), TMath::ATan2(), TMath::Cos(), fRotationMatrix, m, TMath::RadToDeg(), and TMath::Sin().
Definition at line 884 of file TGeoMatrix.cxx.
References TMath::ATan2(), fRotationMatrix, phi, and TMath::Pi().
Reimplemented from TGeoMatrix.
Definition at line 897 of file TGeoMatrix.cxx.
References GetRotationMatrix(), and i.
Referenced by LocalToMasterBomb(), and LocalToMasterVect().
virtual void TGeoRotation::LocalToMasterVect | ( | const Double_t * | local, | |
Double_t * | master | |||
) | const [inline, virtual] |
Reimplemented from TGeoMatrix.
Definition at line 209 of file TGeoMatrix.h.
References LocalToMaster().
virtual void TGeoRotation::LocalToMasterBomb | ( | const Double_t * | local, | |
Double_t * | master | |||
) | const [inline, virtual] |
Reimplemented from TGeoMatrix.
Definition at line 210 of file TGeoMatrix.h.
References LocalToMaster().
TGeoMatrix * TGeoRotation::MakeClone | ( | ) | const [virtual] |
Reimplemented from TGeoMatrix.
Definition at line 909 of file TGeoMatrix.cxx.
References GetRotationMatrix(), and i.
Referenced by MasterToLocalBomb(), and MasterToLocalVect().
virtual void TGeoRotation::MasterToLocalVect | ( | const Double_t * | master, | |
Double_t * | local | |||
) | const [inline, virtual] |
Reimplemented from TGeoMatrix.
Definition at line 213 of file TGeoMatrix.h.
References MasterToLocal().
virtual void TGeoRotation::MasterToLocalBomb | ( | const Double_t * | master, | |
Double_t * | local | |||
) | const [inline, virtual] |
Reimplemented from TGeoMatrix.
Definition at line 214 of file TGeoMatrix.h.
References MasterToLocal().
void TGeoRotation::MultiplyBy | ( | TGeoRotation * | rot, | |
Bool_t | after = kTRUE | |||
) |
Definition at line 1203 of file TGeoMatrix.cxx.
References fRotationMatrix, GetRotationMatrix(), i, j, k, TGeoMatrix::kGeoRotation, kN9, and TObject::SetBit().
void TGeoRotation::RotateX | ( | Double_t | angle | ) | [virtual] |
Reimplemented from TGeoMatrix.
Definition at line 929 of file TGeoMatrix.cxx.
References c, TMath::Cos(), TMath::DegToRad(), fRotationMatrix, TGeoMatrix::kGeoRotation, kN9, phi, s, TObject::SetBit(), and TMath::Sin().
Referenced by assembly(), TGDMLParse::BooSolid(), and TGeoRotationEditor::DoParameters().
void TGeoRotation::RotateY | ( | Double_t | angle | ) | [virtual] |
Reimplemented from TGeoMatrix.
Definition at line 951 of file TGeoMatrix.cxx.
References c, TMath::Cos(), TMath::DegToRad(), fRotationMatrix, TGeoMatrix::kGeoRotation, kN9, phi, s, TObject::SetBit(), and TMath::Sin().
Referenced by TGDMLParse::BooSolid(), and TGeoRotationEditor::DoParameters().
void TGeoRotation::RotateZ | ( | Double_t | angle | ) | [virtual] |
Reimplemented from TGeoMatrix.
Definition at line 973 of file TGeoMatrix.cxx.
References c, TMath::Cos(), TMath::DegToRad(), fRotationMatrix, TGeoMatrix::kGeoRotation, kN9, phi, s, TObject::SetBit(), and TMath::Sin().
Referenced by assembly(), TGDMLParse::BooSolid(), and TGeoRotationEditor::DoParameters().
void TGeoRotation::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TObject.
Definition at line 1046 of file TGeoMatrix.cxx.
References GetAngles(), TNamed::GetName(), TGeoMatrix::GetPointerName(), TGeoMatrix::kGeoSavePrimitive, TObject::SetBit(), and TObject::TestBit().
Referenced by TGeoCombiTrans::SavePrimitive().
Reimplemented from TGeoMatrix.
Definition at line 995 of file TGeoMatrix.cxx.
References fRotationMatrix, TGeoMatrix::IsReflection(), TGeoMatrix::kGeoReflection, TGeoMatrix::kGeoRotation, and TObject::SetBit().
Referenced by TGeoCombiTrans::ReflectX().
Reimplemented from TGeoMatrix.
Definition at line 1012 of file TGeoMatrix.cxx.
References fRotationMatrix, TGeoMatrix::IsReflection(), TGeoMatrix::kGeoReflection, TGeoMatrix::kGeoRotation, and TObject::SetBit().
Referenced by TGeoCombiTrans::ReflectY().
Reimplemented from TGeoMatrix.
Definition at line 1029 of file TGeoMatrix.cxx.
References fRotationMatrix, TGeoMatrix::IsReflection(), TGeoMatrix::kGeoReflection, TGeoMatrix::kGeoRotation, and TObject::SetBit().
Referenced by TGeoPatternCylPhi::MakeCopy(), and TGeoCombiTrans::ReflectZ().
Definition at line 1070 of file TGeoMatrix.cxx.
References CheckMatrix(), TMath::Cos(), TObject::Error(), fRotationMatrix, IsValid(), TMath::Pi(), and TMath::Sin().
Referenced by TGeoCombiTransEditor::DoParameters(), TGeoRotationEditor::DoParameters(), and TGeoRotation().
void TGeoRotation::SetAngles | ( | Double_t | theta1, | |
Double_t | phi1, | |||
Double_t | theta2, | |||
Double_t | phi2, | |||
Double_t | theta3, | |||
Double_t | phi3 | |||
) |
Definition at line 1096 of file TGeoMatrix.cxx.
References TMath::Abs(), CheckMatrix(), TMath::Cos(), E, TObject::Error(), fRotationMatrix, i, IsValid(), TMath::Pi(), and TMath::Sin().
void TGeoRotation::SetMatrix | ( | const Double_t * | rot | ) | [inline] |
Definition at line 226 of file TGeoMatrix.h.
References CheckMatrix(), and fRotationMatrix.
Referenced by TGeoCombiTrans::operator=(), TGeoCombiTrans::RotateX(), TGeoCombiTrans::RotateY(), TGeoCombiTrans::RotateZ(), SetRotation(), and TGDMLParse::VolProcess().
void TGeoRotation::SetRotation | ( | const TGeoMatrix & | other | ) |
Definition at line 1061 of file TGeoMatrix.cxx.
References TGeoMatrix::GetRotationMatrix(), TGeoMatrix::IsRotation(), TGeoMatrix::kGeoRotation, TObject::SetBit(), and SetMatrix().
Referenced by operator=(), and TGeoRotation().
void TGeoRotation::GetInverse | ( | Double_t * | invmat | ) | const |
Definition at line 1188 of file TGeoMatrix.cxx.
References TObject::Error(), fRotationMatrix, i, and j.
virtual const Double_t* TGeoRotation::GetTranslation | ( | ) | const [inline, virtual] |
virtual const Double_t* TGeoRotation::GetRotationMatrix | ( | ) | const [inline, virtual] |
Implements TGeoMatrix.
Definition at line 231 of file TGeoMatrix.h.
References fRotationMatrix.
Referenced by TGeoCombiTrans::GetRotationMatrix(), LocalToMaster(), MasterToLocal(), MultiplyBy(), TGeoCombiTrans::RotateX(), TGeoCombiTrans::RotateY(), TGeoCombiTrans::RotateZ(), and TGDMLParse::VolProcess().
virtual const Double_t* TGeoRotation::GetScale | ( | ) | const [inline, virtual] |
void TGeoRotation::CheckMatrix | ( | ) | [protected] |
TGeoRotation& TGeoRotation::operator= | ( | const TGeoMatrix & | matrix | ) |
Reimplemented from TGeoMatrix.
TGeoRotation& TGeoRotation::operator= | ( | const TGeoRotation & | other | ) | [inline] |
Bool_t TGeoRotation::IsValid | ( | ) | const |
virtual TGeoMatrix& TGeoRotation::Inverse | ( | ) | const [virtual] |
Implements TGeoMatrix.
Double_t TGeoRotation::Determinant | ( | ) | const |
void TGeoRotation::FastRotZ | ( | Double_t * | sincos | ) |
void TGeoRotation::GetAngles | ( | Double_t & | theta1, | |
Double_t & | phi1, | |||
Double_t & | theta2, | |||
Double_t & | phi2, | |||
Double_t & | theta3, | |||
Double_t & | phi3 | |||
) | const |
virtual void TGeoRotation::LocalToMaster | ( | const Double_t * | local, | |
Double_t * | master | |||
) | const [virtual] |
Reimplemented from TGeoMatrix.
virtual void TGeoRotation::LocalToMasterVect | ( | const Double_t * | local, | |
Double_t * | master | |||
) | const [inline, virtual] |
Reimplemented from TGeoMatrix.
Definition at line 209 of file TGeoMatrix.h.
References LocalToMaster().
virtual void TGeoRotation::LocalToMasterBomb | ( | const Double_t * | local, | |
Double_t * | master | |||
) | const [inline, virtual] |
Reimplemented from TGeoMatrix.
Definition at line 210 of file TGeoMatrix.h.
References LocalToMaster().
virtual TGeoMatrix* TGeoRotation::MakeClone | ( | ) | const [virtual] |
Implements TGeoMatrix.
virtual void TGeoRotation::MasterToLocal | ( | const Double_t * | master, | |
Double_t * | local | |||
) | const [virtual] |
Reimplemented from TGeoMatrix.
virtual void TGeoRotation::MasterToLocalVect | ( | const Double_t * | master, | |
Double_t * | local | |||
) | const [inline, virtual] |
Reimplemented from TGeoMatrix.
Definition at line 213 of file TGeoMatrix.h.
References MasterToLocal().
virtual void TGeoRotation::MasterToLocalBomb | ( | const Double_t * | master, | |
Double_t * | local | |||
) | const [inline, virtual] |
Reimplemented from TGeoMatrix.
Definition at line 214 of file TGeoMatrix.h.
References MasterToLocal().
void TGeoRotation::MultiplyBy | ( | TGeoRotation * | rot, | |
Bool_t | after = kTRUE | |||
) |
virtual void TGeoRotation::RotateX | ( | Double_t | angle | ) | [virtual] |
Reimplemented from TGeoMatrix.
virtual void TGeoRotation::RotateY | ( | Double_t | angle | ) | [virtual] |
Reimplemented from TGeoMatrix.
virtual void TGeoRotation::RotateZ | ( | Double_t | angle | ) | [virtual] |
Reimplemented from TGeoMatrix.
virtual void TGeoRotation::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TObject.
Reimplemented from TGeoMatrix.
Reimplemented from TGeoMatrix.
Reimplemented from TGeoMatrix.
void TGeoRotation::SetAngles | ( | Double_t | theta1, | |
Double_t | phi1, | |||
Double_t | theta2, | |||
Double_t | phi2, | |||
Double_t | theta3, | |||
Double_t | phi3 | |||
) |
void TGeoRotation::SetMatrix | ( | const Double_t * | rot | ) | [inline] |
void TGeoRotation::SetRotation | ( | const TGeoMatrix & | other | ) |
void TGeoRotation::GetInverse | ( | Double_t * | invmat | ) | const |
virtual const Double_t* TGeoRotation::GetTranslation | ( | ) | const [inline, virtual] |
virtual const Double_t* TGeoRotation::GetRotationMatrix | ( | ) | const [inline, virtual] |
virtual const Double_t* TGeoRotation::GetScale | ( | ) | const [inline, virtual] |
Double_t TGeoRotation::fRotationMatrix [protected] |
Definition at line 182 of file TGeoMatrix.h.
Referenced by CheckMatrix(), Clear(), Determinant(), FastRotZ(), GetAngles(), GetInverse(), GetPhiRotation(), GetRotationMatrix(), Inverse(), IsValid(), MultiplyBy(), ReflectX(), ReflectY(), ReflectZ(), RotateX(), RotateY(), RotateZ(), SetAngles(), SetMatrix(), and TGeoRotation().