Garfield++ v1r0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
|
#include <SolidBox.hh>
Public Member Functions | |
SolidBox (const double &cx, const double &cy, const double &cz, const double &lx, const double &ly, const double &lz) | |
SolidBox (const double &cx, const double &cy, const double &cz, const double &lx, const double &ly, const double &lz, const double &dx, const double &dy, const double &dz) | |
~SolidBox () | |
virtual bool | IsInside (const double &x, const double &y, const double &z) const |
virtual bool | GetBoundingBox (double &xmin, double &ymin, double &zmin, double &xmax, double &ymax, double &zmax) const |
virtual bool | IsBox () const |
virtual bool | GetCenter (double &x, double &y, double &z) const |
virtual bool | GetDimensions (double &l1, double &l2, double &l3) const |
virtual bool | GetOrientation (double &ctheta, double &stheta, double &cphi, double &sphi) const |
void | SetHalfLengthX (const double &lx) |
void | SetHalfLengthY (const double &ly) |
void | SetHalfLengthZ (const double &lz) |
Public Member Functions inherited from Garfield::Solid | |
Solid () | |
virtual | ~Solid () |
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) const =0 |
virtual bool | IsBox () const |
virtual bool | IsTube () const |
virtual bool | IsSphere () const |
virtual bool | GetCenter (double &x, double &y, double &z) const =0 |
virtual bool | GetDimensions (double &l1, double &l2, double &l3) const =0 |
virtual bool | GetOrientation (double &ctheta, double &stheta, double &cphi, double &shpi) const =0 |
void | EnableDebugging () |
void | DisableDebugging () |
Additional Inherited Members | |
Protected Attributes inherited from Garfield::Solid | |
bool | m_debug |
Definition at line 10 of file SolidBox.hh.
Garfield::SolidBox::SolidBox | ( | const double & | cx, |
const double & | cy, | ||
const double & | cz, | ||
const double & | lx, | ||
const double & | ly, | ||
const double & | lz | ||
) |
Definition at line 10 of file SolidBox.cc.
Garfield::SolidBox::SolidBox | ( | const double & | cx, |
const double & | cy, | ||
const double & | cz, | ||
const double & | lx, | ||
const double & | ly, | ||
const double & | lz, | ||
const double & | dx, | ||
const double & | dy, | ||
const double & | dz | ||
) |
Definition at line 25 of file SolidBox.cc.
|
inline |
Definition at line 20 of file SolidBox.hh.
|
virtual |
Implements Garfield::Solid.
Definition at line 92 of file SolidBox.cc.
|
virtual |
Implements Garfield::Solid.
Definition at line 115 of file SolidBox.cc.
|
virtual |
Implements Garfield::Solid.
Definition at line 123 of file SolidBox.cc.
|
virtual |
Implements Garfield::Solid.
Definition at line 131 of file SolidBox.cc.
|
inlinevirtual |
|
virtual |
Implements Garfield::Solid.
Definition at line 62 of file SolidBox.cc.
void Garfield::SolidBox::SetHalfLengthX | ( | const double & | lx | ) |
Definition at line 141 of file SolidBox.cc.
void Garfield::SolidBox::SetHalfLengthY | ( | const double & | ly | ) |
Definition at line 151 of file SolidBox.cc.
void Garfield::SolidBox::SetHalfLengthZ | ( | const double & | lz | ) |
Definition at line 161 of file SolidBox.cc.