Geant4_10
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
G4OTubs Class Reference

#include <G4OTubs.hh>

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

Public Member Functions

 G4OTubs (const G4String &pName, G4double pRMin, G4double pRMax, G4double pDz, G4double pSPhi, G4double pDPhi)
 
virtual ~G4OTubs ()
 
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 ()
 
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
 
 G4OTubs (__void__ &)
 
 G4OTubs (const G4OTubs &rhs)
 
G4OTubsoperator= (const G4OTubs &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
 
virtual void ComputeDimensions (G4VPVParameterisation *p, const G4int n, const G4VPhysicalVolume *pRep)
 
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
 
G4double halfCarTolerance
 
G4double halfRadTolerance
 
G4double halfAngTolerance
 
- Protected Attributes inherited from G4CSGSolid
G4double fCubicVolume
 
G4double fSurfaceArea
 
G4PolyhedronfpPolyhedron
 
- Protected Attributes inherited from G4VSolid
G4double kCarTolerance
 

Detailed Description

Definition at line 48 of file G4OTubs.hh.

Member Enumeration Documentation

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

Definition at line 170 of file G4OTubs.hh.

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

Definition at line 166 of file G4OTubs.hh.

Constructor & Destructor Documentation

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

Definition at line 60 of file G4OTubs.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

G4OTubs::~G4OTubs ( )
virtual

Definition at line 114 of file G4OTubs.cc.

G4OTubs::G4OTubs ( __void__ &  a)

Definition at line 99 of file G4OTubs.cc.

G4OTubs::G4OTubs ( const G4OTubs rhs)

Definition at line 122 of file G4OTubs.cc.

Member Function Documentation

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

Reimplemented in G4CutTubs.

Definition at line 644 of file G4OTubs.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Implements G4VSolid.

Definition at line 172 of file G4OTubs.cc.

Here is the call graph for this function:

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

Here is the caller graph for this function:

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

Reimplemented from G4VSolid.

Definition at line 1776 of file G4OTubs.cc.

Here is the call graph for this function:

G4Polyhedron * G4OTubs::CreatePolyhedron ( ) const
virtual

Reimplemented from G4VSolid.

Definition at line 1883 of file G4OTubs.cc.

Here is the caller graph for this function:

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

Definition at line 1681 of file G4OTubs.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4OTubs::DescribeYourselfTo ( G4VGraphicsScene scene) const
virtual

Implements G4VSolid.

Definition at line 1878 of file G4OTubs.cc.

Here is the call graph for this function:

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

Implements G4VSolid.

Definition at line 776 of file G4OTubs.cc.

Here is the call graph for this function:

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

Implements G4VSolid.

Definition at line 1152 of file G4OTubs.cc.

Here is the call graph for this function:

G4double G4OTubs::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 1196 of file G4OTubs.cc.

Here is the call graph for this function:

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

Implements G4VSolid.

Definition at line 1613 of file G4OTubs.cc.

Here is the call graph for this function:

G4double G4OTubs::GetCubicVolume ( )
inlinevirtual

Reimplemented from G4VSolid.

G4double G4OTubs::GetDeltaPhiAngle ( ) const
inline

Here is the caller graph for this function:

G4double G4OTubs::GetDPhi ( ) const
inline
G4double G4OTubs::GetDz ( ) const
inline
G4GeometryType G4OTubs::GetEntityType ( ) const
virtual

Implements G4VSolid.

Definition at line 1767 of file G4OTubs.cc.

G4double G4OTubs::GetInnerRadius ( ) const
inline

Here is the caller graph for this function:

G4double G4OTubs::GetOuterRadius ( ) const
inline

Here is the caller graph for this function:

G4ThreeVector G4OTubs::GetPointOnSurface ( ) const
virtual

Reimplemented from G4VSolid.

Definition at line 1808 of file G4OTubs.cc.

Here is the call graph for this function:

G4double G4OTubs::GetRMax ( ) const
inline
G4double G4OTubs::GetRMin ( ) const
inline
G4double G4OTubs::GetSPhi ( ) const
inline
G4double G4OTubs::GetStartPhiAngle ( ) const
inline

Here is the caller graph for this function:

G4double G4OTubs::GetSurfaceArea ( )
inlinevirtual

Reimplemented from G4VSolid.

G4double G4OTubs::GetZHalfLength ( ) const
inline

Here is the caller graph for this function:

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

Implements G4VSolid.

Definition at line 386 of file G4OTubs.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 141 of file G4OTubs.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void G4OTubs::SetDeltaPhiAngle ( G4double  newDPhi)
inline
void G4OTubs::SetInnerRadius ( G4double  newRMin)
inline
void G4OTubs::SetOuterRadius ( G4double  newRMax)
inline
void G4OTubs::SetStartPhiAngle ( G4double  newSPhi,
G4bool  trig = true 
)
inline
void G4OTubs::SetZHalfLength ( G4double  newDz)
inline
std::ostream & G4OTubs::StreamInfo ( std::ostream &  os) const
virtual

Reimplemented from G4CSGSolid.

Definition at line 1785 of file G4OTubs.cc.

Here is the call graph for this function:

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

Implements G4VSolid.

Definition at line 553 of file G4OTubs.cc.

Here is the call graph for this function:

Member Data Documentation

G4double G4OTubs::cosCPhi
protected

Definition at line 180 of file G4OTubs.hh.

G4double G4OTubs::cosEPhi
protected

Definition at line 180 of file G4OTubs.hh.

G4double G4OTubs::cosHDPhiIT
protected

Definition at line 180 of file G4OTubs.hh.

G4double G4OTubs::cosHDPhiOT
protected

Definition at line 180 of file G4OTubs.hh.

G4double G4OTubs::cosSPhi
protected

Definition at line 180 of file G4OTubs.hh.

G4double G4OTubs::fDPhi
protected

Definition at line 176 of file G4OTubs.hh.

G4double G4OTubs::fDz
protected

Definition at line 176 of file G4OTubs.hh.

G4bool G4OTubs::fPhiFullTube
protected

Definition at line 185 of file G4OTubs.hh.

G4double G4OTubs::fRMax
protected

Definition at line 176 of file G4OTubs.hh.

G4double G4OTubs::fRMin
protected

Definition at line 176 of file G4OTubs.hh.

G4double G4OTubs::fSPhi
protected

Definition at line 176 of file G4OTubs.hh.

G4double G4OTubs::halfAngTolerance
protected

Definition at line 189 of file G4OTubs.hh.

G4double G4OTubs::halfCarTolerance
protected

Definition at line 189 of file G4OTubs.hh.

G4double G4OTubs::halfRadTolerance
protected

Definition at line 189 of file G4OTubs.hh.

G4double G4OTubs::kAngTolerance
protected

Definition at line 172 of file G4OTubs.hh.

G4double G4OTubs::kRadTolerance
protected

Definition at line 172 of file G4OTubs.hh.

G4double G4OTubs::sinCPhi
protected

Definition at line 180 of file G4OTubs.hh.

G4double G4OTubs::sinEPhi
protected

Definition at line 180 of file G4OTubs.hh.

G4double G4OTubs::sinSPhi
protected

Definition at line 180 of file G4OTubs.hh.


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