VGM implementation for Root trd solid.
More...
#include <Trd.h>
|
| Trd (const std::string &name, double hx1, double hx2, double hy1, double hy2, double hz) |
|
| Trd (TGeoTrd2 *trd) |
|
| Trd (TGeoTrd1 *trd) |
|
virtual | ~Trd () |
|
virtual std::string | Name () const |
| Return the name of this solid.
|
|
virtual double | XHalfLengthMinusZ () const |
| Return the half-length along x at the surface positioned at -hz in mm.
|
|
virtual double | XHalfLengthPlusZ () const |
| Return the half-length along x at the surface positioned at +hz in mm.
|
|
virtual double | YHalfLengthMinusZ () const |
| Return the half-length along y at the surface positioned at -hz in mm.
|
|
virtual double | YHalfLengthPlusZ () const |
| Return thehalf-length along y at the surface positioned at +hz in mm.
|
|
virtual double | ZHalfLength () const |
| Return the half-length along the z axis in mm.
|
|
| VTrd () |
|
virtual | ~VTrd () |
|
virtual VGM::SolidType | Type () const |
| Return the type of this solid.
|
|
virtual std::ostream & | Put (std::ostream &out) const |
| Put the printing of the solid parameters in the out stream.
|
|
virtual | ~ITrd () |
|
virtual | ~ISolid () |
|
VGM implementation for Root trd solid.
- Author
- Ivana Hrivnacova; IPN Orsay
Definition at line 32 of file Trd.h.
◆ Trd() [1/5]
RootGM::Trd::Trd |
( |
const std::string & | name, |
|
|
double | hx1, |
|
|
double | hx2, |
|
|
double | hy1, |
|
|
double | hy2, |
|
|
double | hz ) |
Standard constructor to define trd from parameters
- Parameters
-
hx1 | half-length along x at the surface positioned at -hz in mm |
hx2 | half-length along x at the surface positioned at +hz in mm |
hy1 | half-length along y at the surface positioned at -hz in mm |
hy2 | half-length along y at the surface positioned at +hz in mm |
hz | half-length along the z axis in mm |
Definition at line 27 of file Trd.cxx.
◆ Trd() [2/5]
RootGM::Trd::Trd |
( |
TGeoTrd2 * | trd | ) |
|
Standard constructor to define trd from Root Trd2 object
Definition at line 52 of file Trd.cxx.
◆ Trd() [3/5]
RootGM::Trd::Trd |
( |
TGeoTrd1 * | trd | ) |
|
Standard constructor to define trd from Root Trd1 object
Definition at line 61 of file Trd.cxx.
◆ ~Trd()
◆ Trd() [4/5]
Protected default constructor
Definition at line 76 of file Trd.cxx.
◆ Trd() [5/5]
RootGM::Trd::Trd |
( |
const Trd & | rhs | ) |
|
|
protected |
Protected copy constructor
Definition at line 82 of file Trd.cxx.
◆ Name()
std::string RootGM::Trd::Name |
( |
| ) |
const |
|
virtual |
Return the name of this solid.
Implements VGM::ITrd.
Definition at line 96 of file Trd.cxx.
◆ XHalfLengthMinusZ()
double RootGM::Trd::XHalfLengthMinusZ |
( |
| ) |
const |
|
virtual |
Return the half-length along x at the surface positioned at -hz in mm.
Implements VGM::ITrd.
Definition at line 99 of file Trd.cxx.
◆ XHalfLengthPlusZ()
double RootGM::Trd::XHalfLengthPlusZ |
( |
| ) |
const |
|
virtual |
Return the half-length along x at the surface positioned at +hz in mm.
Implements VGM::ITrd.
Definition at line 105 of file Trd.cxx.
◆ YHalfLengthMinusZ()
double RootGM::Trd::YHalfLengthMinusZ |
( |
| ) |
const |
|
virtual |
Return the half-length along y at the surface positioned at -hz in mm.
Implements VGM::ITrd.
Definition at line 111 of file Trd.cxx.
◆ YHalfLengthPlusZ()
double RootGM::Trd::YHalfLengthPlusZ |
( |
| ) |
const |
|
virtual |
Return thehalf-length along y at the surface positioned at +hz in mm.
Implements VGM::ITrd.
Definition at line 117 of file Trd.cxx.
◆ ZHalfLength()
double RootGM::Trd::ZHalfLength |
( |
| ) |
const |
|
virtual |
Return the half-length along the z axis in mm.
Implements VGM::ITrd.
Definition at line 123 of file Trd.cxx.
The documentation for this class was generated from the following files:
- packages/RootGM/include/RootGM/solids/Trd.h
- packages/RootGM/source/solids/Trd.cxx