Geant4
10.02.p02
|
#include <G4TwistTrapAlphaSide.hh>
Private Member Functions | |
virtual G4int | GetAreaCode (const G4ThreeVector &xx, G4bool withTol=true) |
virtual void | SetCorners () |
virtual void | SetBoundaries () |
void | GetPhiUAtX (G4ThreeVector p, G4double &phi, G4double &u) |
G4ThreeVector | ProjectPoint (const G4ThreeVector &p, G4bool isglobal=false) |
virtual G4ThreeVector | SurfacePoint (G4double phi, G4double u, G4bool isGlobal=false) |
virtual G4double | GetBoundaryMin (G4double phi) |
virtual G4double | GetBoundaryMax (G4double phi) |
virtual G4double | GetSurfaceArea () |
virtual void | GetFacets (G4int m, G4int n, G4double xyz[][3], G4int faces[][4], G4int iside) |
G4ThreeVector | NormAng (G4double phi, G4double u) |
G4double | GetValueA (G4double phi) |
G4double | GetValueB (G4double phi) |
G4double | GetValueD (G4double phi) |
G4double | Xcoef (G4double u, G4double phi) |
Additional Inherited Members | |
Public Types inherited from G4VTwistSurface | |
enum | EValidate { kDontValidate = 0, kValidateWithTol = 1, kValidateWithoutTol = 2, kUninitialized = 3 } |
Static Public Attributes inherited from G4VTwistSurface | |
static const G4int | sOutside = 0x00000000 |
static const G4int | sInside = 0x10000000 |
static const G4int | sBoundary = 0x20000000 |
static const G4int | sCorner = 0x40000000 |
static const G4int | sC0Min1Min = 0x40000101 |
static const G4int | sC0Max1Min = 0x40000201 |
static const G4int | sC0Max1Max = 0x40000202 |
static const G4int | sC0Min1Max = 0x40000102 |
static const G4int | sAxisMin = 0x00000101 |
static const G4int | sAxisMax = 0x00000202 |
static const G4int | sAxisX = 0x00000404 |
static const G4int | sAxisY = 0x00000808 |
static const G4int | sAxisZ = 0x00000C0C |
static const G4int | sAxisRho = 0x00001010 |
static const G4int | sAxisPhi = 0x00001414 |
static const G4int | sAxis0 = 0x0000FF00 |
static const G4int | sAxis1 = 0x000000FF |
static const G4int | sSizeMask = 0x00000303 |
static const G4int | sAxisMask = 0x0000FCFC |
static const G4int | sAreaMask = 0XF0000000 |
Protected Member Functions inherited from G4VTwistSurface | |
G4VTwistSurface ** | GetNeighbours () |
G4int | GetNeighbours (G4int areacode, G4VTwistSurface *surfaces[]) |
G4ThreeVector | GetCorner (G4int areacode) const |
void | GetBoundaryAxis (G4int areacode, EAxis axis[]) const |
void | GetBoundaryLimit (G4int areacode, G4double limit[]) const |
virtual void | SetBoundary (const G4int &axiscode, const G4ThreeVector &direction, const G4ThreeVector &x0, const G4int &boundarytype) |
void | SetCorner (G4int areacode, G4double x, G4double y, G4double z) |
Protected Attributes inherited from G4VTwistSurface | |
EAxis | fAxis [2] |
G4double | fAxisMin [2] |
G4double | fAxisMax [2] |
CurrentStatus | fCurStatWithV |
CurrentStatus | fCurStat |
G4RotationMatrix | fRot |
G4ThreeVector | fTrans |
G4int | fHandedness |
G4SurfCurNormal | fCurrentNormal |
G4bool | fIsValidNorm |
G4double | kCarTolerance |
Definition at line 51 of file G4TwistTrapAlphaSide.hh.
G4TwistTrapAlphaSide::G4TwistTrapAlphaSide | ( | const G4String & | name, |
G4double | PhiTwist, | ||
G4double | pDz, | ||
G4double | pTheta, | ||
G4double | pPhi, | ||
G4double | pDy1, | ||
G4double | pDx1, | ||
G4double | pDx2, | ||
G4double | pDy2, | ||
G4double | pDx3, | ||
G4double | pDx4, | ||
G4double | pAlph, | ||
G4double | AngleSide | ||
) |
Definition at line 52 of file G4TwistTrapAlphaSide.cc.
References fa1md1, fa2md2, fAlph, fAngleSide, G4VTwistSurface::fAxis, G4VTwistSurface::fAxisMax, G4VTwistSurface::fAxisMin, fdeltaX, fdeltaY, fDx1, fDx2, fDx3, fDx3minus1, fDx3plus1, fDx4, fDx4minus2, fDx4plus2, fDy1, fDy2, fDy2minus1, fDy2plus1, fDz, G4VTwistSurface::fIsValidNorm, fPhi, fPhiTwist, G4VTwistSurface::fRot, fTAlph, fTheta, G4VTwistSurface::fTrans, kInfinity, kYAxis, kZAxis, SetBoundaries(), and SetCorners().
|
virtual |
Definition at line 137 of file G4TwistTrapAlphaSide.cc.
G4TwistTrapAlphaSide::G4TwistTrapAlphaSide | ( | __void__ & | a | ) |
Definition at line 124 of file G4TwistTrapAlphaSide.cc.
|
virtual |
Implements G4VTwistSurface.
Definition at line 200 of file G4TwistTrapAlphaSide.cc.
References Intersection::areacode, G4VTwistSurface::ComputeGlobalPoint(), G4VTwistSurface::ComputeLocalDirection(), G4VTwistSurface::ComputeLocalPoint(), Intersection::distance, DistanceSort(), G4VTwistSurface::DistanceToPlaneWithV(), EqualIntersection(), fa1md1, factor, FatalException, G4VTwistSurface::fCurStatWithV, fdeltaX, fdeltaY, fDx3minus1, fDx3plus1, fDx4minus2, fDx4plus2, fDy1, fDz, G4JTPolynomialSolver::FindRoots(), fPhiTwist, fTAlph, G4cout, G4endl, G4Exception(), G4VSURFACENXX, GetAreaCode(), G4VTwistSurface::CurrentStatus::GetAreacode(), G4VTwistSurface::CurrentStatus::GetDistance(), G4VTwistSurface::CurrentStatus::GetNXX(), GetPhiUAtX(), G4VTwistSurface::CurrentStatus::GetXX(), G4VTwistSurface::CurrentStatus::IsDone(), G4VTwistSurface::IsInside(), G4VTwistSurface::IsOutside(), G4VTwistSurface::CurrentStatus::IsValid(), Intersection::isvalid, G4VTwistSurface::kCarTolerance, kInfinity, G4VTwistSurface::kValidateWithoutTol, G4VTwistSurface::kValidateWithTol, L, NormAng(), Intersection::phi, pi, G4VTwistSurface::CurrentStatus::ResetfDone(), G4VTwistSurface::CurrentStatus::SetCurrentStatus(), G4VTwistSurface::sOutside, SurfacePoint(), and Intersection::u.
|
virtual |
Implements G4VTwistSurface.
Definition at line 696 of file G4TwistTrapAlphaSide.cc.
References G4VTwistSurface::ComputeGlobalPoint(), G4VTwistSurface::ComputeLocalPoint(), G4VTwistSurface::DistanceToPlane(), G4VTwistSurface::fCurStat, fPhiTwist, G4cout, G4endl, G4VSURFACENXX, G4VTwistSurface::CurrentStatus::GetAreacode(), GetBoundaryMax(), G4VTwistSurface::CurrentStatus::GetDistance(), G4VTwistSurface::CurrentStatus::GetNXX(), GetPhiUAtX(), G4VTwistSurface::CurrentStatus::GetXX(), G4VTwistSurface::CurrentStatus::IsDone(), G4VTwistSurface::kCarTolerance, G4VTwistSurface::kDontValidate, kInfinity, NormAng(), G4VTwistSurface::CurrentStatus::ResetfDone(), G4VTwistSurface::CurrentStatus::SetCurrentStatus(), G4VTwistSurface::sOutside, and SurfacePoint().
|
privatevirtual |
Implements G4VTwistSurface.
Definition at line 797 of file G4TwistTrapAlphaSide.cc.
References FatalException, G4VTwistSurface::fAxis, G4VTwistSurface::fAxisMax, G4VTwistSurface::fAxisMin, G4cout, G4endl, G4Exception(), GetBoundaryMax(), GetBoundaryMin(), GetPhiUAtX(), G4VTwistSurface::kCarTolerance, kYAxis, kZAxis, G4VTwistSurface::sAxis0, G4VTwistSurface::sAxis1, G4VTwistSurface::sAxisMax, G4VTwistSurface::sAxisMin, G4VTwistSurface::sAxisY, G4VTwistSurface::sAxisZ, G4VTwistSurface::sBoundary, G4VTwistSurface::sCorner, and G4VTwistSurface::sInside.
Referenced by DistanceToSurface().
Implements G4VTwistSurface.
Definition at line 210 of file G4TwistTrapAlphaSide.hh.
References GetValueB().
Referenced by DistanceToSurface(), and GetAreaCode().
Implements G4VTwistSurface.
Definition at line 204 of file G4TwistTrapAlphaSide.hh.
References GetValueB().
Referenced by GetAreaCode().
|
privatevirtual |
Implements G4VTwistSurface.
Definition at line 1115 of file G4TwistTrapAlphaSide.cc.
References fDz, fPhiTwist, G4VTwistSurface::GetEdgeVisibility(), G4VTwistSurface::GetFace(), G4VTwistSurface::GetNode(), GetValueB(), n, SurfacePoint(), and z.
|
virtual |
Implements G4VTwistSurface.
Definition at line 146 of file G4TwistTrapAlphaSide.cc.
References G4VTwistSurface::ComputeGlobalDirection(), G4VTwistSurface::ComputeLocalPoint(), G4VTwistSurface::fCurrentNormal, G4cout, G4endl, GetPhiUAtX(), G4VTwistSurface::kCarTolerance, CLHEP::normal(), G4VTwistSurface::G4SurfCurNormal::normal, NormAng(), and G4VTwistSurface::G4SurfCurNormal::p.
|
private |
Definition at line 1045 of file G4TwistTrapAlphaSide.cc.
References fa1md1, fdeltaX, fdeltaY, fDx1, fDx2, fDx3, fDx3minus1, fDx3plus1, fDx4, fDx4minus2, fDx4plus2, fDy1, fDz, fPhiTwist, and fTAlph.
Referenced by DistanceToSurface(), GetAreaCode(), GetNormal(), and ProjectPoint().
|
inlineprivatevirtual |
Implements G4VTwistSurface.
Definition at line 216 of file G4TwistTrapAlphaSide.hh.
Definition at line 162 of file G4TwistTrapAlphaSide.hh.
References fDx4minus2, fDx4plus2, and fPhiTwist.
Referenced by Xcoef().
Definition at line 174 of file G4TwistTrapAlphaSide.hh.
References fDy2minus1, fDy2plus1, and fPhiTwist.
Referenced by GetBoundaryMax(), GetBoundaryMin(), GetFacets(), and Xcoef().
Definition at line 168 of file G4TwistTrapAlphaSide.hh.
References fDx3minus1, fDx3plus1, and fPhiTwist.
Referenced by Xcoef().
|
inlineprivate |
Definition at line 225 of file G4TwistTrapAlphaSide.hh.
References fa1md1, fdeltaX, fdeltaY, fDx2, fDx3minus1, fDx3plus1, fDx4, fDx4minus2, fDy1, fDz, fPhiTwist, and fTAlph.
Referenced by DistanceToSurface(), and GetNormal().
|
private |
Definition at line 1078 of file G4TwistTrapAlphaSide.cc.
References G4VTwistSurface::fRot, G4VTwistSurface::fTrans, GetPhiUAtX(), and SurfacePoint().
|
privatevirtual |
Implements G4VTwistSurface.
Definition at line 999 of file G4TwistTrapAlphaSide.cc.
References FatalException, G4VTwistSurface::fAxis, G4Exception(), G4VTwistSurface::GetCorner(), kYAxis, kZAxis, G4VTwistSurface::sAxis0, G4VTwistSurface::sAxis1, G4VTwistSurface::sAxisMax, G4VTwistSurface::sAxisMin, G4VTwistSurface::sAxisY, G4VTwistSurface::sAxisZ, G4VTwistSurface::sC0Max1Max, G4VTwistSurface::sC0Max1Min, G4VTwistSurface::sC0Min1Max, G4VTwistSurface::sC0Min1Min, and G4VTwistSurface::SetBoundary().
Referenced by G4TwistTrapAlphaSide().
|
privatevirtual |
Implements G4VTwistSurface.
Definition at line 930 of file G4TwistTrapAlphaSide.cc.
References FatalException, G4VTwistSurface::fAxis, fdeltaX, fdeltaY, fDx1, fDx2, fDx3, fDx4, fDy1, fDy2, fDz, fPhiTwist, fTAlph, G4Exception(), kYAxis, kZAxis, G4VTwistSurface::sC0Max1Max, G4VTwistSurface::sC0Max1Min, G4VTwistSurface::sC0Min1Max, G4VTwistSurface::sC0Min1Min, G4VTwistSurface::SetCorner(), x, and z.
Referenced by G4TwistTrapAlphaSide().
|
inlineprivatevirtual |
Implements G4VTwistSurface.
Definition at line 190 of file G4TwistTrapAlphaSide.hh.
References fdeltaX, fdeltaY, fDz, fPhiTwist, G4VTwistSurface::fRot, G4VTwistSurface::fTrans, and Xcoef().
Referenced by DistanceToSurface(), GetFacets(), and ProjectPoint().
Definition at line 181 of file G4TwistTrapAlphaSide.hh.
References fTAlph, GetValueA(), GetValueB(), and GetValueD().
Referenced by SurfacePoint().
|
private |
Definition at line 150 of file G4TwistTrapAlphaSide.hh.
Referenced by DistanceToSurface(), G4TwistTrapAlphaSide(), GetPhiUAtX(), GetSurfaceArea(), and NormAng().
|
private |
Definition at line 151 of file G4TwistTrapAlphaSide.hh.
Referenced by G4TwistTrapAlphaSide(), and GetSurfaceArea().
|
private |
Definition at line 137 of file G4TwistTrapAlphaSide.hh.
Referenced by G4TwistTrapAlphaSide().
|
private |
Definition at line 142 of file G4TwistTrapAlphaSide.hh.
Referenced by G4TwistTrapAlphaSide().
|
private |
Definition at line 153 of file G4TwistTrapAlphaSide.hh.
Referenced by DistanceToSurface(), G4TwistTrapAlphaSide(), GetPhiUAtX(), NormAng(), SetCorners(), and SurfacePoint().
|
private |
Definition at line 154 of file G4TwistTrapAlphaSide.hh.
Referenced by DistanceToSurface(), G4TwistTrapAlphaSide(), GetPhiUAtX(), NormAng(), SetCorners(), and SurfacePoint().
|
private |
Definition at line 128 of file G4TwistTrapAlphaSide.hh.
Referenced by G4TwistTrapAlphaSide(), GetPhiUAtX(), and SetCorners().
|
private |
Definition at line 129 of file G4TwistTrapAlphaSide.hh.
Referenced by G4TwistTrapAlphaSide(), GetPhiUAtX(), NormAng(), and SetCorners().
|
private |
Definition at line 132 of file G4TwistTrapAlphaSide.hh.
Referenced by G4TwistTrapAlphaSide(), GetPhiUAtX(), and SetCorners().
|
private |
Definition at line 147 of file G4TwistTrapAlphaSide.hh.
Referenced by DistanceToSurface(), G4TwistTrapAlphaSide(), GetPhiUAtX(), GetValueD(), and NormAng().
|
private |
Definition at line 146 of file G4TwistTrapAlphaSide.hh.
Referenced by DistanceToSurface(), G4TwistTrapAlphaSide(), GetPhiUAtX(), GetValueD(), and NormAng().
|
private |
Definition at line 133 of file G4TwistTrapAlphaSide.hh.
Referenced by G4TwistTrapAlphaSide(), GetPhiUAtX(), NormAng(), and SetCorners().
|
private |
Definition at line 145 of file G4TwistTrapAlphaSide.hh.
Referenced by DistanceToSurface(), G4TwistTrapAlphaSide(), GetPhiUAtX(), GetValueA(), and NormAng().
|
private |
Definition at line 144 of file G4TwistTrapAlphaSide.hh.
Referenced by DistanceToSurface(), G4TwistTrapAlphaSide(), GetPhiUAtX(), and GetValueA().
|
private |
Definition at line 127 of file G4TwistTrapAlphaSide.hh.
Referenced by DistanceToSurface(), G4TwistTrapAlphaSide(), GetPhiUAtX(), GetSurfaceArea(), NormAng(), and SetCorners().
|
private |
Definition at line 131 of file G4TwistTrapAlphaSide.hh.
Referenced by G4TwistTrapAlphaSide(), GetSurfaceArea(), and SetCorners().
|
private |
Definition at line 149 of file G4TwistTrapAlphaSide.hh.
Referenced by G4TwistTrapAlphaSide(), and GetValueB().
|
private |
Definition at line 148 of file G4TwistTrapAlphaSide.hh.
Referenced by G4TwistTrapAlphaSide(), and GetValueB().
|
private |
Definition at line 135 of file G4TwistTrapAlphaSide.hh.
Referenced by DistanceToSurface(), G4TwistTrapAlphaSide(), GetFacets(), GetPhiUAtX(), GetSurfaceArea(), NormAng(), SetCorners(), and SurfacePoint().
|
private |
Definition at line 125 of file G4TwistTrapAlphaSide.hh.
Referenced by G4TwistTrapAlphaSide().
|
private |
Definition at line 140 of file G4TwistTrapAlphaSide.hh.
Referenced by DistanceToSurface(), G4TwistTrapAlphaSide(), GetFacets(), GetPhiUAtX(), GetValueA(), GetValueB(), GetValueD(), NormAng(), SetCorners(), and SurfacePoint().
|
private |
Definition at line 138 of file G4TwistTrapAlphaSide.hh.
Referenced by DistanceToSurface(), G4TwistTrapAlphaSide(), GetPhiUAtX(), GetSurfaceArea(), NormAng(), SetCorners(), and Xcoef().
|
private |
Definition at line 124 of file G4TwistTrapAlphaSide.hh.
Referenced by G4TwistTrapAlphaSide().