9#ifndef EXTCYLSURFACETARGET_H
10#define EXTCYLSURFACETARGET_H
13#include <G4ErrorSurfaceTarget.hh>
14#include <G4ThreeVector.hh>
15#include <G4Plane3D.hh>
24 namespace Simulation {
42 const G4ThreeVector& direc)
const;
46 const G4ThreeVector& direc)
const;
55 virtual void Dump(
const G4String& msg)
const;
Defines a closed cylinder for the geant4e "target", the surface that encloses the volume within which...
G4double m_radius
Cylinder radius.
~ExtCylSurfaceTarget()
Destructor.
G4double m_tolerance
Tolerance for distance between a point and cylinder's curved surface.
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.
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...
G4double m_zmax
Cylinder maximum-z coordinate.
virtual G4double GetDistanceFromPoint(const G4ThreeVector &point, const G4ThreeVector &direc) const
Get the distance from a point to the cylinder along direc.
G4double m_zmin
Cylinder minimum-z coordinate.
Abstract base class for different kinds of events.