Garfield++ v2r0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
Garfield::GeometryBase Class Referenceabstract

Abstract base class for geometry classes. More...

#include <GeometryBase.hh>

+ Inheritance diagram for Garfield::GeometryBase:

Public Member Functions

 GeometryBase ()
 
virtual ~GeometryBase ()
 
virtual MediumGetMedium (const double x, const double y, const double z) const =0
 
virtual bool IsInside (const double x, const double y, const double z) const =0
 
virtual bool GetBoundingBox (double &xmin, double &ymin, double &zmin, double &xmax, double &ymax, double &zmax)=0
 

Protected Attributes

std::string m_className
 

Detailed Description

Abstract base class for geometry classes.

Definition at line 12 of file GeometryBase.hh.

Constructor & Destructor Documentation

◆ GeometryBase()

Garfield::GeometryBase::GeometryBase ( )
inline

Definition at line 16 of file GeometryBase.hh.

16: m_className("GeometryBase") {}

◆ ~GeometryBase()

virtual Garfield::GeometryBase::~GeometryBase ( )
inlinevirtual

Definition at line 18 of file GeometryBase.hh.

18{}

Member Function Documentation

◆ GetBoundingBox()

virtual bool Garfield::GeometryBase::GetBoundingBox ( double &  xmin,
double &  ymin,
double &  zmin,
double &  xmax,
double &  ymax,
double &  zmax 
)
pure virtual

◆ GetMedium()

virtual Medium * Garfield::GeometryBase::GetMedium ( const double  x,
const double  y,
const double  z 
) const
pure virtual

◆ IsInside()

virtual bool Garfield::GeometryBase::IsInside ( const double  x,
const double  y,
const double  z 
) const
pure virtual

Member Data Documentation

◆ m_className


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