|
VGM Version 5.3.1
|
VGM implementation for cut tubs solid in Geant4. More...
#include <Ctubs.h>

Public Member Functions | |
| Ctubs (const std::string &name, double rin, double rout, double hz, double sphi, double dphi, double nxlow, double nylow, double nzlow, double nxhigh, double nyhigh, double nzhigh) | |
| Ctubs (G4CutTubs *ctubs, G4ReflectedSolid *reflCtubs=0) | |
| virtual | ~Ctubs () |
| virtual std::string | Name () const |
| Return the name of this solid. | |
| virtual double | InnerRadius () const |
| Return the inside radius in mm. | |
| virtual double | OuterRadius () const |
| Return the outside radius in mm. | |
| virtual double | ZHalfLength () const |
| Return the half-length along the z axis in m. | |
| virtual double | StartPhi () const |
| Return the starting angle of the segment in deg. | |
| virtual double | DeltaPhi () const |
| Return the opening angle of the segment in deg. | |
| virtual double | NxLow () const |
| X-component of the normal unit vector to the cut plane in -z. | |
| virtual double | NyLow () const |
| Y-component of the normal unit vector to the cut plane in -z. | |
| virtual double | NzLow () const |
| Z-component of the normal unit vector to the cut plane in -z. | |
| virtual double | NxHigh () const |
| X-component of the normal unit vector to the cut plane in +z. | |
| virtual double | NyHigh () const |
| Y-component of the normal unit vector to the cut plane in +z. | |
| virtual double | NzHigh () const |
| Z-component of the normal unit vector to the cut plane in +z. | |
Public Member Functions inherited from BaseVGM::VCtubs | |
| VCtubs () | |
| virtual | ~VCtubs () |
| 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. | |
Public Member Functions inherited from VGM::ICtubs | |
| virtual | ~ICtubs () |
Public Member Functions inherited from VGM::ISolid | |
| virtual | ~ISolid () |
Protected Member Functions | |
| Ctubs () | |
| Ctubs (const Ctubs &rhs) | |
VGM implementation for cut tubs solid in Geant4.
The solid is realized as boolean subtraction of tube and two boxes.
| Geant4GM::Ctubs::Ctubs | ( | const std::string & | name, |
| double | rin, | ||
| double | rout, | ||
| double | hz, | ||
| double | sphi, | ||
| double | dphi, | ||
| double | nxlow, | ||
| double | nylow, | ||
| double | nzlow, | ||
| double | nxhigh, | ||
| double | nyhigh, | ||
| double | nzhigh ) |
Standard constructor to define tubs from parameters
| rin | inside radius in mm |
| rout | outside radius in mm |
| hz | half-length along the z axis in mm |
| sphi | starting angle of the segment in deg |
| dphi | opening angle of the segment in deg |
| nxlow | X-component of the normal unit vector to the cut plane in -z |
| nylow | Y-component of the normal unit vector to the cut plane in -z |
| nzlow | Z-component of the normal unit vector to the cut plane in -z |
| nxhigh | X-component of the normal unit vector to the cut plane in +z |
| nyhigh | Y-component of the normal unit vector to the cut plane in +z |
| nzhigh | Z-component of the normal unit vector to the cut plane in +z |
Create Geabt4 cut tube
| Geant4GM::Ctubs::Ctubs | ( | G4CutTubs * | ctubs, |
| G4ReflectedSolid * | reflCtubs = 0 ) |
|
protected |
|
protected |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Return the half-length along the z axis in m.
Implements VGM::ICtubs.
|
virtual |
Return the starting angle of the segment in deg.
Implements VGM::ICtubs.
|
virtual |
Return the opening angle of the segment in deg.
Implements VGM::ICtubs.
|
virtual |
X-component of the normal unit vector to the cut plane in -z.
Implements VGM::ICtubs.
|
virtual |
Y-component of the normal unit vector to the cut plane in -z.
Implements VGM::ICtubs.
|
virtual |
Z-component of the normal unit vector to the cut plane in -z.
Implements VGM::ICtubs.
|
virtual |
X-component of the normal unit vector to the cut plane in +z.
Implements VGM::ICtubs.
|
virtual |
Y-component of the normal unit vector to the cut plane in +z.
Implements VGM::ICtubs.
|
virtual |
Z-component of the normal unit vector to the cut plane in +z.
Implements VGM::ICtubs.