TGeoEltu Class Reference

#include <TGeoEltu.h>

Inheritance diagram for TGeoEltu:

TGeoTube TGeoTube TGeoBBox TGeoBBox TGeoBBox TGeoBBox TGeoShape TGeoShape TGeoShape TGeoShape TGeoShape TGeoShape TGeoShape TGeoShape List of all members.

Public Member Functions

 TGeoEltu ()
 TGeoEltu (Double_t a, Double_t b, Double_t dz)
 TGeoEltu (const char *name, Double_t a, Double_t b, Double_t dz)
 TGeoEltu (Double_t *params)
virtual ~TGeoEltu ()
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 Int_t DistancetoPrimitive (Int_t px, Int_t py)
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 GetA () const
virtual Double_t GetB () const
virtual void GetBoundingCylinder (Double_t *param) const
virtual const TBuffer3DGetBuffer3D (Int_t reqSections, Bool_t localFrame) const
virtual TGeoShapeGetMakeRuntimeShape (TGeoShape *mother, TGeoMatrix *mat) const
virtual void GetMeshNumbers (Int_t &nvert, Int_t &nsegs, Int_t &npols) const
virtual Int_t GetNmeshVertices () const
virtual Bool_t GetPointsOnSegments (Int_t, Double_t *) 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="")
void SetEltuDimensions (Double_t a, Double_t b, Double_t dz)
virtual void SetDimensions (Double_t *param)
virtual void SetPoints (Double_t *points) const
virtual void SetPoints (Float_t *points) const
 TGeoEltu ()
 TGeoEltu (Double_t a, Double_t b, Double_t dz)
 TGeoEltu (const char *name, Double_t a, Double_t b, Double_t dz)
 TGeoEltu (Double_t *params)
virtual ~TGeoEltu ()
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 Int_t DistancetoPrimitive (Int_t px, Int_t py)
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 GetA () const
virtual Double_t GetB () const
virtual void GetBoundingCylinder (Double_t *param) const
virtual const TBuffer3DGetBuffer3D (Int_t reqSections, Bool_t localFrame) const
virtual TGeoShapeGetMakeRuntimeShape (TGeoShape *mother, TGeoMatrix *mat) const
virtual void GetMeshNumbers (Int_t &nvert, Int_t &nsegs, Int_t &npols) const
virtual Int_t GetNmeshVertices () const
virtual Bool_t GetPointsOnSegments (Int_t, Double_t *) 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="")
void SetEltuDimensions (Double_t a, Double_t b, Double_t dz)
virtual void SetDimensions (Double_t *param)
virtual void SetPoints (Double_t *points) const
virtual void SetPoints (Float_t *points) const

Detailed Description

Definition at line 28 of file TGeoEltu.h.


Constructor & Destructor Documentation

TGeoEltu::TGeoEltu (  ) 

Referenced by GetMakeRuntimeShape().

TGeoEltu::TGeoEltu ( Double_t  a,
Double_t  b,
Double_t  dz 
)

Definition at line 43 of file TGeoEltu.cxx.

References ComputeBBox(), TGeoShape::kGeoEltu, SetEltuDimensions(), and TGeoShape::SetShapeBit().

TGeoEltu::TGeoEltu ( const char *  name,
Double_t  a,
Double_t  b,
Double_t  dz 
)

Definition at line 53 of file TGeoEltu.cxx.

References ComputeBBox(), TGeoShape::kGeoEltu, SetEltuDimensions(), TNamed::SetName(), and TGeoShape::SetShapeBit().

TGeoEltu::TGeoEltu ( Double_t params  ) 

Definition at line 64 of file TGeoEltu.cxx.

References ComputeBBox(), TGeoShape::kGeoEltu, SetDimensions(), and TGeoShape::SetShapeBit().

TGeoEltu::~TGeoEltu (  )  [virtual]

Definition at line 76 of file TGeoEltu.cxx.

TGeoEltu::TGeoEltu (  ) 

TGeoEltu::TGeoEltu ( Double_t  a,
Double_t  b,
Double_t  dz 
)

TGeoEltu::TGeoEltu ( const char *  name,
Double_t  a,
Double_t  b,
Double_t  dz 
)

TGeoEltu::TGeoEltu ( Double_t params  ) 

virtual TGeoEltu::~TGeoEltu (  )  [virtual]


Member Function Documentation

Double_t TGeoEltu::Capacity (  )  const [virtual]

Reimplemented from TGeoTube.

Definition at line 82 of file TGeoEltu.cxx.

References TGeoTube::fDz, TGeoTube::fRmax, TGeoTube::fRmin, and TMath::Pi().

void TGeoEltu::ComputeBBox (  )  [virtual]

Reimplemented from TGeoTube.

Definition at line 90 of file TGeoEltu.cxx.

References TGeoBBox::fDX, TGeoBBox::fDY, TGeoTube::fDz, TGeoBBox::fDZ, TGeoTube::fRmax, and TGeoTube::fRmin.

Referenced by TGeoEltuEditor::DoApply(), and TGeoEltu().

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

Reimplemented from TGeoTube.

Definition at line 99 of file TGeoEltu.cxx.

References a, TMath::Abs(), b, E, TGeoTube::fDz, TGeoTube::fRmax, TGeoTube::fRmin, Rgl::rr, TMath::Sign(), and TMath::Sqrt().

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

Reimplemented from TGeoTube.

Definition at line 124 of file TGeoEltu.cxx.

References TMath::Abs(), TGeoTube::fDz, TGeoTube::fRmax, TGeoTube::fRmin, kFALSE, kTRUE, and r2.

Int_t TGeoEltu::DistancetoPrimitive ( Int_t  px,
Int_t  py 
) [virtual]

Reimplemented from TGeoTube.

Definition at line 134 of file TGeoEltu.cxx.

References TGeoManager::GetNsegments(), gGeoManager, n, and TGeoShape::ShapeDistancetoPrimitive().

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

Reimplemented from TGeoTube.

Definition at line 143 of file TGeoEltu.cxx.

References TMath::Abs(), TGeoShape::Big(), d, TGeoTube::fDz, TGeoTube::fRmax, TGeoTube::fRmin, i, TGeoShape::IsSameWithinTolerance(), TMath::Min(), TMath::Sqrt(), u, w, x0, x1, x2, and x3.

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

Reimplemented from TGeoTube.

Definition at line 220 of file TGeoEltu.cxx.

References TMath::Abs(), TGeoShape::Big(), TMath::Cos(), d, TGeoBBox::DistFromOutside(), TGeoBBox::fDX, TGeoBBox::fDY, TGeoTube::fDz, TGeoBBox::fDZ, TGeoBBox::fOrigin, TGeoTube::fRmax, TGeoTube::fRmin, i, TGeoShape::IsSameWithinTolerance(), j, TMath::Min(), TMath::Pi(), TMath::Sin(), TMath::Sqrt(), u, w, x0, and x3.

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

Reimplemented from TGeoTube.

Definition at line 292 of file TGeoEltu.cxx.

References TObject::Error().

virtual Double_t TGeoEltu::GetA (  )  const [inline, virtual]

Definition at line 50 of file TGeoEltu.h.

References TGeoTube::fRmin.

Referenced by TGeoEltuEditor::SetModel().

virtual Double_t TGeoEltu::GetB (  )  const [inline, virtual]

Definition at line 51 of file TGeoEltu.h.

References TGeoTube::fRmax.

Referenced by TGeoEltuEditor::SetModel().

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

Reimplemented from TGeoTube.

Definition at line 301 of file TGeoEltu.cxx.

References TGeoTube::fRmax, TGeoTube::fRmin, and TMath::Max().

const TBuffer3D & TGeoEltu::GetBuffer3D ( Int_t  reqSections,
Bool_t  localFrame 
) const [virtual]

Reimplemented from TGeoTube.

Definition at line 537 of file TGeoEltu.cxx.

References buffer, TGeoBBox::FillBuffer3D(), TGeoManager::GetNsegments(), gGeoManager, TBuffer3DTypes::kGeneric, TBuffer3D::kRaw, TBuffer3D::kRawSizes, n, SetPoints(), TGeoTube::SetSegsAndPols(), and TGeoShape::TransformPoints().

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

Reimplemented from TGeoTube.

Definition at line 313 of file TGeoEltu.cxx.

References a, b, TObject::Error(), TGeoTube::fDz, TGeoTube::fRmax, TGeoTube::fRmin, TGeoShape::kGeoEltu, TGeoShape::kGeoRunTimeShape, TGeoShape::TestShapeBit(), and TGeoEltu().

void TGeoEltu::GetMeshNumbers ( Int_t nvert,
Int_t nsegs,
Int_t npols 
) const [virtual]

Reimplemented from TGeoTube.

Definition at line 478 of file TGeoEltu.cxx.

References TGeoTube::GetMeshNumbers().

Int_t TGeoEltu::GetNmeshVertices (  )  const [virtual]

Reimplemented from TGeoTube.

Definition at line 485 of file TGeoEltu.cxx.

References TGeoTube::GetNmeshVertices().

virtual Bool_t TGeoEltu::GetPointsOnSegments ( Int_t  ,
Double_t  
) const [inline, virtual]

Reimplemented from TGeoTube.

Definition at line 57 of file TGeoEltu.h.

References kFALSE.

void TGeoEltu::InspectShape (  )  const [virtual]

Reimplemented from TGeoTube.

Definition at line 336 of file TGeoEltu.cxx.

References TGeoTube::fDz, TGeoTube::fRmax, TGeoTube::fRmin, TGeoShape::GetName(), and TGeoBBox::InspectShape().

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

Reimplemented from TGeoTube.

Definition at line 59 of file TGeoEltu.h.

References kTRUE.

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

Reimplemented from TGeoTube.

Definition at line 348 of file TGeoEltu.cxx.

References TMath::Abs(), TGeoShape::Big(), d, TGeoTube::fDz, TGeoTube::fRmax, TGeoTube::fRmin, kFALSE, kTRUE, TMath::Max(), TMath::Min(), TMath::Sqrt(), TGeoShape::Tolerance(), x0, and x1.

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

Reimplemented from TGeoTube.

Definition at line 398 of file TGeoEltu.cxx.

References TObject::ClassName(), TGeoTube::fDz, TGeoTube::fRmax, TGeoTube::fRmin, TGeoShape::GetName(), TGeoShape::GetPointerName(), TGeoShape::kGeoSavePrimitive, TObject::SetBit(), and TObject::TestBit().

void TGeoEltu::SetEltuDimensions ( Double_t  a,
Double_t  b,
Double_t  dz 
)

Definition at line 411 of file TGeoEltu.cxx.

References TGeoTube::fDz, TGeoTube::fRmax, TGeoTube::fRmin, TGeoShape::kGeoRunTimeShape, and TGeoShape::SetShapeBit().

Referenced by SetDimensions(), and TGeoEltu().

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

Reimplemented from TGeoTube.

Definition at line 423 of file TGeoEltu.cxx.

References a, b, and SetEltuDimensions().

Referenced by TGeoEltuEditor::DoApply(), and TGeoEltu().

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

Reimplemented from TGeoTube.

Definition at line 433 of file TGeoEltu.cxx.

References TMath::Cos(), TMath::DegToRad(), TGeoTube::fDz, TGeoTube::fRmax, TGeoTube::fRmin, TGeoManager::GetNsegments(), gGeoManager, j, n, phi, r2, TMath::Sin(), and TMath::Sqrt().

Referenced by GetBuffer3D().

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

Reimplemented from TGeoTube.

Definition at line 492 of file TGeoEltu.cxx.

References TMath::Cos(), TMath::DegToRad(), TGeoTube::fDz, TGeoTube::fRmax, TGeoTube::fRmin, TGeoManager::GetNsegments(), gGeoManager, j, n, phi, r2, TMath::Sin(), and TMath::Sqrt().

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

Reimplemented from TGeoTube.

virtual void TGeoEltu::ComputeBBox (  )  [virtual]

Reimplemented from TGeoTube.

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

Reimplemented from TGeoTube.

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

Reimplemented from TGeoTube.

virtual Int_t TGeoEltu::DistancetoPrimitive ( Int_t  px,
Int_t  py 
) [virtual]

Reimplemented from TGeoTube.

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

Reimplemented from TGeoTube.

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

Reimplemented from TGeoTube.

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

Reimplemented from TGeoTube.

virtual Double_t TGeoEltu::GetA (  )  const [inline, virtual]

Definition at line 50 of file TGeoEltu.h.

References TGeoTube::fRmin.

virtual Double_t TGeoEltu::GetB (  )  const [inline, virtual]

Definition at line 51 of file TGeoEltu.h.

References TGeoTube::fRmax.

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

Reimplemented from TGeoTube.

virtual const TBuffer3D& TGeoEltu::GetBuffer3D ( Int_t  reqSections,
Bool_t  localFrame 
) const [virtual]

Reimplemented from TGeoTube.

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

Reimplemented from TGeoTube.

virtual void TGeoEltu::GetMeshNumbers ( Int_t nvert,
Int_t nsegs,
Int_t npols 
) const [virtual]

Reimplemented from TGeoTube.

virtual Int_t TGeoEltu::GetNmeshVertices (  )  const [virtual]

Reimplemented from TGeoTube.

virtual Bool_t TGeoEltu::GetPointsOnSegments ( Int_t  ,
Double_t  
) const [inline, virtual]

Reimplemented from TGeoTube.

Definition at line 57 of file TGeoEltu.h.

References kFALSE.

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

Reimplemented from TGeoTube.

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

Reimplemented from TGeoTube.

Definition at line 59 of file TGeoEltu.h.

References kTRUE.

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

Reimplemented from TGeoTube.

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

Reimplemented from TGeoTube.

void TGeoEltu::SetEltuDimensions ( Double_t  a,
Double_t  b,
Double_t  dz 
)

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

Reimplemented from TGeoTube.

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

Reimplemented from TGeoTube.

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

Reimplemented from TGeoTube.


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