TGeoPara Class Reference

#include <TGeoPara.h>

Inheritance diagram for TGeoPara:

TGeoBBox TGeoBBox TGeoShape TGeoShape TGeoShape TGeoShape TNamed TNamed TNamed TNamed TNamed TNamed TNamed TNamed List of all members.

Public Member Functions

 TGeoPara ()
 TGeoPara (Double_t dx, Double_t dy, Double_t dz, Double_t alpha, Double_t theta, Double_t phi)
 TGeoPara (const char *name, Double_t dx, Double_t dy, Double_t dz, Double_t alpha, Double_t theta, Double_t phi)
 TGeoPara (Double_t *param)
virtual ~TGeoPara ()
virtual Double_t Capacity () const
virtual void ComputeBBox ()
virtual void ComputeNormal (Double_t *point, Double_t *dir, Double_t *norm)
virtual Bool_t Contains (Double_t *point) const
virtual Double_t DistFromInside (Double_t *point, Double_t *dir, Int_t iact=1, Double_t step=TGeoShape::Big(), Double_t *safe=0) const
virtual Double_t DistFromOutside (Double_t *point, Double_t *dir, Int_t iact=1, Double_t step=TGeoShape::Big(), Double_t *safe=0) const
virtual TGeoVolumeDivide (TGeoVolume *voldiv, const char *divname, Int_t iaxis, Int_t ndiv, Double_t start, Double_t step)
virtual Double_t GetAxisRange (Int_t iaxis, Double_t &xlo, Double_t &xhi) const
virtual void GetBoundingCylinder (Double_t *param) const
virtual Int_t GetByteCount () const
virtual Int_t GetFittingBox (const TGeoBBox *parambox, TGeoMatrix *mat, Double_t &dx, Double_t &dy, Double_t &dz) const
virtual TGeoShapeGetMakeRuntimeShape (TGeoShape *mother, TGeoMatrix *mat) const
virtual Int_t GetNmeshVertices () const
Double_t GetX () const
Double_t GetY () const
Double_t GetZ () const
Double_t GetAlpha () const
Double_t GetTheta () const
Double_t GetPhi () const
Double_t GetTxy () const
Double_t GetTxz () const
Double_t GetTyz () const
virtual void InspectShape () const
virtual Bool_t IsCylType () const
virtual Double_t Safety (Double_t *point, Bool_t in=kTRUE) const
virtual void SavePrimitive (ostream &out, Option_t *option="")
virtual void SetDimensions (Double_t *param)
virtual void SetPoints (Double_t *points) const
virtual void SetPoints (Float_t *points) const
virtual void Sizeof3D () const
 TGeoPara ()
 TGeoPara (Double_t dx, Double_t dy, Double_t dz, Double_t alpha, Double_t theta, Double_t phi)
 TGeoPara (const char *name, Double_t dx, Double_t dy, Double_t dz, Double_t alpha, Double_t theta, Double_t phi)
 TGeoPara (Double_t *param)
virtual ~TGeoPara ()
virtual Double_t Capacity () const
virtual void ComputeBBox ()
virtual void ComputeNormal (Double_t *point, Double_t *dir, Double_t *norm)
virtual Bool_t Contains (Double_t *point) const
virtual Double_t DistFromInside (Double_t *point, Double_t *dir, Int_t iact=1, Double_t step=TGeoShape::Big(), Double_t *safe=0) const
virtual Double_t DistFromOutside (Double_t *point, Double_t *dir, Int_t iact=1, Double_t step=TGeoShape::Big(), Double_t *safe=0) const
virtual TGeoVolumeDivide (TGeoVolume *voldiv, const char *divname, Int_t iaxis, Int_t ndiv, Double_t start, Double_t step)
virtual Double_t GetAxisRange (Int_t iaxis, Double_t &xlo, Double_t &xhi) const
virtual void GetBoundingCylinder (Double_t *param) const
virtual Int_t GetByteCount () const
virtual Int_t GetFittingBox (const TGeoBBox *parambox, TGeoMatrix *mat, Double_t &dx, Double_t &dy, Double_t &dz) const
virtual TGeoShapeGetMakeRuntimeShape (TGeoShape *mother, TGeoMatrix *mat) const
virtual Int_t GetNmeshVertices () const
Double_t GetX () const
Double_t GetY () const
Double_t GetZ () const
Double_t GetAlpha () const
Double_t GetTheta () const
Double_t GetPhi () const
Double_t GetTxy () const
Double_t GetTxz () const
Double_t GetTyz () const
virtual void InspectShape () const
virtual Bool_t IsCylType () const
virtual Double_t Safety (Double_t *point, Bool_t in=kTRUE) const
virtual void SavePrimitive (ostream &out, Option_t *option="")
virtual void SetDimensions (Double_t *param)
virtual void SetPoints (Double_t *points) const
virtual void SetPoints (Float_t *points) const
virtual void Sizeof3D () const

Protected Attributes

Double_t fX
Double_t fY
Double_t fZ
Double_t fAlpha
Double_t fTheta
Double_t fPhi
Double_t fTxy
Double_t fTxz
Double_t fTyz

Detailed Description

Definition at line 30 of file TGeoPara.h.


Constructor & Destructor Documentation

TGeoPara::TGeoPara (  ) 

Referenced by Divide(), and GetMakeRuntimeShape().

TGeoPara::TGeoPara ( Double_t  dx,
Double_t  dy,
Double_t  dz,
Double_t  alpha,
Double_t  theta,
Double_t  phi 
)

Definition at line 69 of file TGeoPara.cxx.

References ComputeBBox(), TMath::Cos(), TMath::DegToRad(), fAlpha, fPhi, fTheta, fTxy, fTxz, fTyz, fX, fY, fZ, TGeoShape::kGeoPara, TGeoShape::kGeoRunTimeShape, TGeoShape::SetShapeBit(), TMath::Sin(), and TMath::Tan().

TGeoPara::TGeoPara ( const char *  name,
Double_t  dx,
Double_t  dy,
Double_t  dz,
Double_t  alpha,
Double_t  theta,
Double_t  phi 
)

Definition at line 94 of file TGeoPara.cxx.

References ComputeBBox(), TMath::Cos(), TMath::DegToRad(), fAlpha, fPhi, fTheta, fTxy, fTxz, fTyz, fX, fY, fZ, TGeoShape::kGeoPara, TGeoShape::kGeoRunTimeShape, TGeoShape::SetShapeBit(), TMath::Sin(), and TMath::Tan().

TGeoPara::TGeoPara ( Double_t param  ) 

Definition at line 119 of file TGeoPara.cxx.

References ComputeBBox(), fX, fY, fZ, TGeoShape::kGeoPara, TGeoShape::kGeoRunTimeShape, SetDimensions(), and TGeoShape::SetShapeBit().

TGeoPara::~TGeoPara (  )  [virtual]

Definition at line 136 of file TGeoPara.cxx.

TGeoPara::TGeoPara (  ) 

TGeoPara::TGeoPara ( Double_t  dx,
Double_t  dy,
Double_t  dz,
Double_t  alpha,
Double_t  theta,
Double_t  phi 
)

TGeoPara::TGeoPara ( const char *  name,
Double_t  dx,
Double_t  dy,
Double_t  dz,
Double_t  alpha,
Double_t  theta,
Double_t  phi 
)

TGeoPara::TGeoPara ( Double_t param  ) 

virtual TGeoPara::~TGeoPara (  )  [virtual]


Member Function Documentation

Double_t TGeoPara::Capacity (  )  const [virtual]

Reimplemented from TGeoBBox.

Definition at line 142 of file TGeoPara.cxx.

References fX, fY, and fZ.

void TGeoPara::ComputeBBox (  )  [virtual]

Reimplemented from TGeoBBox.

Definition at line 150 of file TGeoPara.cxx.

References TMath::Abs(), TGeoBBox::fOrigin, fTxy, fTxz, fTyz, fX, fY, fZ, and TGeoBBox::SetBoxDimensions().

Referenced by TGeoParaEditor::DoApply(), and TGeoPara().

void TGeoPara::ComputeNormal ( Double_t point,
Double_t dir,
Double_t norm 
) [virtual]

Reimplemented from TGeoBBox.

Definition at line 161 of file TGeoPara.cxx.

References TMath::Abs(), TMath::Cos(), TMath::DegToRad(), fAlpha, fTheta, fTxy, fTxz, fTyz, fX, fY, fZ, i, TMath::LocMin(), TMath::Sign(), TMath::Sin(), and TMath::Sqrt().

Bool_t TGeoPara::Contains ( Double_t point  )  const [virtual]

Reimplemented from TGeoBBox.

Definition at line 203 of file TGeoPara.cxx.

References TMath::Abs(), fTxy, fTxz, fTyz, fX, fY, fZ, kFALSE, and kTRUE.

Referenced by GetFittingBox().

Double_t TGeoPara::DistFromInside ( Double_t point,
Double_t dir,
Int_t  iact = 1,
Double_t  step = TGeoShape::Big(),
Double_t safe = 0 
) const [virtual]

Reimplemented from TGeoBBox.

Definition at line 217 of file TGeoPara.cxx.

References TGeoShape::Big(), fTxy, fTxz, fTyz, fX, fY, fZ, TGeoShape::IsSameWithinTolerance(), kTRUE, s, and Safety().

Double_t TGeoPara::DistFromOutside ( Double_t point,
Double_t dir,
Int_t  iact = 1,
Double_t  step = TGeoShape::Big(),
Double_t safe = 0 
) const [virtual]

Reimplemented from TGeoBBox.

Definition at line 261 of file TGeoPara.cxx.

References TMath::Abs(), TGeoShape::Big(), fTxy, fTxz, fTyz, fX, fY, fZ, kFALSE, kTRUE, and Safety().

TGeoVolume * TGeoPara::Divide ( TGeoVolume voldiv,
const char *  divname,
Int_t  iaxis,
Int_t  ndiv,
Double_t  start,
Double_t  step 
) [virtual]

Reimplemented from TGeoBBox.

Definition at line 341 of file TGeoPara.cxx.

References TGeoVolume::AddNodeOffset(), TObjArray::At(), TString::Data(), TObject::Error(), fAlpha, fPhi, fTheta, fX, fY, fZ, TGeoVolume::GetMedium(), TGeoVolume::GetNdaughters(), TGeoVolume::GetNodes(), gGeoManager, TGeoManager::MakeVolumeMulti(), TGeoPatternFinder::SetDivIndex(), TGeoVolume::SetFinder(), and TGeoPara().

Double_t TGeoPara::GetAxisRange ( Int_t  iaxis,
Double_t xlo,
Double_t xhi 
) const [virtual]

Reimplemented from TGeoBBox.

Definition at line 387 of file TGeoPara.cxx.

References fX, fY, and fZ.

void TGeoPara::GetBoundingCylinder ( Double_t param  )  const [virtual]

Reimplemented from TGeoBBox.

Definition at line 414 of file TGeoPara.cxx.

References TGeoBBox::GetBoundingCylinder().

virtual Int_t TGeoPara::GetByteCount (  )  const [inline, virtual]

Reimplemented from TGeoBBox.

Definition at line 66 of file TGeoPara.h.

Int_t TGeoPara::GetFittingBox ( const TGeoBBox parambox,
TGeoMatrix mat,
Double_t dx,
Double_t dy,
Double_t dz 
) const [virtual]

Reimplemented from TGeoBBox.

Definition at line 422 of file TGeoPara.cxx.

References TMath::Abs(), TGeoShape::Big(), Contains(), TObject::Error(), fTxy, fTxz, fTyz, fX, fY, fZ, TGeoBBox::GetDX(), TGeoBBox::GetDY(), TGeoBBox::GetDZ(), TGeoBBox::GetOrigin(), TGeoMatrix::IsRotation(), TGeoMatrix::LocalToMaster(), and TMath::Min().

TGeoShape * TGeoPara::GetMakeRuntimeShape ( TGeoShape mother,
TGeoMatrix mat 
) const [virtual]

Reimplemented from TGeoBBox.

Definition at line 495 of file TGeoPara.cxx.

References TObject::Error(), fAlpha, fPhi, fTheta, fX, fY, fZ, TGeoShape::kGeoPara, TGeoShape::kGeoRunTimeShape, TGeoShape::TestShapeBit(), and TGeoPara().

virtual Int_t TGeoPara::GetNmeshVertices (  )  const [inline, virtual]

Reimplemented from TGeoBBox.

Definition at line 69 of file TGeoPara.h.

Double_t TGeoPara::GetX (  )  const [inline]

Definition at line 70 of file TGeoPara.h.

References fX.

Referenced by TGeoParaEditor::SetModel().

Double_t TGeoPara::GetY (  )  const [inline]

Definition at line 71 of file TGeoPara.h.

References fY.

Referenced by TGeoParaEditor::SetModel().

Double_t TGeoPara::GetZ (  )  const [inline]

Definition at line 72 of file TGeoPara.h.

References fZ.

Referenced by TGeoParaEditor::SetModel().

Double_t TGeoPara::GetAlpha (  )  const [inline]

Definition at line 73 of file TGeoPara.h.

References fAlpha.

Referenced by TGeoParaEditor::SetModel().

Double_t TGeoPara::GetTheta (  )  const [inline]

Definition at line 74 of file TGeoPara.h.

References fTheta.

Referenced by TGeoParaEditor::SetModel().

Double_t TGeoPara::GetPhi (  )  const [inline]

Definition at line 75 of file TGeoPara.h.

References fPhi.

Referenced by TGeoParaEditor::SetModel().

Double_t TGeoPara::GetTxy (  )  const [inline]

Definition at line 76 of file TGeoPara.h.

References fTxy.

Double_t TGeoPara::GetTxz (  )  const [inline]

Definition at line 77 of file TGeoPara.h.

References fTxz.

Double_t TGeoPara::GetTyz (  )  const [inline]

Definition at line 78 of file TGeoPara.h.

References fTyz.

void TGeoPara::InspectShape (  )  const [virtual]

Reimplemented from TGeoBBox.

Definition at line 515 of file TGeoPara.cxx.

References fAlpha, fPhi, fTheta, fX, fY, fZ, TGeoShape::GetName(), and TGeoBBox::InspectShape().

virtual Bool_t TGeoPara::IsCylType (  )  const [inline, virtual]

Reimplemented from TGeoBBox.

Definition at line 80 of file TGeoPara.h.

References kFALSE.

Double_t TGeoPara::Safety ( Double_t point,
Bool_t  in = kTRUE 
) const [virtual]

Reimplemented from TGeoBBox.

Definition at line 530 of file TGeoPara.cxx.

References TMath::Abs(), fTxy, fTxz, fTyz, fX, fY, fZ, i, TMath::LocMax(), TMath::LocMin(), and TMath::Sqrt().

Referenced by DistFromInside(), and DistFromOutside().

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

Reimplemented from TGeoBBox.

Definition at line 555 of file TGeoPara.cxx.

References TObject::ClassName(), fAlpha, fPhi, fTheta, fX, fY, fZ, TGeoShape::GetName(), TGeoShape::GetPointerName(), TGeoShape::kGeoSavePrimitive, TObject::SetBit(), and TObject::TestBit().

void TGeoPara::SetDimensions ( Double_t param  )  [virtual]

Reimplemented from TGeoBBox.

Definition at line 571 of file TGeoPara.cxx.

References TMath::Cos(), TMath::DegToRad(), fAlpha, fPhi, fTheta, fTxy, fTxz, fTyz, fX, fY, fZ, TMath::Sin(), and TMath::Tan().

Referenced by TGeoParaEditor::DoApply(), and TGeoPara().

void TGeoPara::SetPoints ( Double_t points  )  const [virtual]

Reimplemented from TGeoBBox.

Definition at line 588 of file TGeoPara.cxx.

References fTxy, fTxz, fTyz, fX, fY, and fZ.

void TGeoPara::SetPoints ( Float_t points  )  const [virtual]

Reimplemented from TGeoBBox.

Definition at line 606 of file TGeoPara.cxx.

References fTxy, fTxz, fTyz, fX, fY, and fZ.

void TGeoPara::Sizeof3D (  )  const [virtual]

Reimplemented from TGeoBBox.

Definition at line 624 of file TGeoPara.cxx.

References TGeoBBox::Sizeof3D().

virtual Double_t TGeoPara::Capacity (  )  const [virtual]

Reimplemented from TGeoBBox.

virtual void TGeoPara::ComputeBBox (  )  [virtual]

Reimplemented from TGeoBBox.

virtual void TGeoPara::ComputeNormal ( Double_t point,
Double_t dir,
Double_t norm 
) [virtual]

Reimplemented from TGeoBBox.

virtual Bool_t TGeoPara::Contains ( Double_t point  )  const [virtual]

Reimplemented from TGeoBBox.

virtual Double_t TGeoPara::DistFromInside ( Double_t point,
Double_t dir,
Int_t  iact = 1,
Double_t  step = TGeoShape::Big(),
Double_t safe = 0 
) const [virtual]

Reimplemented from TGeoBBox.

virtual Double_t TGeoPara::DistFromOutside ( Double_t point,
Double_t dir,
Int_t  iact = 1,
Double_t  step = TGeoShape::Big(),
Double_t safe = 0 
) const [virtual]

Reimplemented from TGeoBBox.

virtual TGeoVolume* TGeoPara::Divide ( TGeoVolume voldiv,
const char *  divname,
Int_t  iaxis,
Int_t  ndiv,
Double_t  start,
Double_t  step 
) [virtual]

Reimplemented from TGeoBBox.

virtual Double_t TGeoPara::GetAxisRange ( Int_t  iaxis,
Double_t xlo,
Double_t xhi 
) const [virtual]

Reimplemented from TGeoBBox.

virtual void TGeoPara::GetBoundingCylinder ( Double_t param  )  const [virtual]

Reimplemented from TGeoBBox.

virtual Int_t TGeoPara::GetByteCount (  )  const [inline, virtual]

Reimplemented from TGeoBBox.

Definition at line 66 of file TGeoPara.h.

virtual Int_t TGeoPara::GetFittingBox ( const TGeoBBox parambox,
TGeoMatrix mat,
Double_t dx,
Double_t dy,
Double_t dz 
) const [virtual]

Reimplemented from TGeoBBox.

virtual TGeoShape* TGeoPara::GetMakeRuntimeShape ( TGeoShape mother,
TGeoMatrix mat 
) const [virtual]

Reimplemented from TGeoBBox.

virtual Int_t TGeoPara::GetNmeshVertices (  )  const [inline, virtual]

Reimplemented from TGeoBBox.

Definition at line 69 of file TGeoPara.h.

Double_t TGeoPara::GetX ( void   )  const [inline]

Definition at line 70 of file TGeoPara.h.

References fX.

Double_t TGeoPara::GetY (  )  const [inline]

Definition at line 71 of file TGeoPara.h.

References fY.

Double_t TGeoPara::GetZ (  )  const [inline]

Definition at line 72 of file TGeoPara.h.

References fZ.

Double_t TGeoPara::GetAlpha (  )  const [inline]

Definition at line 73 of file TGeoPara.h.

References fAlpha.

Double_t TGeoPara::GetTheta (  )  const [inline]

Definition at line 74 of file TGeoPara.h.

References fTheta.

Double_t TGeoPara::GetPhi (  )  const [inline]

Definition at line 75 of file TGeoPara.h.

References fPhi.

Double_t TGeoPara::GetTxy (  )  const [inline]

Definition at line 76 of file TGeoPara.h.

References fTxy.

Double_t TGeoPara::GetTxz (  )  const [inline]

Definition at line 77 of file TGeoPara.h.

References fTxz.

Double_t TGeoPara::GetTyz (  )  const [inline]

Definition at line 78 of file TGeoPara.h.

References fTyz.

virtual void TGeoPara::InspectShape (  )  const [virtual]

Reimplemented from TGeoBBox.

virtual Bool_t TGeoPara::IsCylType (  )  const [inline, virtual]

Reimplemented from TGeoBBox.

Definition at line 80 of file TGeoPara.h.

References kFALSE.

virtual Double_t TGeoPara::Safety ( Double_t point,
Bool_t  in = kTRUE 
) const [virtual]

Reimplemented from TGeoBBox.

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

Reimplemented from TGeoBBox.

virtual void TGeoPara::SetDimensions ( Double_t param  )  [virtual]

Reimplemented from TGeoBBox.

virtual void TGeoPara::SetPoints ( Double_t points  )  const [virtual]

Reimplemented from TGeoBBox.

virtual void TGeoPara::SetPoints ( Float_t points  )  const [virtual]

Reimplemented from TGeoBBox.

virtual void TGeoPara::Sizeof3D (  )  const [virtual]

Reimplemented from TGeoBBox.


Member Data Documentation

Double_t TGeoPara::fX [protected]

Definition at line 34 of file TGeoPara.h.

Referenced by Capacity(), ComputeBBox(), ComputeNormal(), Contains(), DistFromInside(), DistFromOutside(), Divide(), GetAxisRange(), GetFittingBox(), GetMakeRuntimeShape(), GetX(), InspectShape(), Safety(), SavePrimitive(), SetDimensions(), SetPoints(), and TGeoPara().

Double_t TGeoPara::fY [protected]

Definition at line 35 of file TGeoPara.h.

Referenced by Capacity(), ComputeBBox(), ComputeNormal(), Contains(), DistFromInside(), DistFromOutside(), Divide(), GetAxisRange(), GetFittingBox(), GetMakeRuntimeShape(), GetY(), InspectShape(), Safety(), SavePrimitive(), SetDimensions(), SetPoints(), and TGeoPara().

Double_t TGeoPara::fZ [protected]

Definition at line 36 of file TGeoPara.h.

Referenced by Capacity(), ComputeBBox(), ComputeNormal(), Contains(), DistFromInside(), DistFromOutside(), Divide(), GetAxisRange(), GetFittingBox(), GetMakeRuntimeShape(), GetZ(), InspectShape(), Safety(), SavePrimitive(), SetDimensions(), SetPoints(), and TGeoPara().

Double_t TGeoPara::fAlpha [protected]

Definition at line 37 of file TGeoPara.h.

Referenced by ComputeNormal(), Divide(), GetAlpha(), GetMakeRuntimeShape(), InspectShape(), SavePrimitive(), SetDimensions(), and TGeoPara().

Double_t TGeoPara::fTheta [protected]

Definition at line 38 of file TGeoPara.h.

Referenced by ComputeNormal(), Divide(), GetMakeRuntimeShape(), GetTheta(), InspectShape(), SavePrimitive(), SetDimensions(), and TGeoPara().

Double_t TGeoPara::fPhi [protected]

Definition at line 39 of file TGeoPara.h.

Referenced by Divide(), GetMakeRuntimeShape(), GetPhi(), InspectShape(), SavePrimitive(), SetDimensions(), and TGeoPara().

Double_t TGeoPara::fTxy [protected]

Definition at line 40 of file TGeoPara.h.

Referenced by ComputeBBox(), ComputeNormal(), Contains(), DistFromInside(), DistFromOutside(), GetFittingBox(), GetTxy(), Safety(), SetDimensions(), SetPoints(), and TGeoPara().

Double_t TGeoPara::fTxz [protected]

Definition at line 41 of file TGeoPara.h.

Referenced by ComputeBBox(), ComputeNormal(), Contains(), DistFromInside(), DistFromOutside(), GetFittingBox(), GetTxz(), Safety(), SetDimensions(), SetPoints(), and TGeoPara().

Double_t TGeoPara::fTyz [protected]

Definition at line 42 of file TGeoPara.h.

Referenced by ComputeBBox(), ComputeNormal(), Contains(), DistFromInside(), DistFromOutside(), GetFittingBox(), GetTyz(), Safety(), SetDimensions(), SetPoints(), and TGeoPara().


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