|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
G4TwistTrapParallelSide describes a twisted boundary surface for a trapezoid. More...
#include <G4TwistTrapParallelSide.hh>
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 |
G4TwistTrapParallelSide describes a twisted boundary surface for a trapezoid.
Definition at line 46 of file G4TwistTrapParallelSide.hh.
| G4TwistTrapParallelSide::G4TwistTrapParallelSide | ( | 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 ) |
Constructs a trapezoid twisted boundary surface, given its parameters.
| [in] | name | The surface name. |
| [in] | PhiTwist | The twist angle. |
| [in] | pDz | Half z length. |
| [in] | pTheta | Direction between end planes - polar angle. |
| [in] | pPhi | Direction between end planes - azimuthal angle. |
| [in] | pDy1 | Half y length at -pDz. |
| [in] | pDx1 | Half x length at -pDz,-pDy. |
| [in] | pDx2 | Half x length at -pDz,+pDy. |
| [in] | pDy2 | Half y length at +pDz. |
| [in] | pDx3 | Half x length at +pDz,-pDy. |
| [in] | pDx4 | Half x length at +pDz,+pDy. |
| [in] | pAlph | Tilt angle at +pDz. |
| [in] | AngleSide | Parity. |
Definition at line 40 of file G4TwistTrapParallelSide.cc.
|
overridedefault |
Default destructor.
| G4TwistTrapParallelSide::G4TwistTrapParallelSide | ( | __void__ & | a | ) |
Fake default constructor for usage restricted to direct object persistency for clients requiring preallocation of memory for persistifiable objects.
Definition at line 110 of file G4TwistTrapParallelSide.cc.
|
overridevirtual |
Returns the distance to surface, given point 'gp' and direction 'gv'.
| [in] | gp | The point from where computing the distance. |
| [in] | gv | The direction along which computing the distance. |
| [out] | gxx | Vector of global points based on number of solutions. |
| [out] | distance | The distance vector based on number of solutions. |
| [out] | areacode | The location vector based on number of solutions. |
| [out] | isvalid | Validity vector based on number of solutions. |
| [in] | validate | Adopted validation criteria. |
Implements G4VTwistSurface.
Definition at line 172 of file G4TwistTrapParallelSide.cc.
|
overridevirtual |
Returns the safety distance to surface, given point 'gp'.
| [in] | gp | The point from where computing the safety distance. |
| [out] | gxx | Vector of global points based on number of solutions. |
| [out] | distance | The distance vector based on number of solutions. |
| [out] | areacode | The location vector based on number of solutions. |
Implements G4VTwistSurface.
Definition at line 630 of file G4TwistTrapParallelSide.cc.
|
overridevirtual |
Returns a normal vector at a surface (or very close to the surface) point at 'p'.
| [in] | p | The point where computing the normal. |
| [in] | isGlobal | If true, it returns the normal in global coordinates. |
Implements G4VTwistSurface.
Definition at line 118 of file G4TwistTrapParallelSide.cc.