VGM implementation for Geant4 trd solid.
More...
#include <Trd.h>
|
| Trd (const std::string &name, double hx1, double hx2, double hy1, double hy2, double hz) |
|
| Trd (G4Trd *trd, G4ReflectedSolid *reflTrd=0) |
|
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 Geant4 trd solid.
- Author
- Ivana Hrivnacova; IPN Orsay
Definition at line 32 of file Trd.h.
◆ Trd() [1/4]
Geant4GM::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 32 of file Trd.cxx.
◆ Trd() [2/4]
Geant4GM::Trd::Trd |
( |
G4Trd * | trd, |
|
|
G4ReflectedSolid * | reflTrd = 0 ) |
Standard constructor to define trd from G4 object
Definition at line 57 of file Trd.cxx.
◆ ~Trd()
◆ Trd() [3/4]
Protected default constructor
Definition at line 71 of file Trd.cxx.
◆ Trd() [4/4]
Geant4GM::Trd::Trd |
( |
const Trd & | rhs | ) |
|
|
protected |
Protected copy constructor
Definition at line 77 of file Trd.cxx.
◆ Name()
std::string Geant4GM::Trd::Name |
( |
| ) |
const |
|
virtual |
Return the name of this solid.
Implements VGM::ITrd.
Definition at line 90 of file Trd.cxx.
◆ XHalfLengthMinusZ()
double Geant4GM::Trd::XHalfLengthMinusZ |
( |
| ) |
const |
|
virtual |
Return the half-length along x at the surface positioned at -hz in mm.
Implements VGM::ITrd.
Definition at line 93 of file Trd.cxx.
◆ XHalfLengthPlusZ()
double Geant4GM::Trd::XHalfLengthPlusZ |
( |
| ) |
const |
|
virtual |
Return the half-length along x at the surface positioned at +hz in mm.
Implements VGM::ITrd.
Definition at line 102 of file Trd.cxx.
◆ YHalfLengthMinusZ()
double Geant4GM::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 Geant4GM::Trd::YHalfLengthPlusZ |
( |
| ) |
const |
|
virtual |
Return thehalf-length along y at the surface positioned at +hz in mm.
Implements VGM::ITrd.
Definition at line 120 of file Trd.cxx.
◆ ZHalfLength()
double Geant4GM::Trd::ZHalfLength |
( |
| ) |
const |
|
virtual |
Return the half-length along the z axis in mm.
Implements VGM::ITrd.
Definition at line 129 of file Trd.cxx.
The documentation for this class was generated from the following files:
- packages/Geant4GM/include/Geant4GM/solids/Trd.h
- packages/Geant4GM/source/solids/Trd.cxx