DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | List of all members
dd4hep::rec::ConeSurface Class Reference

#include <Surface.h>

Inheritance diagram for dd4hep::rec::ConeSurface:
dd4hep::rec::CylinderSurface dd4hep::rec::ICone dd4hep::rec::Surface dd4hep::rec::ICylinder dd4hep::rec::ISurface

Public Member Functions

 ConeSurface (DetElement det, VolSurface volSurf)
 
virtual double radius0 () const
 the start radius of the cone More...
 
virtual double radius1 () const
 the end radius of the cone More...
 
virtual double z0 () const
 the start z of the cone More...
 
virtual double z1 () const
 the end z of the cone More...
 
virtual Vector3D center () const
 the center of the cone More...
 
- Public Member Functions inherited from dd4hep::rec::CylinderSurface
 CylinderSurface (DetElement det, VolSurface volSurf)
 Standard c'tor. More...
 
virtual Vector3D u (const Vector3D &point=Vector3D()) const
 
virtual Vector3D v (const Vector3D &point=Vector3D()) const
 
virtual Vector3D normal (const Vector3D &point=Vector3D()) const
 
virtual Vector2D globalToLocal (const Vector3D &point) const
 
virtual Vector3D localToGlobal (const Vector2D &point) const
 
virtual double radius () const
 the radius of the cylinder (rho of the origin vector) More...
 
- Public Member Functions inherited from dd4hep::rec::Surface
virtual ~Surface ()
 
 Surface (DetElement det, VolSurface volSurf)
 
virtual long64 id () const
 The id of this surface - corresponds to DetElement id. More...
 
virtual const SurfaceTypetype () const
 
Volume volume () const
 The volume that has the surface attached. More...
 
VolSurface volSurface () const
 The VolSurface attched to the volume. More...
 
DetElement detElement () const
 The DetElement belonging to the surface volume. More...
 
virtual const Vector3Dorigin () const
 
virtual double innerThickness () const
 
virtual double outerThickness () const
 
virtual const IMaterialinnerMaterial () const
 Access to the material in opposite direction of the normal. More...
 
virtual const IMaterialouterMaterial () const
 Access to the material in direction of the normal. More...
 
virtual double distance (const Vector3D &point) const
 
virtual bool insideBounds (const Vector3D &point, double epsilon=1.e-4) const
 Checks if the given point lies within the surface. More...
 
virtual Vector3D volumeOrigin () const
 
virtual double length_along_u () const
 
virtual double length_along_v () const
 
virtual std::vector< std::pair< Vector3D, Vector3D > > getLines (unsigned nMax=100)
 
- Public Member Functions inherited from dd4hep::rec::ISurface
virtual ~ISurface ()
 Destructor. More...
 
- Public Member Functions inherited from dd4hep::rec::ICylinder
virtual ~ICylinder ()
 Destructor. More...
 
- Public Member Functions inherited from dd4hep::rec::ICone
virtual ~ICone ()
 Destructor. More...
 

Additional Inherited Members

- Protected Member Functions inherited from dd4hep::rec::Surface
 Surface ()=delete
 default c'tor etc. removed More...
 
 Surface (Surface const &)=delete
 
Surfaceoperator= (Surface const &)=delete
 
void initialize ()
 
- Protected Attributes inherited from dd4hep::rec::Surface
DetElement _det
 
VolSurface _volSurf
 
std::unique_ptr< TGeoMatrix > _wtM
 
long64 _id {0}
 
SurfaceType _type {}
 
Vector3D _u {}
 
Vector3D _v {}
 
Vector3D _n {}
 
Vector3D _o {}
 

Detailed Description

Specialization of Surface for cones - specializes CyliderSurface (for lazyness ...)

Author
F.Gaede, DESY
Date
May, 10 2014

Definition at line 655 of file Surface.h.

Constructor & Destructor Documentation

◆ ConeSurface()

dd4hep::rec::ConeSurface::ConeSurface ( DetElement  det,
VolSurface  volSurf 
)
inline

Definition at line 657 of file Surface.h.

Member Function Documentation

◆ center()

Vector3D dd4hep::rec::ConeSurface::center ( ) const
virtual

the center of the cone

Implements dd4hep::rec::ICone.

Definition at line 1303 of file Surface.cpp.

◆ radius0()

double dd4hep::rec::ConeSurface::radius0 ( ) const
virtual

the start radius of the cone

Implements dd4hep::rec::ICone.

Definition at line 1271 of file Surface.cpp.

◆ radius1()

double dd4hep::rec::ConeSurface::radius1 ( ) const
virtual

the end radius of the cone

Implements dd4hep::rec::ICone.

Definition at line 1279 of file Surface.cpp.

◆ z0()

double dd4hep::rec::ConeSurface::z0 ( ) const
virtual

the start z of the cone

Implements dd4hep::rec::ICone.

Definition at line 1287 of file Surface.cpp.

◆ z1()

double dd4hep::rec::ConeSurface::z1 ( ) const
virtual

the end z of the cone

Implements dd4hep::rec::ICone.

Definition at line 1295 of file Surface.cpp.


The documentation for this class was generated from the following files: