Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
G4Tubs Class Reference

#include <G4Tubs.hh>

Inheritance diagram for G4Tubs:
Inheritance graph
[legend]
Collaboration diagram for G4Tubs:
Collaboration graph
[legend]

Public Member Functions

 G4Tubs (const G4String &pName, G4double pRMin, G4double pRMax, G4double pDz, G4double pSPhi, G4double pDPhi)
 
virtual ~G4Tubs ()
 
G4double GetInnerRadius () const
 
G4double GetOuterRadius () const
 
G4double GetZHalfLength () const
 
G4double GetStartPhiAngle () const
 
G4double GetDeltaPhiAngle () const
 
void SetInnerRadius (G4double newRMin)
 
void SetOuterRadius (G4double newRMax)
 
void SetZHalfLength (G4double newDz)
 
void SetStartPhiAngle (G4double newSPhi, G4bool trig=true)
 
void SetDeltaPhiAngle (G4double newDPhi)
 
G4double GetCubicVolume ()
 
G4double GetSurfaceArea ()
 
void ComputeDimensions (G4VPVParameterisation *p, const G4int n, const G4VPhysicalVolume *pRep)
 
G4bool CalculateExtent (const EAxis pAxis, const G4VoxelLimits &pVoxelLimit, const G4AffineTransform &pTransform, G4double &pmin, G4double &pmax) const
 
EInside Inside (const G4ThreeVector &p) const
 
G4ThreeVector SurfaceNormal (const G4ThreeVector &p) const
 
G4double DistanceToIn (const G4ThreeVector &p, const G4ThreeVector &v) const
 
G4double DistanceToIn (const G4ThreeVector &p) const
 
G4double DistanceToOut (const G4ThreeVector &p, const G4ThreeVector &v, const G4bool calcNorm=G4bool(false), G4bool *validNorm=0, G4ThreeVector *n=0) const
 
G4double DistanceToOut (const G4ThreeVector &p) const
 
G4GeometryType GetEntityType () const
 
G4ThreeVector GetPointOnSurface () const
 
G4VSolidClone () const
 
std::ostream & StreamInfo (std::ostream &os) const
 
void DescribeYourselfTo (G4VGraphicsScene &scene) const
 
G4PolyhedronCreatePolyhedron () const
 
G4NURBSCreateNURBS () const
 
 G4Tubs (__void__ &)
 
 G4Tubs (const G4Tubs &rhs)
 
G4Tubsoperator= (const G4Tubs &rhs)
 
G4double GetRMin () const
 
G4double GetRMax () const
 
G4double GetDz () const
 
G4double GetSPhi () const
 
G4double GetDPhi () const
 
- Public Member Functions inherited from G4CSGSolid
 G4CSGSolid (const G4String &pName)
 
virtual ~G4CSGSolid ()
 
virtual G4PolyhedronGetPolyhedron () const
 
 G4CSGSolid (__void__ &)
 
 G4CSGSolid (const G4CSGSolid &rhs)
 
G4CSGSolidoperator= (const G4CSGSolid &rhs)
 
- Public Member Functions inherited from G4VSolid
 G4VSolid (const G4String &name)
 
virtual ~G4VSolid ()
 
G4bool operator== (const G4VSolid &s) const
 
G4String GetName () const
 
void SetName (const G4String &name)
 
G4double GetTolerance () const
 
void DumpInfo () const
 
virtual G4VisExtent GetExtent () const
 
virtual const G4VSolidGetConstituentSolid (G4int no) const
 
virtual G4VSolidGetConstituentSolid (G4int no)
 
virtual const G4DisplacedSolidGetDisplacedSolidPtr () const
 
virtual G4DisplacedSolidGetDisplacedSolidPtr ()
 
 G4VSolid (__void__ &)
 
 G4VSolid (const G4VSolid &rhs)
 
G4VSolidoperator= (const G4VSolid &rhs)
 

Protected Types

enum  ESide {
  kNull, kRMin, kRMax, kSPhi,
  kEPhi, kPZ, kMZ
}
 
enum  ENorm {
  kNRMin, kNRMax, kNSPhi, kNEPhi,
  kNZ
}
 

Protected Member Functions

G4ThreeVectorListCreateRotatedVertices (const G4AffineTransform &pTransform) const
 
void Initialize ()
 
void CheckSPhiAngle (G4double sPhi)
 
void CheckDPhiAngle (G4double dPhi)
 
void CheckPhiAngles (G4double sPhi, G4double dPhi)
 
void InitializeTrigonometry ()
 
virtual G4ThreeVector ApproxSurfaceNormal (const G4ThreeVector &p) const
 
- Protected Member Functions inherited from G4CSGSolid
G4double GetRadiusInRing (G4double rmin, G4double rmax) const
 
- Protected Member Functions inherited from G4VSolid
void CalculateClippedPolygonExtent (G4ThreeVectorList &pPolygon, const G4VoxelLimits &pVoxelLimit, const EAxis pAxis, G4double &pMin, G4double &pMax) const
 
void ClipCrossSection (G4ThreeVectorList *pVertices, const G4int pSectionIndex, const G4VoxelLimits &pVoxelLimit, const EAxis pAxis, G4double &pMin, G4double &pMax) const
 
void ClipBetweenSections (G4ThreeVectorList *pVertices, const G4int pSectionIndex, const G4VoxelLimits &pVoxelLimit, const EAxis pAxis, G4double &pMin, G4double &pMax) const
 
void ClipPolygon (G4ThreeVectorList &pPolygon, const G4VoxelLimits &pVoxelLimit, const EAxis pAxis) const
 
G4double EstimateCubicVolume (G4int nStat, G4double epsilon) const
 
G4double EstimateSurfaceArea (G4int nStat, G4double ell) const
 

Protected Attributes

G4double kRadTolerance
 
G4double kAngTolerance
 
G4double fRMin
 
G4double fRMax
 
G4double fDz
 
G4double fSPhi
 
G4double fDPhi
 
G4double sinCPhi
 
G4double cosCPhi
 
G4double cosHDPhiOT
 
G4double cosHDPhiIT
 
G4double sinSPhi
 
G4double cosSPhi
 
G4double sinEPhi
 
G4double cosEPhi
 
G4bool fPhiFullTube
 
- Protected Attributes inherited from G4CSGSolid
G4double fCubicVolume
 
G4double fSurfaceArea
 
G4PolyhedronfpPolyhedron
 
- Protected Attributes inherited from G4VSolid
G4double kCarTolerance
 

Detailed Description

Definition at line 76 of file G4Tubs.hh.

Member Enumeration Documentation

enum G4Tubs::ENorm
protected
Enumerator
kNRMin 
kNRMax 
kNSPhi 
kNEPhi 
kNZ 

Definition at line 203 of file G4Tubs.hh.

enum G4Tubs::ESide
protected
Enumerator
kNull 
kRMin 
kRMax 
kSPhi 
kEPhi 
kPZ 
kMZ 

Definition at line 199 of file G4Tubs.hh.

Constructor & Destructor Documentation

G4Tubs::G4Tubs ( const G4String pName,
G4double  pRMin,
G4double  pRMax,
G4double  pDz,
G4double  pSPhi,
G4double  pDPhi 
)

Definition at line 88 of file G4Tubs.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4Tubs::~G4Tubs ( )
virtual

Definition at line 136 of file G4Tubs.cc.

G4Tubs::G4Tubs ( __void__ &  a)

Definition at line 123 of file G4Tubs.cc.

G4Tubs::G4Tubs ( const G4Tubs rhs)

Definition at line 144 of file G4Tubs.cc.

Member Function Documentation

G4ThreeVector G4Tubs::ApproxSurfaceNormal ( const G4ThreeVector p) const
protectedvirtual

Reimplemented in G4CutTubs.

Definition at line 678 of file G4Tubs.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4bool G4Tubs::CalculateExtent ( const EAxis  pAxis,
const G4VoxelLimits pVoxelLimit,
const G4AffineTransform pTransform,
G4double pmin,
G4double pmax 
) const
virtual

Implements G4VSolid.

Definition at line 200 of file G4Tubs.cc.

Here is the call graph for this function:

void G4Tubs::CheckDPhiAngle ( G4double  dPhi)
inlineprotected
void G4Tubs::CheckPhiAngles ( G4double  sPhi,
G4double  dPhi 
)
inlineprotected

Here is the caller graph for this function:

void G4Tubs::CheckSPhiAngle ( G4double  sPhi)
inlineprotected
G4VSolid * G4Tubs::Clone ( ) const
virtual

Reimplemented from G4VSolid.

Definition at line 1816 of file G4Tubs.cc.

Here is the call graph for this function:

void G4Tubs::ComputeDimensions ( G4VPVParameterisation p,
const G4int  n,
const G4VPhysicalVolume pRep 
)
virtual

Reimplemented from G4VSolid.

Definition at line 189 of file G4Tubs.cc.

Here is the call graph for this function:

G4NURBS * G4Tubs::CreateNURBS ( ) const
virtual

Reimplemented from G4VSolid.

Definition at line 1928 of file G4Tubs.cc.

G4Polyhedron * G4Tubs::CreatePolyhedron ( ) const
virtual

Reimplemented from G4VSolid.

Definition at line 1923 of file G4Tubs.cc.

Here is the caller graph for this function:

G4ThreeVectorList * G4Tubs::CreateRotatedVertices ( const G4AffineTransform pTransform) const
protected

Definition at line 1721 of file G4Tubs.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4Tubs::DescribeYourselfTo ( G4VGraphicsScene scene) const
virtual

Implements G4VSolid.

Definition at line 1918 of file G4Tubs.cc.

Here is the call graph for this function:

G4double G4Tubs::DistanceToIn ( const G4ThreeVector p,
const G4ThreeVector v 
) const
virtual

Implements G4VSolid.

Definition at line 810 of file G4Tubs.cc.

Here is the call graph for this function:

G4double G4Tubs::DistanceToIn ( const G4ThreeVector p) const
virtual

Implements G4VSolid.

Definition at line 1189 of file G4Tubs.cc.

Here is the call graph for this function:

G4double G4Tubs::DistanceToOut ( const G4ThreeVector p,
const G4ThreeVector v,
const G4bool  calcNorm = G4bool(false),
G4bool validNorm = 0,
G4ThreeVector n = 0 
) const
virtual

Implements G4VSolid.

Definition at line 1233 of file G4Tubs.cc.

Here is the call graph for this function:

G4double G4Tubs::DistanceToOut ( const G4ThreeVector p) const
virtual

Implements G4VSolid.

Definition at line 1653 of file G4Tubs.cc.

Here is the call graph for this function:

G4double G4Tubs::GetCubicVolume ( )
inlinevirtual

Reimplemented from G4VSolid.

G4double G4Tubs::GetDeltaPhiAngle ( ) const
inline

Here is the caller graph for this function:

G4double G4Tubs::GetDPhi ( ) const
inline

Here is the caller graph for this function:

G4double G4Tubs::GetDz ( ) const
inline

Here is the caller graph for this function:

G4GeometryType G4Tubs::GetEntityType ( ) const
virtual

Implements G4VSolid.

Definition at line 1807 of file G4Tubs.cc.

G4double G4Tubs::GetInnerRadius ( ) const
inline

Here is the caller graph for this function:

G4double G4Tubs::GetOuterRadius ( ) const
inline

Here is the caller graph for this function:

G4ThreeVector G4Tubs::GetPointOnSurface ( ) const
virtual

Reimplemented from G4VSolid.

Definition at line 1848 of file G4Tubs.cc.

Here is the call graph for this function:

G4double G4Tubs::GetRMax ( ) const
inline

Here is the caller graph for this function:

G4double G4Tubs::GetRMin ( ) const
inline

Here is the caller graph for this function:

G4double G4Tubs::GetSPhi ( ) const
inline

Here is the caller graph for this function:

G4double G4Tubs::GetStartPhiAngle ( ) const
inline

Here is the caller graph for this function:

G4double G4Tubs::GetSurfaceArea ( )
inlinevirtual

Reimplemented from G4VSolid.

G4double G4Tubs::GetZHalfLength ( ) const
inline

Here is the caller graph for this function:

void G4Tubs::Initialize ( )
inlineprotected
void G4Tubs::InitializeTrigonometry ( )
inlineprotected
EInside G4Tubs::Inside ( const G4ThreeVector p) const
virtual

Implements G4VSolid.

Definition at line 414 of file G4Tubs.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4Tubs & G4Tubs::operator= ( const G4Tubs rhs)

Definition at line 160 of file G4Tubs.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4Tubs::SetDeltaPhiAngle ( G4double  newDPhi)
inline

Here is the caller graph for this function:

void G4Tubs::SetInnerRadius ( G4double  newRMin)
inline

Here is the caller graph for this function:

void G4Tubs::SetOuterRadius ( G4double  newRMax)
inline

Here is the caller graph for this function:

void G4Tubs::SetStartPhiAngle ( G4double  newSPhi,
G4bool  trig = true 
)
inline

Here is the caller graph for this function:

void G4Tubs::SetZHalfLength ( G4double  newDz)
inline

Here is the caller graph for this function:

std::ostream & G4Tubs::StreamInfo ( std::ostream &  os) const
virtual

Reimplemented from G4CSGSolid.

Definition at line 1825 of file G4Tubs.cc.

Here is the call graph for this function:

G4ThreeVector G4Tubs::SurfaceNormal ( const G4ThreeVector p) const
virtual

Implements G4VSolid.

Definition at line 584 of file G4Tubs.cc.

Here is the call graph for this function:

Member Data Documentation

G4double G4Tubs::cosCPhi
protected

Definition at line 213 of file G4Tubs.hh.

G4double G4Tubs::cosEPhi
protected

Definition at line 213 of file G4Tubs.hh.

G4double G4Tubs::cosHDPhiIT
protected

Definition at line 213 of file G4Tubs.hh.

G4double G4Tubs::cosHDPhiOT
protected

Definition at line 213 of file G4Tubs.hh.

G4double G4Tubs::cosSPhi
protected

Definition at line 213 of file G4Tubs.hh.

G4double G4Tubs::fDPhi
protected

Definition at line 209 of file G4Tubs.hh.

G4double G4Tubs::fDz
protected

Definition at line 209 of file G4Tubs.hh.

G4bool G4Tubs::fPhiFullTube
protected

Definition at line 218 of file G4Tubs.hh.

G4double G4Tubs::fRMax
protected

Definition at line 209 of file G4Tubs.hh.

G4double G4Tubs::fRMin
protected

Definition at line 209 of file G4Tubs.hh.

G4double G4Tubs::fSPhi
protected

Definition at line 209 of file G4Tubs.hh.

G4double G4Tubs::kAngTolerance
protected

Definition at line 205 of file G4Tubs.hh.

G4double G4Tubs::kRadTolerance
protected

Definition at line 205 of file G4Tubs.hh.

G4double G4Tubs::sinCPhi
protected

Definition at line 213 of file G4Tubs.hh.

G4double G4Tubs::sinEPhi
protected

Definition at line 213 of file G4Tubs.hh.

G4double G4Tubs::sinSPhi
protected

Definition at line 213 of file G4Tubs.hh.


The documentation for this class was generated from the following files: