TGeoCombiTrans Class Reference

#include <TGeoMatrix.h>

Inheritance diagram for TGeoCombiTrans:

TGeoMatrix TGeoMatrix TNamed TNamed TNamed TNamed TObject TObject TObject TObject TObject TObject TObject TObject TGeoGenTrans TGeoGenTrans List of all members.

Public Member Functions

 TGeoCombiTrans ()
 TGeoCombiTrans (const TGeoCombiTrans &other)
 TGeoCombiTrans (const TGeoMatrix &other)
 TGeoCombiTrans (const TGeoTranslation &tr, const TGeoRotation &rot)
 TGeoCombiTrans (const char *name)
 TGeoCombiTrans (Double_t dx, Double_t dy, Double_t dz, TGeoRotation *rot)
 TGeoCombiTrans (const char *name, Double_t dx, Double_t dy, Double_t dz, TGeoRotation *rot)
TGeoCombiTransoperator= (const TGeoMatrix &matrix)
TGeoCombiTransoperator= (const TGeoCombiTrans &other)
virtual ~TGeoCombiTrans ()
void Clear (Option_t *option="")
virtual TGeoMatrixInverse () const
virtual TGeoMatrixMakeClone () const
virtual void RegisterYourself ()
virtual void RotateX (Double_t angle)
virtual void RotateY (Double_t angle)
virtual void RotateZ (Double_t angle)
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)
virtual void SavePrimitive (ostream &out, Option_t *option="")
virtual void SetDx (Double_t dx)
virtual void SetDy (Double_t dy)
virtual void SetDz (Double_t dz)
void SetTranslation (const TGeoTranslation &tr)
void SetTranslation (Double_t dx, Double_t dy, Double_t dz)
void SetTranslation (Double_t *vect)
void SetRotation (const TGeoRotation &other)
void SetRotation (const TGeoRotation *rot)
TGeoRotationGetRotation () const
virtual const Double_tGetTranslation () const
virtual const Double_tGetRotationMatrix () const
virtual const Double_tGetScale () const
 TGeoCombiTrans ()
 TGeoCombiTrans (const TGeoCombiTrans &other)
 TGeoCombiTrans (const TGeoMatrix &other)
 TGeoCombiTrans (const TGeoTranslation &tr, const TGeoRotation &rot)
 TGeoCombiTrans (const char *name)
 TGeoCombiTrans (Double_t dx, Double_t dy, Double_t dz, TGeoRotation *rot)
 TGeoCombiTrans (const char *name, Double_t dx, Double_t dy, Double_t dz, TGeoRotation *rot)
TGeoCombiTransoperator= (const TGeoMatrix &matrix)
TGeoCombiTransoperator= (const TGeoCombiTrans &other)
virtual ~TGeoCombiTrans ()
void Clear (Option_t *option="")
virtual TGeoMatrixInverse () const
virtual TGeoMatrixMakeClone () const
virtual void RegisterYourself ()
virtual void RotateX (Double_t angle)
virtual void RotateY (Double_t angle)
virtual void RotateZ (Double_t angle)
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)
virtual void SavePrimitive (ostream &out, Option_t *option="")
virtual void SetDx (Double_t dx)
virtual void SetDy (Double_t dy)
virtual void SetDz (Double_t dz)
void SetTranslation (const TGeoTranslation &tr)
void SetTranslation (Double_t dx, Double_t dy, Double_t dz)
void SetTranslation (Double_t *vect)
void SetRotation (const TGeoRotation &other)
void SetRotation (const TGeoRotation *rot)
TGeoRotationGetRotation () const
virtual const Double_tGetTranslation () const
virtual const Double_tGetRotationMatrix () const
virtual const Double_tGetScale () const

Protected Attributes

Double_t fTranslation [3]
TGeoRotationfRotation
TGeoRotationfRotation

Detailed Description

Definition at line 283 of file TGeoMatrix.h.


Constructor & Destructor Documentation

TGeoCombiTrans::TGeoCombiTrans (  ) 

Referenced by MakeClone().

TGeoCombiTrans::TGeoCombiTrans ( const TGeoCombiTrans other  ) 

Definition at line 1384 of file TGeoMatrix.cxx.

References fRotation, fTranslation, GetRotation(), GetTranslation(), i, TGeoMatrix::IsRotation(), TGeoMatrix::IsTranslation(), TGeoMatrix::kGeoMatrixOwned, kN3, TObject::SetBit(), and trans.

TGeoCombiTrans::TGeoCombiTrans ( const TGeoMatrix other  ) 

Definition at line 1404 of file TGeoMatrix.cxx.

References fRotation, fTranslation, TGeoMatrix::GetTranslation(), i, TGeoMatrix::IsRotation(), TGeoMatrix::IsTranslation(), TGeoMatrix::kGeoMatrixOwned, TGeoMatrix::kGeoRotation, TGeoMatrix::kGeoTranslation, kN3, and TObject::SetBit().

TGeoCombiTrans::TGeoCombiTrans ( const TGeoTranslation tr,
const TGeoRotation rot 
)

Definition at line 1424 of file TGeoMatrix.cxx.

References fRotation, fTranslation, TGeoTranslation::GetTranslation(), i, TGeoMatrix::IsRotation(), TGeoMatrix::IsTranslation(), TGeoMatrix::kGeoMatrixOwned, TGeoMatrix::kGeoReflection, TGeoMatrix::kGeoRotation, TGeoMatrix::kGeoTranslation, kN3, TObject::SetBit(), TObject::TestBit(), and trans.

TGeoCombiTrans::TGeoCombiTrans ( const char *  name  ) 

Definition at line 1444 of file TGeoMatrix.cxx.

References fRotation, fTranslation, and i.

TGeoCombiTrans::TGeoCombiTrans ( Double_t  dx,
Double_t  dy,
Double_t  dz,
TGeoRotation rot 
)

Definition at line 1453 of file TGeoMatrix.cxx.

References fRotation, SetRotation(), and SetTranslation().

TGeoCombiTrans::TGeoCombiTrans ( const char *  name,
Double_t  dx,
Double_t  dy,
Double_t  dz,
TGeoRotation rot 
)

Definition at line 1463 of file TGeoMatrix.cxx.

References fRotation, SetRotation(), and SetTranslation().

TGeoCombiTrans::~TGeoCombiTrans (  )  [virtual]

Definition at line 1507 of file TGeoMatrix.cxx.

References fRotation, TGeoMatrix::IsRegistered(), TGeoMatrix::kGeoMatrixOwned, and TObject::TestBit().

TGeoCombiTrans::TGeoCombiTrans (  ) 

TGeoCombiTrans::TGeoCombiTrans ( const TGeoCombiTrans other  ) 

TGeoCombiTrans::TGeoCombiTrans ( const TGeoMatrix other  ) 

TGeoCombiTrans::TGeoCombiTrans ( const TGeoTranslation tr,
const TGeoRotation rot 
)

TGeoCombiTrans::TGeoCombiTrans ( const char *  name  ) 

TGeoCombiTrans::TGeoCombiTrans ( Double_t  dx,
Double_t  dy,
Double_t  dz,
TGeoRotation rot 
)

TGeoCombiTrans::TGeoCombiTrans ( const char *  name,
Double_t  dx,
Double_t  dy,
Double_t  dz,
TGeoRotation rot 
)

virtual TGeoCombiTrans::~TGeoCombiTrans (  )  [virtual]


Member Function Documentation

TGeoCombiTrans & TGeoCombiTrans::operator= ( const TGeoMatrix matrix  ) 

Reimplemented from TGeoMatrix.

Definition at line 1473 of file TGeoMatrix.cxx.

References Clear(), fRotation, fTranslation, TGeoMatrix::kGeoMatrixOwned, TGeoMatrix::kGeoReflection, TGeoMatrix::kGeoRotation, TGeoMatrix::kGeoTranslation, kN3, TGeoMatrix::operator=(), TObject::ResetBit(), TObject::SetBit(), TGeoRotation::SetMatrix(), and TObject::TestBit().

Referenced by operator=().

TGeoCombiTrans& TGeoCombiTrans::operator= ( const TGeoCombiTrans other  )  [inline]

Definition at line 298 of file TGeoMatrix.h.

References operator=().

void TGeoCombiTrans::Clear ( Option_t option = ""  )  [virtual]

Reimplemented from TNamed.

Definition at line 1516 of file TGeoMatrix.cxx.

References fRotation, fTranslation, TGeoMatrix::IsTranslation(), TGeoMatrix::kGeoMatrixOwned, TGeoMatrix::kGeoReflection, TGeoMatrix::kGeoRotation, TGeoMatrix::kGeoTranslation, kN3, TObject::ResetBit(), and TObject::TestBit().

Referenced by operator=().

TGeoMatrix & TGeoCombiTrans::Inverse (  )  const [virtual]

Implements TGeoMatrix.

Definition at line 1533 of file TGeoMatrix.cxx.

References fTranslation, GetRotationMatrix(), h, TGeoMatrix::IsRotation(), TGeoMatrix::IsTranslation(), TGeoMatrix::kGeoRotation, and TGeoMatrix::kGeoTranslation.

TGeoMatrix * TGeoCombiTrans::MakeClone (  )  const [virtual]

Implements TGeoMatrix.

Definition at line 1563 of file TGeoMatrix.cxx.

References TGeoCombiTrans().

void TGeoCombiTrans::RegisterYourself (  )  [virtual]

Reimplemented from TGeoMatrix.

Definition at line 1571 of file TGeoMatrix.cxx.

References fRotation, TGeoMatrix::IsRotation(), and TGeoMatrix::RegisterYourself().

Referenced by TGeoPatternX::MakeCopy(), TGeoPatternSphR::MakeCopy(), TGeoPatternParaX::MakeCopy(), TGeoPatternZ::MakeCopy(), TGeoPatternCylR::MakeCopy(), TGeoPatternY::MakeCopy(), TGeoPatternTrapZ::MakeCopy(), TGeoPatternParaZ::MakeCopy(), TGeoPatternParaY::MakeCopy(), TGeoPatternSphTheta::MakeCopy(), and TGeoPatternSphPhi::MakeCopy().

void TGeoCombiTrans::RotateX ( Double_t  angle  )  [virtual]

Reimplemented from TGeoMatrix.

Definition at line 1579 of file TGeoMatrix.cxx.

References c, TMath::Cos(), TMath::DegToRad(), fRotation, fTranslation, TGeoRotation::GetRotationMatrix(), TGeoMatrix::IsTranslation(), TGeoMatrix::kGeoMatrixOwned, TGeoMatrix::kGeoRotation, kN3, phi, s, TObject::SetBit(), TGeoRotation::SetMatrix(), TMath::Sin(), and TObject::TestBit().

Referenced by TGeoCombiTransEditor::DoParameters().

void TGeoCombiTrans::RotateY ( Double_t  angle  )  [virtual]

Reimplemented from TGeoMatrix.

Definition at line 1612 of file TGeoMatrix.cxx.

References c, TMath::Cos(), TMath::DegToRad(), fRotation, fTranslation, TGeoRotation::GetRotationMatrix(), TGeoMatrix::IsTranslation(), TGeoMatrix::kGeoMatrixOwned, TGeoMatrix::kGeoRotation, kN3, phi, s, TObject::SetBit(), TGeoRotation::SetMatrix(), TMath::Sin(), and TObject::TestBit().

Referenced by TGeoCombiTransEditor::DoParameters().

void TGeoCombiTrans::RotateZ ( Double_t  angle  )  [virtual]

Reimplemented from TGeoMatrix.

Definition at line 1645 of file TGeoMatrix.cxx.

References c, TMath::Cos(), TMath::DegToRad(), fRotation, fTranslation, TGeoRotation::GetRotationMatrix(), TGeoMatrix::IsTranslation(), TGeoMatrix::kGeoMatrixOwned, TGeoMatrix::kGeoRotation, kN3, phi, s, TObject::SetBit(), TGeoRotation::SetMatrix(), TMath::Sin(), and TObject::TestBit().

Referenced by TGeoCombiTransEditor::DoParameters().

void TGeoCombiTrans::ReflectX ( Bool_t  leftside,
Bool_t  rotonly = kFALSE 
) [virtual]

Reimplemented from TGeoMatrix.

Definition at line 1678 of file TGeoMatrix.cxx.

References fRotation, fTranslation, TGeoMatrix::IsReflection(), TGeoMatrix::kGeoMatrixOwned, TGeoMatrix::kGeoReflection, TGeoMatrix::kGeoRotation, TGeoRotation::ReflectX(), TObject::SetBit(), and TObject::TestBit().

void TGeoCombiTrans::ReflectY ( Bool_t  leftside,
Bool_t  rotonly = kFALSE 
) [virtual]

Reimplemented from TGeoMatrix.

Definition at line 1693 of file TGeoMatrix.cxx.

References fRotation, fTranslation, TGeoMatrix::IsReflection(), TGeoMatrix::kGeoMatrixOwned, TGeoMatrix::kGeoReflection, TGeoMatrix::kGeoRotation, TGeoRotation::ReflectY(), TObject::SetBit(), and TObject::TestBit().

void TGeoCombiTrans::ReflectZ ( Bool_t  leftside,
Bool_t  rotonly = kFALSE 
) [virtual]

Reimplemented from TGeoMatrix.

Definition at line 1708 of file TGeoMatrix.cxx.

References fRotation, fTranslation, TGeoMatrix::IsReflection(), TGeoMatrix::kGeoMatrixOwned, TGeoMatrix::kGeoReflection, TGeoMatrix::kGeoRotation, TGeoRotation::ReflectZ(), TObject::SetBit(), and TObject::TestBit().

Referenced by TGeoPatternX::MakeCopy(), TGeoPatternSphR::MakeCopy(), TGeoPatternParaX::MakeCopy(), TGeoPatternZ::MakeCopy(), TGeoPatternCylR::MakeCopy(), TGeoPatternY::MakeCopy(), TGeoPatternTrapZ::MakeCopy(), TGeoPatternParaZ::MakeCopy(), TGeoPatternParaY::MakeCopy(), TGeoPatternSphTheta::MakeCopy(), and TGeoPatternSphPhi::MakeCopy().

void TGeoCombiTrans::SavePrimitive ( ostream &  out,
Option_t option = "" 
) [virtual]

Reimplemented from TObject.

Definition at line 1723 of file TGeoMatrix.cxx.

References fRotation, fTranslation, TNamed::GetName(), TGeoMatrix::GetPointerName(), TGeoMatrix::IsRotation(), TGeoMatrix::kGeoSavePrimitive, TGeoRotation::SavePrimitive(), TObject::SetBit(), and TObject::TestBit().

virtual void TGeoCombiTrans::SetDx ( Double_t  dx  )  [inline, virtual]

Reimplemented from TGeoMatrix.

Definition at line 313 of file TGeoMatrix.h.

References fTranslation, and SetTranslation().

virtual void TGeoCombiTrans::SetDy ( Double_t  dy  )  [inline, virtual]

Reimplemented from TGeoMatrix.

Definition at line 314 of file TGeoMatrix.h.

References fTranslation, and SetTranslation().

virtual void TGeoCombiTrans::SetDz ( Double_t  dz  )  [inline, virtual]

Reimplemented from TGeoMatrix.

Definition at line 315 of file TGeoMatrix.h.

References fTranslation, and SetTranslation().

void TGeoCombiTrans::SetTranslation ( const TGeoTranslation tr  ) 

Definition at line 1780 of file TGeoMatrix.cxx.

References fTranslation, TGeoTranslation::GetTranslation(), TGeoMatrix::IsTranslation(), TGeoMatrix::kGeoTranslation, kN3, TObject::ResetBit(), TObject::SetBit(), and trans.

Referenced by TGeoCombiTransEditor::DoParameters(), SetDx(), SetDy(), SetDz(), TGeoCombiTrans(), and TGeoGenTrans::TGeoGenTrans().

void TGeoCombiTrans::SetTranslation ( Double_t  dx,
Double_t  dy,
Double_t  dz 
)

Definition at line 1795 of file TGeoMatrix.cxx.

References fTranslation, TGeoMatrix::kGeoTranslation, TObject::ResetBit(), and TObject::SetBit().

void TGeoCombiTrans::SetTranslation ( Double_t vect  ) 

Definition at line 1806 of file TGeoMatrix.cxx.

References fTranslation, TGeoMatrix::kGeoTranslation, TObject::ResetBit(), and TObject::SetBit().

void TGeoCombiTrans::SetRotation ( const TGeoRotation other  ) 

Definition at line 1761 of file TGeoMatrix.cxx.

References fRotation, TGeoMatrix::IsRotation(), TGeoMatrix::kGeoMatrixOwned, TGeoMatrix::kGeoReflection, TGeoMatrix::kGeoRotation, TObject::ResetBit(), TObject::SetBit(), and TObject::TestBit().

Referenced by TGeoCombiTransEditor::DoParameters(), TGeoCombiTrans(), and TGeoGenTrans::TGeoGenTrans().

void TGeoCombiTrans::SetRotation ( const TGeoRotation rot  ) 

Definition at line 1743 of file TGeoMatrix.cxx.

References fRotation, TGeoMatrix::IsRotation(), TGeoMatrix::kGeoMatrixOwned, TGeoMatrix::kGeoReflection, TGeoMatrix::kGeoRotation, TObject::ResetBit(), Rgl::rr, TObject::SetBit(), and TObject::TestBit().

TGeoRotation* TGeoCombiTrans::GetRotation (  )  const [inline]

Definition at line 322 of file TGeoMatrix.h.

References fRotation.

Referenced by TGeoCombiTransEditor::DoParameters(), TGeoCombiTransEditor::SetModel(), and TGeoCombiTrans().

virtual const Double_t* TGeoCombiTrans::GetTranslation (  )  const [inline, virtual]

Implements TGeoMatrix.

Definition at line 324 of file TGeoMatrix.h.

References fTranslation.

Referenced by TGeoCombiTransEditor::DoParameters(), TGeoCombiTransEditor::SetModel(), and TGeoCombiTrans().

const Double_t * TGeoCombiTrans::GetRotationMatrix (  )  const [virtual]

Implements TGeoMatrix.

Definition at line 1817 of file TGeoMatrix.cxx.

References fRotation, TGeoRotation::GetRotationMatrix(), and kIdentityMatrix.

Referenced by Inverse().

virtual const Double_t* TGeoCombiTrans::GetScale (  )  const [inline, virtual]

Implements TGeoMatrix.

Definition at line 326 of file TGeoMatrix.h.

References kUnitScale.

TGeoCombiTrans& TGeoCombiTrans::operator= ( const TGeoMatrix matrix  ) 

Reimplemented from TGeoMatrix.

TGeoCombiTrans& TGeoCombiTrans::operator= ( const TGeoCombiTrans other  )  [inline]

Definition at line 298 of file TGeoMatrix.h.

References operator=().

void TGeoCombiTrans::Clear ( Option_t option = ""  )  [virtual]

Reimplemented from TNamed.

virtual TGeoMatrix& TGeoCombiTrans::Inverse (  )  const [virtual]

Implements TGeoMatrix.

virtual TGeoMatrix* TGeoCombiTrans::MakeClone (  )  const [virtual]

Implements TGeoMatrix.

virtual void TGeoCombiTrans::RegisterYourself (  )  [virtual]

Reimplemented from TGeoMatrix.

virtual void TGeoCombiTrans::RotateX ( Double_t  angle  )  [virtual]

Reimplemented from TGeoMatrix.

virtual void TGeoCombiTrans::RotateY ( Double_t  angle  )  [virtual]

Reimplemented from TGeoMatrix.

virtual void TGeoCombiTrans::RotateZ ( Double_t  angle  )  [virtual]

Reimplemented from TGeoMatrix.

virtual void TGeoCombiTrans::ReflectX ( Bool_t  leftside,
Bool_t  rotonly = kFALSE 
) [virtual]

Reimplemented from TGeoMatrix.

virtual void TGeoCombiTrans::ReflectY ( Bool_t  leftside,
Bool_t  rotonly = kFALSE 
) [virtual]

Reimplemented from TGeoMatrix.

virtual void TGeoCombiTrans::ReflectZ ( Bool_t  leftside,
Bool_t  rotonly = kFALSE 
) [virtual]

Reimplemented from TGeoMatrix.

virtual void TGeoCombiTrans::SavePrimitive ( ostream &  out,
Option_t option = "" 
) [virtual]

Reimplemented from TObject.

virtual void TGeoCombiTrans::SetDx ( Double_t  dx  )  [inline, virtual]

Reimplemented from TGeoMatrix.

Definition at line 313 of file TGeoMatrix.h.

References fTranslation, and SetTranslation().

virtual void TGeoCombiTrans::SetDy ( Double_t  dy  )  [inline, virtual]

Reimplemented from TGeoMatrix.

Definition at line 314 of file TGeoMatrix.h.

References fTranslation, and SetTranslation().

virtual void TGeoCombiTrans::SetDz ( Double_t  dz  )  [inline, virtual]

Reimplemented from TGeoMatrix.

Definition at line 315 of file TGeoMatrix.h.

References fTranslation, and SetTranslation().

void TGeoCombiTrans::SetTranslation ( const TGeoTranslation tr  ) 

void TGeoCombiTrans::SetTranslation ( Double_t  dx,
Double_t  dy,
Double_t  dz 
)

void TGeoCombiTrans::SetTranslation ( Double_t vect  ) 

void TGeoCombiTrans::SetRotation ( const TGeoRotation other  ) 

void TGeoCombiTrans::SetRotation ( const TGeoRotation rot  ) 

TGeoRotation* TGeoCombiTrans::GetRotation (  )  const [inline]

Definition at line 322 of file TGeoMatrix.h.

References fRotation.

virtual const Double_t* TGeoCombiTrans::GetTranslation (  )  const [inline, virtual]

Implements TGeoMatrix.

Definition at line 324 of file TGeoMatrix.h.

References fTranslation.

virtual const Double_t* TGeoCombiTrans::GetRotationMatrix (  )  const [virtual]

Implements TGeoMatrix.

virtual const Double_t* TGeoCombiTrans::GetScale (  )  const [inline, virtual]

Implements TGeoMatrix.

Definition at line 326 of file TGeoMatrix.h.

References kUnitScale.


Member Data Documentation

Double_t TGeoCombiTrans::fTranslation [protected]

Definition at line 286 of file TGeoMatrix.h.

Referenced by Clear(), TGeoGenTrans::Clear(), GetTranslation(), Inverse(), operator=(), ReflectX(), ReflectY(), ReflectZ(), RotateX(), RotateY(), RotateZ(), SavePrimitive(), SetDx(), SetDy(), SetDz(), SetTranslation(), TGeoCombiTrans(), and TGeoGenTrans::TGeoGenTrans().

TGeoRotation* TGeoCombiTrans::fRotation [protected]

Definition at line 287 of file TGeoMatrix.h.

Referenced by Clear(), TGeoGenTrans::Clear(), GetRotation(), GetRotationMatrix(), operator=(), ReflectX(), ReflectY(), ReflectZ(), RegisterYourself(), RotateX(), RotateY(), RotateZ(), SavePrimitive(), SetRotation(), TGeoCombiTrans(), TGeoGenTrans::TGeoGenTrans(), and ~TGeoCombiTrans().

TGeoRotation* TGeoCombiTrans::fRotation [protected]

Definition at line 287 of file TGeoMatrix.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:38:41 2011 for ROOT_528-00b_version by  doxygen 1.5.1