Belle II Software development
|
Defines a closed cylinder for the geant4e "target", the surface that encloses the volume within which track extrapolation is done. More...
#include <ExtCylSurfaceTarget.h>
Public Member Functions | |
ExtCylSurfaceTarget (const G4double &, const G4double &, const G4double &) | |
Construct the closed cylindrical surface No coordinate transformations allowed: cylinder is coaxial with z axis. | |
~ExtCylSurfaceTarget () | |
Destructor. | |
virtual G4ThreeVector | IntersectLocal (const G4ThreeVector &point, const G4ThreeVector &direc) const |
Return the intersection of the cylinder with the line defined in local (cylinder) coordinates by point and direc. | |
virtual G4double | GetDistanceFromPoint (const G4ThreeVector &point, const G4ThreeVector &direc) const |
Get the distance from a point to the cylinder along direc. | |
virtual G4double | GetDistanceFromPoint (const G4ThreeVector &point) const |
Get the shortest distance from a point to the cylinder. | |
virtual G4Plane3D | GetTangentPlane (const G4ThreeVector &point) const |
Get the plane tangent to the cylinder at a given point. | |
virtual void | Dump (const G4String &msg) const |
Dump the cylinder parameters. | |
Private Attributes | |
G4double | m_radius |
Cylinder radius. | |
G4double | m_zmin |
Cylinder minimum-z coordinate. | |
G4double | m_zmax |
Cylinder maximum-z coordinate. | |
G4double | m_tolerance |
Tolerance for distance between a point and cylinder's curved surface. | |
Defines a closed cylinder for the geant4e "target", the surface that encloses the volume within which track extrapolation is done.
Definition at line 28 of file ExtCylSurfaceTarget.h.
ExtCylSurfaceTarget | ( | const G4double & | radius, |
const G4double & | zmin, | ||
const G4double & | zmax | ||
) |
Construct the closed cylindrical surface No coordinate transformations allowed: cylinder is coaxial with z axis.
Definition at line 20 of file ExtCylSurfaceTarget.cc.
~ExtCylSurfaceTarget | ( | ) |
|
virtual |
Dump the cylinder parameters.
Dump the cylinder parameters: EMPTY STUB
Definition at line 120 of file ExtCylSurfaceTarget.cc.
|
virtual |
Get the shortest distance from a point to the cylinder.
Definition at line 62 of file ExtCylSurfaceTarget.cc.
|
virtual |
Get the distance from a point to the cylinder along direc.
Definition at line 37 of file ExtCylSurfaceTarget.cc.
|
virtual |
Get the plane tangent to the cylinder at a given point.
Definition at line 106 of file ExtCylSurfaceTarget.cc.
|
virtual |
Return the intersection of the cylinder with the line defined in local (cylinder) coordinates by point and direc.
Definition at line 75 of file ExtCylSurfaceTarget.cc.
|
private |
Cylinder radius.
Definition at line 60 of file ExtCylSurfaceTarget.h.
|
private |
Tolerance for distance between a point and cylinder's curved surface.
Definition at line 69 of file ExtCylSurfaceTarget.h.
|
private |
Cylinder maximum-z coordinate.
Definition at line 66 of file ExtCylSurfaceTarget.h.
|
private |
Cylinder minimum-z coordinate.
Definition at line 63 of file ExtCylSurfaceTarget.h.