Geant4_10
Public Member Functions | List of all members
UCons Class Reference

#include <UCons.hh>

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

Public Member Functions

 UCons (const std::string &pName, double pRmin1, double pRmax1, double pRmin2, double pRmax2, double pDz, double pSPhi, double pDPhi)
 
 ~UCons ()
 
double GetInnerRadiusMinusZ () const
 
double GetOuterRadiusMinusZ () const
 
double GetInnerRadiusPlusZ () const
 
double GetOuterRadiusPlusZ () const
 
double GetZHalfLength () const
 
double GetStartPhiAngle () const
 
double GetDeltaPhiAngle () const
 
void SetInnerRadiusMinusZ (double Rmin1)
 
void SetOuterRadiusMinusZ (double Rmax1)
 
void SetInnerRadiusPlusZ (double Rmin2)
 
void SetOuterRadiusPlusZ (double Rmax2)
 
void SetZHalfLength (double newDz)
 
void SetStartPhiAngle (double newSPhi, bool trig=true)
 
void SetDeltaPhiAngle (double newDPhi)
 
double GetCubicVolume ()
 
double GetSurfaceArea ()
 
bool Normal (const UVector3 &p, UVector3 &n) const
 
double DistanceToIn (const UVector3 &p, const UVector3 &v, double aPstep=UUtils::kInfinity) const
 
double SafetyFromOutside (const UVector3 &p, bool precise) const
 
double DistanceToOut (const UVector3 &aPoint, const UVector3 &aDirection, UVector3 &aNormalVector, bool &aConvex, double aPstep=UUtils::kInfinity) const
 
double SafetyFromInside (const UVector3 &p, bool precise) const
 
UGeometryType GetEntityType () const
 
UVector3 GetPointOnSurface () const
 
VUSolidClone () const
 
std::ostream & StreamInfo (std::ostream &os) const
 
void Extent (UVector3 &aMin, UVector3 &aMax) const
 
virtual void GetParametersList (int, double *) const
 
virtual void ComputeBBox (UBBox *, bool)
 
VUSolid::EnumInside Inside (const UVector3 &p) const
 
 UCons ()
 
 UCons (const UCons &rhs)
 
UConsoperator= (const UCons &rhs)
 
double GetRmin1 () const
 
double GetRmax1 () const
 
double GetRmin2 () const
 
double GetRmax2 () const
 
double GetDz () const
 
double GetSPhi () const
 
double GetDPhi () const
 
- Public Member Functions inherited from VUSolid
 VUSolid ()
 
 VUSolid (const std::string &name)
 
virtual ~VUSolid ()
 
double GetCarTolerance () const
 
double GetRadTolerance () const
 
double GetAngTolerance () const
 
void SetCarTolerance (double eps)
 
void SetRadTolerance (double eps)
 
void SetAngTolerance (double eps)
 
virtual void ExtentAxis (EAxisType aAxis, double &aMin, double &aMax) const
 
const std::string & GetName () const
 
void SetName (const std::string &aName)
 
virtual void SamplePointsInside (int, UVector3 *) const
 
virtual void SamplePointsOnSurface (int, UVector3 *) const
 
virtual void SamplePointsOnEdge (int, UVector3 *) const
 
double EstimateCubicVolume (int nStat, double epsilon) const
 
double EstimateSurfaceArea (int nStat, double ell) const
 

Additional Inherited Members

- Public Types inherited from VUSolid
enum  EnumInside { eInside =0, eSurface =1, eOutside =2 }
 
enum  EAxisType { eXaxis =0, eYaxis =1, eZaxis =2 }
 
- Static Public Member Functions inherited from VUSolid
static double Tolerance ()
 
- Static Protected Attributes inherited from VUSolid
static double fgTolerance = 1.0E-9
 
static double frTolerance = 1.0E-9
 
static double faTolerance = 1.0E-9
 

Detailed Description

Definition at line 49 of file UCons.hh.

Constructor & Destructor Documentation

UCons::UCons ( const std::string &  pName,
double  pRmin1,
double  pRmax1,
double  pRmin2,
double  pRmax2,
double  pDz,
double  pSPhi,
double  pDPhi 
)

Definition at line 41 of file UCons.cc.

Here is the call graph for this function:

UCons::~UCons ( )

Definition at line 108 of file UCons.cc.

UCons::UCons ( )

Definition at line 94 of file UCons.cc.

Here is the caller graph for this function:

UCons::UCons ( const UCons rhs)

Definition at line 116 of file UCons.cc.

Member Function Documentation

VUSolid * UCons::Clone ( ) const
virtual

Implements VUSolid.

Definition at line 2079 of file UCons.cc.

Here is the call graph for this function:

virtual void UCons::ComputeBBox ( UBBox ,
bool   
)
inlinevirtual

Implements VUSolid.

Definition at line 122 of file UCons.hh.

double UCons::DistanceToIn ( const UVector3 p,
const UVector3 v,
double  aPstep = UUtils::kInfinity 
) const
virtual

Implements VUSolid.

Definition at line 442 of file UCons.cc.

Here is the call graph for this function:

double UCons::DistanceToOut ( const UVector3 aPoint,
const UVector3 aDirection,
UVector3 aNormalVector,
bool &  aConvex,
double  aPstep = UUtils::kInfinity 
) const
virtual

Implements VUSolid.

Definition at line 1336 of file UCons.cc.

Here is the call graph for this function:

void UCons::Extent ( UVector3 aMin,
UVector3 aMax 
) const
virtual

Implements VUSolid.

Definition at line 2211 of file UCons.cc.

Here is the call graph for this function:

double UCons::GetCubicVolume ( )
inline
double UCons::GetDeltaPhiAngle ( ) const
inline

Here is the caller graph for this function:

double UCons::GetDPhi ( ) const
inline
double UCons::GetDz ( ) const
inline

Here is the caller graph for this function:

UGeometryType UCons::GetEntityType ( ) const
virtual

Implements VUSolid.

Definition at line 2070 of file UCons.cc.

double UCons::GetInnerRadiusMinusZ ( ) const
inline

Here is the caller graph for this function:

double UCons::GetInnerRadiusPlusZ ( ) const
inline

Here is the caller graph for this function:

double UCons::GetOuterRadiusMinusZ ( ) const
inline

Here is the caller graph for this function:

double UCons::GetOuterRadiusPlusZ ( ) const
inline

Here is the caller graph for this function:

void UCons::GetParametersList ( int  ,
double *  aArray 
) const
virtual

Implements VUSolid.

Definition at line 2218 of file UCons.cc.

Here is the call graph for this function:

UVector3 UCons::GetPointOnSurface ( ) const
virtual

Implements VUSolid.

Definition at line 2116 of file UCons.cc.

Here is the call graph for this function:

double UCons::GetRmax1 ( ) const
inline

Here is the caller graph for this function:

double UCons::GetRmax2 ( ) const
inline

Here is the caller graph for this function:

double UCons::GetRmin1 ( ) const
inline

Here is the caller graph for this function:

double UCons::GetRmin2 ( ) const
inline

Here is the caller graph for this function:

double UCons::GetSPhi ( ) const
inline
double UCons::GetStartPhiAngle ( ) const
inline

Here is the caller graph for this function:

double UCons::GetSurfaceArea ( )
inline
double UCons::GetZHalfLength ( ) const
inline

Here is the caller graph for this function:

VUSolid::EnumInside UCons::Inside ( const UVector3 p) const
inlinevirtual

Implements VUSolid.

Definition at line 127 of file UCons.hh.

Here is the call graph for this function:

Here is the caller graph for this function:

bool UCons::Normal ( const UVector3 p,
UVector3 n 
) const
virtual

Implements VUSolid.

Definition at line 176 of file UCons.cc.

Here is the call graph for this function:

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

Definition at line 132 of file UCons.cc.

double UCons::SafetyFromInside ( const UVector3 p,
bool  precise 
) const
virtual

Implements VUSolid.

Definition at line 1980 of file UCons.cc.

Here is the call graph for this function:

double UCons::SafetyFromOutside ( const UVector3 p,
bool  precise 
) const
virtual

Implements VUSolid.

Definition at line 1261 of file UCons.cc.

void UCons::SetDeltaPhiAngle ( double  newDPhi)
inline

Here is the caller graph for this function:

void UCons::SetInnerRadiusMinusZ ( double  Rmin1)
inline

Here is the caller graph for this function:

void UCons::SetInnerRadiusPlusZ ( double  Rmin2)
inline

Here is the caller graph for this function:

void UCons::SetOuterRadiusMinusZ ( double  Rmax1)
inline

Here is the caller graph for this function:

void UCons::SetOuterRadiusPlusZ ( double  Rmax2)
inline

Here is the caller graph for this function:

void UCons::SetStartPhiAngle ( double  newSPhi,
bool  trig = true 
)
inline

Here is the caller graph for this function:

void UCons::SetZHalfLength ( double  newDz)
inline

Here is the caller graph for this function:

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

Implements VUSolid.

Definition at line 2089 of file UCons.cc.

Here is the call graph for this function:


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