VGM implementation for Root box solid.
More...
#include <Box.h>
|
| Box (const std::string &name, double hx, double hy, double hz) |
|
| Box (TGeoBBox *box, bool addInMap=true) |
|
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 Root box solid.
- Author
- Ivana Hrivnacova; IPN Orsay
Definition at line 31 of file Box.h.
◆ Box() [1/4]
RootGM::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 26 of file Box.cxx.
◆ Box() [2/4]
RootGM::Box::Box |
( |
TGeoBBox * | box, |
|
|
bool | addInMap = true ) |
Standard constructor to define box from Root object
Definition at line 42 of file Box.cxx.
◆ ~Box()
◆ Box() [3/4]
Protected default constructor
Definition at line 51 of file Box.cxx.
◆ Box() [4/4]
RootGM::Box::Box |
( |
const Box & | rhs | ) |
|
|
protected |
Protected copy constructor
Definition at line 57 of file Box.cxx.
◆ Name()
std::string RootGM::Box::Name |
( |
| ) |
const |
|
virtual |
Return the name of this solid.
Implements VGM::IBox.
Definition at line 74 of file Box.cxx.
◆ XHalfLength()
double RootGM::Box::XHalfLength |
( |
| ) |
const |
|
virtual |
Return the half-length along the x axis in mm.
Implements VGM::IBox.
Definition at line 77 of file Box.cxx.
◆ YHalfLength()
double RootGM::Box::YHalfLength |
( |
| ) |
const |
|
virtual |
Return the half-length along the y axis in mm.
Implements VGM::IBox.
Definition at line 83 of file Box.cxx.
◆ ZHalfLength()
double RootGM::Box::ZHalfLength |
( |
| ) |
const |
|
virtual |
Return the half-length along the z axis in mm.
Implements VGM::IBox.
Definition at line 89 of file Box.cxx.
The documentation for this class was generated from the following files:
- packages/RootGM/include/RootGM/solids/Box.h
- packages/RootGM/source/solids/Box.cxx