 |
Belle II Software
release-05-01-25
|
11 #ifndef EXTCYLSURFACETARGET_H
12 #define EXTCYLSURFACETARGET_H
15 #include <G4ErrorSurfaceTarget.hh>
16 #include <G4ThreeVector.hh>
17 #include <G4Plane3D.hh>
18 #include <G4String.hh>
26 namespace Simulation {
30 class ExtCylSurfaceTarget :
public G4ErrorSurfaceTarget {
44 const G4ThreeVector& direc)
const;
48 const G4ThreeVector& direc)
const;
57 virtual void Dump(
const G4String& msg)
const;
80 #endif // EXTCYLSURFACETARGET_H
G4double m_zmax
Cylinder maximum-z coordinate.
virtual void Dump(const G4String &msg) const
Dump the cylinder parameters.
ExtCylSurfaceTarget(const G4double &, const G4double &, const G4double &)
Construct the closed cylindrical surface No coordinate transformations allowed: cylinder is coaxial w...
virtual G4double GetDistanceFromPoint(const G4ThreeVector &point, const G4ThreeVector &direc) const
Get the distance from a point to the cylinder along direc.
G4double m_radius
Cylinder radius.
Abstract base class for different kinds of events.
~ExtCylSurfaceTarget()
Destructor.
virtual G4Plane3D GetTangentPlane(const G4ThreeVector &point) const
Get the plane tangent to the cylinder at a given point.
G4double m_tolerance
Tolerance for distance between a point and cylinder's curved surface.
G4double m_zmin
Cylinder minimum-z coordinate.
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 poin...