VGM implementation for Geant4 tubs solid.
More...
#include <Tubs.h>
|
| | Tubs (const std::string &name, double rin, double rout, double hz, double sphi, double dphi) |
| |
| | Tubs (G4Tubs *tubs, G4ReflectedSolid *reflTubs=0) |
| |
| virtual | ~Tubs () |
| |
| 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.
|
| |
| | VTubs () |
| |
| virtual | ~VTubs () |
| |
| 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 | ~ITubs () |
| |
| virtual | ~ISolid () |
| |
VGM implementation for Geant4 tubs solid.
- Author
- Ivana Hrivnacova; IPN Orsay
Definition at line 35 of file Tubs.h.
◆ Tubs() [1/4]
| Geant4GM::Tubs::Tubs |
( |
const std::string & | name, |
|
|
double | rin, |
|
|
double | rout, |
|
|
double | hz, |
|
|
double | sphi, |
|
|
double | dphi ) |
Standard constructor to define tubs from parameters
- 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 |
Definition at line 28 of file Tubs.cxx.
◆ Tubs() [2/4]
| Geant4GM::Tubs::Tubs |
( |
G4Tubs * | tubs, |
|
|
G4ReflectedSolid * | reflTubs = 0 ) |
Standard constructor to define tubs from G4 object
Definition at line 48 of file Tubs.cxx.
◆ ~Tubs()
| Geant4GM::Tubs::~Tubs |
( |
| ) |
|
|
virtual |
◆ Tubs() [3/4]
Protected default constructor
Definition at line 60 of file Tubs.cxx.
◆ Tubs() [4/4]
| Geant4GM::Tubs::Tubs |
( |
const Tubs & | rhs | ) |
|
|
protected |
Protected copy constructor
Definition at line 66 of file Tubs.cxx.
◆ Name()
| std::string Geant4GM::Tubs::Name |
( |
| ) |
const |
|
virtual |
◆ InnerRadius()
| double Geant4GM::Tubs::InnerRadius |
( |
| ) |
const |
|
virtual |
◆ OuterRadius()
| double Geant4GM::Tubs::OuterRadius |
( |
| ) |
const |
|
virtual |
◆ ZHalfLength()
| double Geant4GM::Tubs::ZHalfLength |
( |
| ) |
const |
|
virtual |
Return the half-length along the z axis in m.
Implements VGM::ITubs.
Definition at line 94 of file Tubs.cxx.
◆ StartPhi()
| double Geant4GM::Tubs::StartPhi |
( |
| ) |
const |
|
virtual |
Return the starting angle of the segment in deg.
Implements VGM::ITubs.
Definition at line 100 of file Tubs.cxx.
◆ DeltaPhi()
| double Geant4GM::Tubs::DeltaPhi |
( |
| ) |
const |
|
virtual |
Return the opening angle of the segment in deg.
Implements VGM::ITubs.
Definition at line 106 of file Tubs.cxx.
The documentation for this class was generated from the following files:
- packages/Geant4GM/include/Geant4GM/solids/Tubs.h
- packages/Geant4GM/source/solids/Tubs.cxx