TGeoPcon Class Reference

#include <TGeoPcon.h>

Inheritance diagram for TGeoPcon:

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

Public Member Functions

 TGeoPcon ()
 TGeoPcon (Double_t phi, Double_t dphi, Int_t nz)
 TGeoPcon (const char *name, Double_t phi, Double_t dphi, Int_t nz)
 TGeoPcon (Double_t *params)
virtual ~TGeoPcon ()
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 void DefineSection (Int_t snum, Double_t z, Double_t rmin, Double_t rmax)
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
Double_t DistToSegZ (Double_t *point, Double_t *dir, Int_t &iz, Double_t c1, Double_t s1, Double_t c2, Double_t s2, Double_t cfio, Double_t sfio, Double_t cdfi) const
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
virtual TGeoVolumeDivide (TGeoVolume *voldiv, const char *divname, Int_t iaxis, Int_t ndiv, Double_t start, Double_t step)
virtual const char * GetAxisName (Int_t iaxis) const
virtual Double_t GetAxisRange (Int_t iaxis, Double_t &xlo, Double_t &xhi) const
virtual void GetBoundingCylinder (Double_t *param) const
virtual const TBuffer3DGetBuffer3D (Int_t reqSections, Bool_t localFrame) const
virtual Int_t GetByteCount () const
Double_t GetPhi1 () const
Double_t GetDphi () const
Int_t GetNz () const
virtual Int_t GetNsegments () const
Double_tGetRmin () const
Double_t GetRmin (Int_t ipl) const
Double_tGetRmax () const
Double_t GetRmax (Int_t ipl) const
Double_tGetZ () const
Double_t GetZ (Int_t ipl) const
virtual TGeoShapeGetMakeRuntimeShape (TGeoShape *, TGeoMatrix *) const
virtual Int_t GetNmeshVertices () const
virtual Bool_t GetPointsOnSegments (Int_t, Double_t *) const
virtual void GetMeshNumbers (Int_t &nvert, Int_t &nsegs, Int_t &npols) const
virtual void InspectShape () const
virtual Bool_t IsCylType () const
virtual TBuffer3DMakeBuffer3D () const
Double_tPhi1 ()
Double_tDphi ()
Double_tRmin (Int_t ipl)
Double_tRmax (Int_t ipl)
Double_tZ (Int_t ipl)
virtual Double_t Safety (Double_t *point, Bool_t in=kTRUE) const
Double_t SafetyToSegment (Double_t *point, Int_t ipl, Bool_t in=kTRUE, Double_t safmin=TGeoShape::Big()) 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 SetSegsAndPols (TBuffer3D &buff) const
virtual void Sizeof3D () const
 TGeoPcon ()
 TGeoPcon (Double_t phi, Double_t dphi, Int_t nz)
 TGeoPcon (const char *name, Double_t phi, Double_t dphi, Int_t nz)
 TGeoPcon (Double_t *params)
virtual ~TGeoPcon ()
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 void DefineSection (Int_t snum, Double_t z, Double_t rmin, Double_t rmax)
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
Double_t DistToSegZ (Double_t *point, Double_t *dir, Int_t &iz, Double_t c1, Double_t s1, Double_t c2, Double_t s2, Double_t cfio, Double_t sfio, Double_t cdfi) const
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
virtual TGeoVolumeDivide (TGeoVolume *voldiv, const char *divname, Int_t iaxis, Int_t ndiv, Double_t start, Double_t step)
virtual const char * GetAxisName (Int_t iaxis) const
virtual Double_t GetAxisRange (Int_t iaxis, Double_t &xlo, Double_t &xhi) const
virtual void GetBoundingCylinder (Double_t *param) const
virtual const TBuffer3DGetBuffer3D (Int_t reqSections, Bool_t localFrame) const
virtual Int_t GetByteCount () const
Double_t GetPhi1 () const
Double_t GetDphi () const
Int_t GetNz () const
virtual Int_t GetNsegments () const
Double_tGetRmin () const
Double_t GetRmin (Int_t ipl) const
Double_tGetRmax () const
Double_t GetRmax (Int_t ipl) const
Double_tGetZ () const
Double_t GetZ (Int_t ipl) const
virtual TGeoShapeGetMakeRuntimeShape (TGeoShape *, TGeoMatrix *) const
virtual Int_t GetNmeshVertices () const
virtual Bool_t GetPointsOnSegments (Int_t, Double_t *) const
virtual void GetMeshNumbers (Int_t &nvert, Int_t &nsegs, Int_t &npols) const
virtual void InspectShape () const
virtual Bool_t IsCylType () const
virtual TBuffer3DMakeBuffer3D () const
Double_tPhi1 ()
Double_tDphi ()
Double_tRmin (Int_t ipl)
Double_tRmax (Int_t ipl)
Double_tZ (Int_t ipl)
virtual Double_t Safety (Double_t *point, Bool_t in=kTRUE) const
Double_t SafetyToSegment (Double_t *point, Int_t ipl, Bool_t in=kTRUE, Double_t safmin=TGeoShape::Big()) 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 SetSegsAndPols (TBuffer3D &buff) const
virtual void Sizeof3D () const

Protected Member Functions

 TGeoPcon (const TGeoPcon &)
TGeoPconoperator= (const TGeoPcon &)
 TGeoPcon (const TGeoPcon &)
TGeoPconoperator= (const TGeoPcon &)

Protected Attributes

Int_t fNz
Double_t fPhi1
Double_t fDphi
Double_tfRmin
Double_tfRmax
Double_tfZ
Double_tfRmin
Double_tfRmax
Double_tfZ

Detailed Description

Definition at line 31 of file TGeoPcon.h.


Constructor & Destructor Documentation

TGeoPcon::TGeoPcon ( const TGeoPcon  )  [protected]

Definition at line 142 of file TGeoPcon.cxx.

TGeoPcon::TGeoPcon (  ) 

Referenced by Divide().

TGeoPcon::TGeoPcon ( Double_t  phi,
Double_t  dphi,
Int_t  nz 
)

Definition at line 76 of file TGeoPcon.cxx.

References fPhi1, fRmax, fRmin, fZ, TGeoShape::kGeoPcon, and TGeoShape::SetShapeBit().

TGeoPcon::TGeoPcon ( const char *  name,
Double_t  phi,
Double_t  dphi,
Int_t  nz 
)

Definition at line 97 of file TGeoPcon.cxx.

References fPhi1, fRmax, fRmin, fZ, TGeoShape::kGeoPcon, and TGeoShape::SetShapeBit().

TGeoPcon::TGeoPcon ( Double_t params  ) 

Definition at line 118 of file TGeoPcon.cxx.

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

TGeoPcon::~TGeoPcon (  )  [virtual]

Definition at line 171 of file TGeoPcon.cxx.

References fRmax, fRmin, and fZ.

TGeoPcon::TGeoPcon ( const TGeoPcon  )  [protected]

TGeoPcon::TGeoPcon (  ) 

TGeoPcon::TGeoPcon ( Double_t  phi,
Double_t  dphi,
Int_t  nz 
)

TGeoPcon::TGeoPcon ( const char *  name,
Double_t  phi,
Double_t  dphi,
Int_t  nz 
)

TGeoPcon::TGeoPcon ( Double_t params  ) 

virtual TGeoPcon::~TGeoPcon (  )  [virtual]


Member Function Documentation

TGeoPcon & TGeoPcon::operator= ( const TGeoPcon  )  [protected]

Definition at line 155 of file TGeoPcon.cxx.

References fDphi, fNz, fPhi1, fRmax, fRmin, fZ, and TNamed::operator=().

Double_t TGeoPcon::Capacity (  )  const [virtual]

Reimplemented from TGeoBBox.

Definition at line 180 of file TGeoPcon.cxx.

References TGeoConeSeg::Capacity(), fDphi, fNz, fPhi1, fRmax, fRmin, fZ, and TGeoShape::Tolerance().

void TGeoPcon::ComputeBBox (  )  [virtual]

Reimplemented from TGeoBBox.

Definition at line 201 of file TGeoPcon.cxx.

References TMath::Abs(), TMath::Cos(), TMath::DegToRad(), TObject::Fatal(), fDphi, TGeoBBox::fDX, TGeoBBox::fDY, TGeoBBox::fDZ, fNz, TGeoBBox::fOrigin, fPhi1, fRmax, fRmin, fZ, TGeoManager::GetListOfShapes(), TGeoShape::GetName(), gGeoManager, TObjArray::IndexOf(), InspectShape(), TGeoShape::kGeoClosedShape, TMath::LocMax(), TMath::LocMin(), TMath::Max(), TMath::Min(), TGeoShape::SetShapeBit(), TMath::Sin(), TGeoShape::Tolerance(), xmax, xmin, ymax, and ymin.

Referenced by DefineSection(), TGeoPconEditor::DoApply(), and TGeoPcon().

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

Reimplemented from TGeoBBox.

Definition at line 266 of file TGeoPcon.cxx.

References TMath::Abs(), TMath::BinarySearch(), c1, TGeoTubeSeg::ComputeNormalS(), TGeoCone::ComputeNormalS(), TGeoConeSeg::ComputeNormalS(), TGeoTube::ComputeNormalS(), TMath::Cos(), TMath::DegToRad(), E, fDphi, fNz, fPhi1, fRmax, fRmin, fZ, TGeoShape::IsSameWithinTolerance(), kFALSE, kTRUE, TMath::Max(), TMath::Min(), s1, s2, TMath::Sign(), TMath::Sin(), and TMath::Sqrt().

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

Reimplemented from TGeoBBox.

Definition at line 337 of file TGeoPcon.cxx.

References TMath::ATan2(), E, fDphi, fNz, fPhi1, fRmax, fRmin, fZ, TGeoShape::IsSameWithinTolerance(), kFALSE, kTRUE, TMath::Max(), TMath::Min(), phi, r2, and TMath::RadToDeg().

Referenced by DistFromInside().

void TGeoPcon::DefineSection ( Int_t  snum,
Double_t  z,
Double_t  rmin,
Double_t  rmax 
) [virtual]

Definition at line 563 of file TGeoPcon.cxx.

References ComputeBBox(), fNz, fRmax, fRmin, fZ, TGeoShape::GetName(), and TObject::Warning().

Referenced by Divide(), TGeoPgon::Divide(), TGeoPgon::SetDimensions(), and SetDimensions().

Double_t TGeoPcon::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 388 of file TGeoPcon.cxx.

References TGeoShape::Big(), TMath::BinarySearch(), c1, Contains(), TMath::Cos(), TMath::DegToRad(), TGeoTubeSeg::DistFromInsideS(), TGeoTube::DistFromInsideS(), TGeoCone::DistFromInsideS(), TGeoConeSeg::DistFromInsideS(), E, fDphi, fNz, fPhi1, fRmax, fRmin, fZ, i, TGeoShape::IsSameWithinTolerance(), kFALSE, kTRUE, TMath::Max(), TMath::Min(), s1, s2, Safety(), and TMath::Sin().

Double_t TGeoPcon::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 505 of file TGeoPcon.cxx.

References TMath::ATan2(), TGeoShape::Big(), TMath::BinarySearch(), c1, TMath::Cos(), TMath::DegToRad(), TGeoBBox::DistFromOutside(), DistToSegZ(), fDphi, TGeoBBox::fDX, TGeoBBox::fDY, TGeoBBox::fDZ, fNz, TGeoBBox::fOrigin, fPhi1, fRmax, fZ, kFALSE, kTRUE, TMath::LocMax(), phi, TMath::Pi(), r2, s1, s2, Safety(), TMath::Sin(), and TMath::Sqrt().

Double_t TGeoPcon::DistToSegZ ( Double_t point,
Double_t dir,
Int_t iz,
Double_t  c1,
Double_t  s1,
Double_t  c2,
Double_t  s2,
Double_t  cfio,
Double_t  sfio,
Double_t  cdfi 
) const

Definition at line 464 of file TGeoPcon.cxx.

References TGeoShape::Big(), TGeoConeSeg::DistFromOutsideS(), TGeoTube::DistFromOutsideS(), TGeoCone::DistFromOutsideS(), TGeoTubeSeg::DistFromOutsideS(), fDphi, fNz, fRmax, fRmin, fZ, TGeoShape::IsSameWithinTolerance(), kFALSE, kTRUE, and local.

Referenced by DistFromOutside().

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

Reimplemented from TGeoBBox.

Definition at line 379 of file TGeoPcon.cxx.

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

TGeoVolume * TGeoPcon::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 606 of file TGeoPcon.cxx.

References TGeoVolume::AddNodeOffset(), TGeoVolumeMulti::AddVolume(), TObjArray::At(), TString::Data(), DefineSection(), TObject::Error(), fDphi, fNz, fPhi1, fRmax, fRmin, fZ, TGeoVolume::GetMedium(), TGeoShape::GetName(), TGeoVolume::GetNdaughters(), TGeoVolume::GetNodes(), gGeoManager, id, TGeoShape::IsSameWithinTolerance(), kFALSE, kTRUE, TGeoManager::MakeVolumeMulti(), TGeoPatternFinder::SetDivIndex(), TGeoVolume::SetFinder(), and TGeoPcon().

const char * TGeoPcon::GetAxisName ( Int_t  iaxis  )  const [virtual]

Reimplemented from TGeoBBox.

Definition at line 694 of file TGeoPcon.cxx.

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

Reimplemented from TGeoBBox.

Definition at line 710 of file TGeoPcon.cxx.

References fDphi, fNz, fPhi1, and fZ.

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

Reimplemented from TGeoBBox.

Definition at line 732 of file TGeoPcon.cxx.

References fDphi, fNz, fPhi1, fRmax, fRmin, i, and TGeoShape::IsSameWithinTolerance().

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

Reimplemented from TGeoBBox.

Definition at line 1258 of file TGeoPcon.cxx.

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

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

Reimplemented from TGeoBBox.

Definition at line 73 of file TGeoPcon.h.

References fNz.

Double_t TGeoPcon::GetPhi1 (  )  const [inline]

Definition at line 74 of file TGeoPcon.h.

References fPhi1.

Referenced by TGeoPgonEditor::DoApply(), TGeoPconEditor::DoApply(), TGeoPconEditor::SetModel(), and TGeoPgonEditor::SetModel().

Double_t TGeoPcon::GetDphi (  )  const [inline]

Definition at line 75 of file TGeoPcon.h.

References fDphi.

Referenced by TGeoPgonEditor::DoApply(), TGeoPconEditor::DoApply(), TGeoPgon::GetBuffer3D(), GetBuffer3D(), GetMeshNumbers(), TGeoPgon::GetMeshNumbers(), TGeoPgon::MakeBuffer3D(), MakeBuffer3D(), TGeoPconEditor::SetModel(), TGeoPgonEditor::SetModel(), SetSegsAndPols(), and TGeoPgon::SetSegsAndPols().

Int_t TGeoPcon::GetNz (  )  const [inline]

Definition at line 76 of file TGeoPcon.h.

References fNz.

Referenced by TGeoPgonEditor::DoApply(), TGeoPconEditor::DoApply(), TGeoPgon::GetBuffer3D(), GetBuffer3D(), GetMeshNumbers(), TGeoPgon::GetMeshNumbers(), TGeoPgon::MakeBuffer3D(), MakeBuffer3D(), TGeoPconEditor::SetModel(), TGeoPgonEditor::SetModel(), SetSegsAndPols(), and TGeoPgon::SetSegsAndPols().

Int_t TGeoPcon::GetNsegments (  )  const [virtual]

Definition at line 599 of file TGeoPcon.cxx.

References TGeoManager::GetNsegments(), and gGeoManager.

Double_t* TGeoPcon::GetRmin (  )  const [inline]

Definition at line 78 of file TGeoPcon.h.

References fRmin.

Referenced by TGeoPconEditor::UpdateSections().

Double_t TGeoPcon::GetRmin ( Int_t  ipl  )  const

Definition at line 754 of file TGeoPcon.cxx.

References TObject::Error(), fNz, fRmin, and TGeoShape::GetName().

Double_t* TGeoPcon::GetRmax (  )  const [inline]

Definition at line 80 of file TGeoPcon.h.

References fRmax.

Referenced by TGeoPconEditor::UpdateSections().

Double_t TGeoPcon::GetRmax ( Int_t  ipl  )  const

Definition at line 765 of file TGeoPcon.cxx.

References TObject::Error(), fNz, fRmax, and TGeoShape::GetName().

Double_t* TGeoPcon::GetZ (  )  const [inline]

Definition at line 82 of file TGeoPcon.h.

References fZ.

Referenced by TGeoPconEditor::UpdateSections().

Double_t TGeoPcon::GetZ ( Int_t  ipl  )  const

Definition at line 776 of file TGeoPcon.cxx.

References TObject::Error(), fNz, fZ, and TGeoShape::GetName().

virtual TGeoShape* TGeoPcon::GetMakeRuntimeShape ( TGeoShape ,
TGeoMatrix  
) const [inline, virtual]

Reimplemented from TGeoBBox.

Definition at line 84 of file TGeoPcon.h.

Int_t TGeoPcon::GetNmeshVertices (  )  const [virtual]

Reimplemented from TGeoBBox.

Definition at line 1221 of file TGeoPcon.cxx.

References fNz, TGeoManager::GetNsegments(), gGeoManager, and n.

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

Reimplemented from TGeoBBox.

Definition at line 86 of file TGeoPcon.h.

References kFALSE.

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

Reimplemented from TGeoBBox.

Definition at line 1246 of file TGeoPcon.cxx.

References GetDphi(), TGeoManager::GetNsegments(), GetNz(), gGeoManager, TGeoShape::IsSameWithinTolerance(), kTRUE, and n.

void TGeoPcon::InspectShape (  )  const [virtual]

Reimplemented from TGeoBBox.

Definition at line 787 of file TGeoPcon.cxx.

References fDphi, fNz, fPhi1, fRmax, fRmin, fZ, TGeoShape::GetName(), and TGeoBBox::InspectShape().

Referenced by ComputeBBox(), and TGeoPgon::InspectShape().

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

Reimplemented from TGeoBBox.

Definition at line 89 of file TGeoPcon.h.

References kTRUE.

TBuffer3D * TGeoPcon::MakeBuffer3D (  )  const [virtual]

Reimplemented from TGeoBBox.

Definition at line 801 of file TGeoPcon.cxx.

References TBuffer3D::fPnts, GetDphi(), TGeoManager::GetNsegments(), GetNz(), gGeoManager, TGeoShape::IsSameWithinTolerance(), kFALSE, TBuffer3DTypes::kGeneric, kTRUE, n, SetPoints(), and SetSegsAndPols().

Double_t& TGeoPcon::Phi1 (  )  [inline]

Definition at line 91 of file TGeoPcon.h.

References fPhi1.

Referenced by TGeoPgonEditor::DoApply(), and TGeoPconEditor::DoApply().

Double_t& TGeoPcon::Dphi (  )  [inline]

Definition at line 92 of file TGeoPcon.h.

References fDphi.

Referenced by TGeoPgonEditor::DoApply(), and TGeoPconEditor::DoApply().

Double_t& TGeoPcon::Rmin ( Int_t  ipl  )  [inline]

Definition at line 93 of file TGeoPcon.h.

References fRmin.

Referenced by TGeoPgonEditor::DoApply(), and TGeoPconEditor::DoApply().

Double_t& TGeoPcon::Rmax ( Int_t  ipl  )  [inline]

Definition at line 94 of file TGeoPcon.h.

References fRmax.

Referenced by TGeoPgonEditor::DoApply(), and TGeoPconEditor::DoApply().

Double_t& TGeoPcon::Z ( Int_t  ipl  )  [inline]

Definition at line 95 of file TGeoPcon.h.

References fZ.

Referenced by TGeoPgonEditor::DoApply(), and TGeoPconEditor::DoApply().

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

Reimplemented from TGeoBBox.

Definition at line 1033 of file TGeoPcon.cxx.

References TMath::Abs(), TGeoShape::Big(), TMath::BinarySearch(), E, fDphi, fNz, fPhi1, fRmax, fRmin, fZ, TGeoShape::IsSameWithinTolerance(), kFALSE, TMath::Min(), TGeoShape::SafetyPhi(), SafetyToSegment(), and TMath::Sqrt().

Referenced by DistFromInside(), and DistFromOutside().

Double_t TGeoPcon::SafetyToSegment ( Double_t point,
Int_t  ipl,
Bool_t  in = kTRUE,
Double_t  safmin = TGeoShape::Big() 
) const

Definition at line 1001 of file TGeoPcon.cxx.

References TMath::Abs(), TGeoShape::Big(), E, fDphi, fNz, fPhi1, fRmax, fRmin, fZ, TGeoShape::IsSameWithinTolerance(), kFALSE, kTRUE, safe, TGeoCone::SafetyS(), TGeoTubeSeg::SafetyS(), TGeoTube::SafetyS(), and TGeoConeSeg::SafetyS().

Referenced by Safety().

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

Reimplemented from TGeoBBox.

Definition at line 1122 of file TGeoPcon.cxx.

References TObject::ClassName(), fDphi, fNz, fPhi1, fRmax, fRmin, fZ, TGeoShape::GetName(), TGeoShape::GetPointerName(), i, TGeoShape::kGeoSavePrimitive, TObject::SetBit(), and TObject::TestBit().

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

Reimplemented from TGeoBBox.

Definition at line 1142 of file TGeoPcon.cxx.

References DefineSection(), TObject::Error(), fDphi, fNz, fPhi1, fRmax, fRmin, fZ, TGeoShape::GetName(), and i.

Referenced by TGeoPconEditor::DoApply(), and TGeoPcon().

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

Reimplemented from TGeoBBox.

Definition at line 1166 of file TGeoPcon.cxx.

References TMath::Cos(), TMath::DegToRad(), fDphi, fNz, fPhi1, fRmax, fRmin, fZ, TGeoManager::GetNsegments(), gGeoManager, i, j, n, phi, and TMath::Sin().

Referenced by GetBuffer3D(), and MakeBuffer3D().

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

Reimplemented from TGeoBBox.

Definition at line 1194 of file TGeoPcon.cxx.

References TMath::Cos(), TMath::DegToRad(), fDphi, fNz, fPhi1, fRmax, fRmin, fZ, TGeoManager::GetNsegments(), gGeoManager, i, j, n, phi, and TMath::Sin().

void TGeoPcon::SetSegsAndPols ( TBuffer3D buff  )  const [virtual]

Reimplemented from TGeoBBox.

Definition at line 830 of file TGeoPcon.cxx.

References c, TBuffer3D::fPols, TBuffer3D::fSegs, TGeoShape::GetBasicColor(), GetDphi(), TGeoManager::GetNsegments(), GetNz(), gGeoManager, i, TGeoShape::IsSameWithinTolerance(), j, k, kFALSE, kTRUE, m, and n.

Referenced by GetBuffer3D(), and MakeBuffer3D().

void TGeoPcon::Sizeof3D (  )  const [virtual]

Reimplemented from TGeoBBox.

Definition at line 1230 of file TGeoPcon.cxx.

TGeoPcon& TGeoPcon::operator= ( const TGeoPcon  )  [protected]

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

Reimplemented from TGeoBBox.

virtual void TGeoPcon::ComputeBBox (  )  [virtual]

Reimplemented from TGeoBBox.

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

Reimplemented from TGeoBBox.

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

Reimplemented from TGeoBBox.

virtual void TGeoPcon::DefineSection ( Int_t  snum,
Double_t  z,
Double_t  rmin,
Double_t  rmax 
) [virtual]

virtual Double_t TGeoPcon::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 TGeoPcon::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.

Double_t TGeoPcon::DistToSegZ ( Double_t point,
Double_t dir,
Int_t iz,
Double_t  c1,
Double_t  s1,
Double_t  c2,
Double_t  s2,
Double_t  cfio,
Double_t  sfio,
Double_t  cdfi 
) const

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

Reimplemented from TGeoBBox.

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

Reimplemented from TGeoBBox.

virtual const char* TGeoPcon::GetAxisName ( Int_t  iaxis  )  const [virtual]

Reimplemented from TGeoBBox.

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

Reimplemented from TGeoBBox.

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

Reimplemented from TGeoBBox.

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

Reimplemented from TGeoBBox.

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

Reimplemented from TGeoBBox.

Definition at line 73 of file TGeoPcon.h.

References fNz.

Double_t TGeoPcon::GetPhi1 (  )  const [inline]

Definition at line 74 of file TGeoPcon.h.

References fPhi1.

Double_t TGeoPcon::GetDphi (  )  const [inline]

Definition at line 75 of file TGeoPcon.h.

References fDphi.

Int_t TGeoPcon::GetNz (  )  const [inline]

Definition at line 76 of file TGeoPcon.h.

References fNz.

virtual Int_t TGeoPcon::GetNsegments (  )  const [virtual]

Double_t* TGeoPcon::GetRmin (  )  const [inline]

Definition at line 78 of file TGeoPcon.h.

References fRmin.

Double_t TGeoPcon::GetRmin ( Int_t  ipl  )  const

Double_t* TGeoPcon::GetRmax (  )  const [inline]

Definition at line 80 of file TGeoPcon.h.

References fRmax.

Double_t TGeoPcon::GetRmax ( Int_t  ipl  )  const

Double_t* TGeoPcon::GetZ (  )  const [inline]

Definition at line 82 of file TGeoPcon.h.

References fZ.

Double_t TGeoPcon::GetZ ( Int_t  ipl  )  const

virtual TGeoShape* TGeoPcon::GetMakeRuntimeShape ( TGeoShape ,
TGeoMatrix  
) const [inline, virtual]

Reimplemented from TGeoBBox.

Definition at line 84 of file TGeoPcon.h.

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

Reimplemented from TGeoBBox.

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

Reimplemented from TGeoBBox.

Definition at line 86 of file TGeoPcon.h.

References kFALSE.

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

Reimplemented from TGeoBBox.

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

Reimplemented from TGeoBBox.

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

Reimplemented from TGeoBBox.

Definition at line 89 of file TGeoPcon.h.

References kTRUE.

virtual TBuffer3D* TGeoPcon::MakeBuffer3D (  )  const [virtual]

Reimplemented from TGeoBBox.

Double_t& TGeoPcon::Phi1 (  )  [inline]

Definition at line 91 of file TGeoPcon.h.

References fPhi1.

Double_t& TGeoPcon::Dphi (  )  [inline]

Definition at line 92 of file TGeoPcon.h.

References fDphi.

Double_t& TGeoPcon::Rmin ( Int_t  ipl  )  [inline]

Definition at line 93 of file TGeoPcon.h.

References fRmin.

Double_t& TGeoPcon::Rmax ( Int_t  ipl  )  [inline]

Definition at line 94 of file TGeoPcon.h.

References fRmax.

Double_t& TGeoPcon::Z ( Int_t  ipl  )  [inline]

Definition at line 95 of file TGeoPcon.h.

References fZ.

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

Reimplemented from TGeoBBox.

Double_t TGeoPcon::SafetyToSegment ( Double_t point,
Int_t  ipl,
Bool_t  in = kTRUE,
Double_t  safmin = TGeoShape::Big() 
) const

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

Reimplemented from TGeoBBox.

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

Reimplemented from TGeoBBox.

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

Reimplemented from TGeoBBox.

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

Reimplemented from TGeoBBox.

virtual void TGeoPcon::SetSegsAndPols ( TBuffer3D buff  )  const [virtual]

Reimplemented from TGeoBBox.

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

Reimplemented from TGeoBBox.


Member Data Documentation

Int_t TGeoPcon::fNz [protected]

Definition at line 35 of file TGeoPcon.h.

Referenced by Capacity(), TGeoPgon::Capacity(), TGeoPgon::ComputeBBox(), ComputeBBox(), TGeoPgon::ComputeNormal(), ComputeNormal(), TGeoPgon::Contains(), Contains(), DefineSection(), DistancetoPrimitive(), TGeoPgon::DistancetoPrimitive(), DistFromInside(), TGeoPgon::DistFromInside(), TGeoPgon::DistFromOutside(), DistFromOutside(), DistToSegZ(), Divide(), TGeoPgon::Divide(), GetAxisRange(), GetBoundingCylinder(), TGeoPgon::GetBoundingCylinder(), TGeoPgon::GetByteCount(), GetByteCount(), GetNmeshVertices(), TGeoPgon::GetNmeshVertices(), GetNz(), GetRmax(), GetRmin(), GetZ(), InspectShape(), TGeoPgon::IsCrossingSlice(), operator=(), TGeoPgon::Rpg(), TGeoPgon::Safety(), Safety(), SafetyToSegment(), TGeoPgon::SafetyToSegment(), SavePrimitive(), TGeoPgon::SavePrimitive(), TGeoPgon::SetDimensions(), SetDimensions(), SetPoints(), TGeoPgon::SetPoints(), TGeoPgon::SliceCrossing(), TGeoPgon::SliceCrossingIn(), TGeoPgon::SliceCrossingInZ(), and TGeoPgon::SliceCrossingZ().

Double_t TGeoPcon::fPhi1 [protected]

Definition at line 36 of file TGeoPcon.h.

Referenced by Capacity(), TGeoPgon::ComputeBBox(), ComputeBBox(), TGeoPgon::ComputeNormal(), ComputeNormal(), TGeoPgon::Contains(), Contains(), DistFromInside(), TGeoPgon::DistFromInside(), TGeoPgon::DistFromOutside(), DistFromOutside(), Divide(), TGeoPgon::Divide(), GetAxisRange(), GetBoundingCylinder(), TGeoPgon::GetBoundingCylinder(), GetPhi1(), TGeoPgon::GetPhiCrossList(), InspectShape(), TGeoPgon::IsCrossingSlice(), TGeoPgon::LocatePhi(), operator=(), Phi1(), TGeoPgon::Safety(), Safety(), SafetyToSegment(), TGeoPgon::SafetyToSegment(), SavePrimitive(), TGeoPgon::SavePrimitive(), TGeoPgon::SetDimensions(), SetDimensions(), SetPoints(), TGeoPgon::SetPoints(), TGeoPgon::SliceCrossing(), TGeoPgon::SliceCrossingIn(), TGeoPgon::SliceCrossingInZ(), TGeoPgon::SliceCrossingZ(), and TGeoPcon().

Double_t TGeoPcon::fDphi [protected]

Definition at line 37 of file TGeoPcon.h.

Referenced by Capacity(), TGeoPgon::Capacity(), TGeoPgon::ComputeBBox(), ComputeBBox(), TGeoPgon::ComputeNormal(), ComputeNormal(), TGeoPgon::Contains(), Contains(), DistFromInside(), TGeoPgon::DistFromInside(), TGeoPgon::DistFromOutside(), DistFromOutside(), DistToSegZ(), Divide(), TGeoPgon::Divide(), Dphi(), GetAxisRange(), GetBoundingCylinder(), TGeoPgon::GetBoundingCylinder(), GetDphi(), TGeoPgon::GetPhiCrossList(), InspectShape(), TGeoPgon::IsCrossingSlice(), TGeoPgon::LocatePhi(), operator=(), TGeoPgon::Safety(), Safety(), SafetyToSegment(), TGeoPgon::SafetyToSegment(), SavePrimitive(), TGeoPgon::SavePrimitive(), TGeoPgon::SetDimensions(), SetDimensions(), SetPoints(), TGeoPgon::SetPoints(), TGeoPgon::SliceCrossing(), TGeoPgon::SliceCrossingIn(), TGeoPgon::SliceCrossingInZ(), and TGeoPgon::SliceCrossingZ().

Double_t* TGeoPcon::fRmin [protected]

Definition at line 38 of file TGeoPcon.h.

Referenced by Capacity(), TGeoPgon::Capacity(), TGeoPgon::ComputeBBox(), ComputeBBox(), TGeoPgon::ComputeNormal(), ComputeNormal(), TGeoPgon::Contains(), Contains(), DefineSection(), DistFromInside(), TGeoPgon::DistFromInside(), TGeoPgon::DistFromOutside(), DistToSegZ(), Divide(), TGeoPgon::Divide(), GetBoundingCylinder(), TGeoPgon::GetBoundingCylinder(), GetRmin(), InspectShape(), TGeoPgon::IsCrossingSlice(), operator=(), Rmin(), TGeoPgon::Rpg(), Safety(), SafetyToSegment(), TGeoPgon::SafetyToSegment(), SavePrimitive(), TGeoPgon::SavePrimitive(), TGeoPgon::SetDimensions(), SetDimensions(), SetPoints(), TGeoPgon::SetPoints(), TGeoPgon::SliceCrossingIn(), TGeoPgon::SliceCrossingInZ(), TGeoPgon::SliceCrossingZ(), TGeoPcon(), and ~TGeoPcon().

Double_t* TGeoPcon::fRmax [protected]

Definition at line 39 of file TGeoPcon.h.

Referenced by Capacity(), TGeoPgon::Capacity(), TGeoPgon::ComputeBBox(), ComputeBBox(), TGeoPgon::ComputeNormal(), ComputeNormal(), TGeoPgon::Contains(), Contains(), DefineSection(), DistFromInside(), TGeoPgon::DistFromInside(), TGeoPgon::DistFromOutside(), DistFromOutside(), DistToSegZ(), Divide(), TGeoPgon::Divide(), GetBoundingCylinder(), TGeoPgon::GetBoundingCylinder(), GetRmax(), InspectShape(), TGeoPgon::IsCrossingSlice(), operator=(), Rmax(), TGeoPgon::Rpg(), Safety(), SafetyToSegment(), TGeoPgon::SafetyToSegment(), SavePrimitive(), TGeoPgon::SavePrimitive(), TGeoPgon::SetDimensions(), SetDimensions(), SetPoints(), TGeoPgon::SetPoints(), TGeoPgon::SliceCrossingIn(), TGeoPgon::SliceCrossingInZ(), TGeoPgon::SliceCrossingZ(), TGeoPcon(), and ~TGeoPcon().

Double_t* TGeoPcon::fZ [protected]

Definition at line 40 of file TGeoPcon.h.

Referenced by Capacity(), TGeoPgon::Capacity(), TGeoPgon::ComputeBBox(), ComputeBBox(), TGeoPgon::ComputeNormal(), ComputeNormal(), TGeoPgon::Contains(), Contains(), DefineSection(), DistFromInside(), TGeoPgon::DistFromInside(), TGeoPgon::DistFromOutside(), DistFromOutside(), DistToSegZ(), Divide(), TGeoPgon::Divide(), GetAxisRange(), GetZ(), InspectShape(), TGeoPgon::IsCrossingSlice(), operator=(), TGeoPgon::Rpg(), TGeoPgon::Safety(), Safety(), SafetyToSegment(), TGeoPgon::SafetyToSegment(), SavePrimitive(), TGeoPgon::SavePrimitive(), TGeoPgon::SetDimensions(), SetDimensions(), SetPoints(), TGeoPgon::SetPoints(), TGeoPgon::SliceCrossing(), TGeoPgon::SliceCrossingIn(), TGeoPgon::SliceCrossingInZ(), TGeoPgon::SliceCrossingZ(), TGeoPcon(), Z(), and ~TGeoPcon().

Double_t* TGeoPcon::fRmin [protected]

Definition at line 38 of file TGeoPcon.h.

Double_t* TGeoPcon::fRmax [protected]

Definition at line 39 of file TGeoPcon.h.

Double_t* TGeoPcon::fZ [protected]

Definition at line 40 of file TGeoPcon.h.


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