VGM implementation for Geant4 box solid.
More...
#include <Box.h>
|
| | Box (const std::string &name, double hx, double hy, double hz) |
| |
| | Box (G4Box *box, G4ReflectedSolid *reflBox=0) |
| |
| virtual | ~Box () |
| |
| virtual std::string | Name () const |
| | Return the name of this solid.
|
| |
| virtual double | XHalfLength () const |
| | Return the half-length along the x axis in mm.
|
| |
| virtual double | YHalfLength () const |
| | Return the half-length along the y axis in mm.
|
| |
| virtual double | ZHalfLength () const |
| | Return the half-length along the z axis in mm.
|
| |
| | VBox () |
| |
| virtual | ~VBox () |
| |
| 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 | ~IBox () |
| |
| virtual | ~ISolid () |
| |
VGM implementation for Geant4 box solid.
- Author
- Ivana Hrivnacova; IPN Orsay
Definition at line 32 of file Box.h.
◆ Box() [1/4]
| Geant4GM::Box::Box |
( |
const std::string & | name, |
|
|
double | hx, |
|
|
double | hy, |
|
|
double | hz ) |
Standard constructor to define box from parameters
- Parameters
-
| hx | half-length along the x axis in mm |
| hy | half-length along the y axis in mm |
| hz | half-length along the z axis in mm |
Definition at line 28 of file Box.cxx.
◆ Box() [2/4]
| Geant4GM::Box::Box |
( |
G4Box * | box, |
|
|
G4ReflectedSolid * | reflBox = 0 ) |
Standard constructor to define box from G4 object
Definition at line 44 of file Box.cxx.
◆ ~Box()
◆ Box() [3/4]
Protected default constructor
Definition at line 56 of file Box.cxx.
◆ Box() [4/4]
| Geant4GM::Box::Box |
( |
const Box & | rhs | ) |
|
|
protected |
Protected copy constructor
Definition at line 62 of file Box.cxx.
◆ Name()
| std::string Geant4GM::Box::Name |
( |
| ) |
const |
|
virtual |
Return the name of this solid.
Implements VGM::IBox.
Definition at line 75 of file Box.cxx.
◆ XHalfLength()
| double Geant4GM::Box::XHalfLength |
( |
| ) |
const |
|
virtual |
Return the half-length along the x axis in mm.
Implements VGM::IBox.
Definition at line 78 of file Box.cxx.
◆ YHalfLength()
| double Geant4GM::Box::YHalfLength |
( |
| ) |
const |
|
virtual |
Return the half-length along the y axis in mm.
Implements VGM::IBox.
Definition at line 84 of file Box.cxx.
◆ ZHalfLength()
| double Geant4GM::Box::ZHalfLength |
( |
| ) |
const |
|
virtual |
Return the half-length along the z axis in mm.
Implements VGM::IBox.
Definition at line 90 of file Box.cxx.
The documentation for this class was generated from the following files:
- packages/Geant4GM/include/Geant4GM/solids/Box.h
- packages/Geant4GM/source/solids/Box.cxx