VGM implementation for Geant4 cons solid.
More...
#include <Cons.h>
|
| | Cons (const std::string &name, double rin1, double rout1, double rin2, double rout2, double hz, double sphi, double dphi) |
| |
| | Cons (G4Cons *cons, G4ReflectedSolid *reflCons=0) |
| |
| virtual | ~Cons () |
| |
| virtual std::string | Name () const |
| | Return the name of this solid.
|
| |
| virtual double | InnerRadiusMinusZ () const |
| | Return the innner radius at -z in mm.
|
| |
| virtual double | OuterRadiusMinusZ () const |
| | Return the outer radius at -z in mm.
|
| |
| virtual double | InnerRadiusPlusZ () const |
| | Return the innner radius at +z in mm.
|
| |
| virtual double | OuterRadiusPlusZ () const |
| | Return the outer radius at -z in mm.
|
| |
| virtual double | ZHalfLength () const |
| | Return the half-length along the z axis in mm.
|
| |
| virtual double | StartPhi () const |
| | Return the starting phi angle of the segment in deg.
|
| |
| virtual double | DeltaPhi () const |
| | Return the opening phi angle of the segment in deg.
|
| |
| | VCons () |
| |
| virtual | ~VCons () |
| |
| 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 | ~ICons () |
| |
| virtual | ~ISolid () |
| |
VGM implementation for Geant4 cons solid.
- Author
- Ivana Hrivnacova; IPN Orsay
Definition at line 32 of file Cons.h.
◆ Cons() [1/4]
| Geant4GM::Cons::Cons |
( |
const std::string & | name, |
|
|
double | rin1, |
|
|
double | rout1, |
|
|
double | rin2, |
|
|
double | rout2, |
|
|
double | hz, |
|
|
double | sphi, |
|
|
double | dphi ) |
Standard constructor to define cons from parameters
- Parameters
-
| rin1 | inside radius at -hz in mm |
| rout1 | outside radius at -hz in mm |
| rin2 | inside radius at +hz in mm |
| rout2 | outside radius at +hz 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 33 of file Cons.cxx.
◆ Cons() [2/4]
| Geant4GM::Cons::Cons |
( |
G4Cons * | cons, |
|
|
G4ReflectedSolid * | reflCons = 0 ) |
Standard constructor to define cons from G4 object
Definition at line 57 of file Cons.cxx.
◆ ~Cons()
| Geant4GM::Cons::~Cons |
( |
| ) |
|
|
virtual |
◆ Cons() [3/4]
Protected default constructor
Definition at line 75 of file Cons.cxx.
◆ Cons() [4/4]
| Geant4GM::Cons::Cons |
( |
const Cons & | rhs | ) |
|
|
protected |
Protected copy constructor
Definition at line 81 of file Cons.cxx.
◆ Name()
| std::string Geant4GM::Cons::Name |
( |
| ) |
const |
|
virtual |
◆ InnerRadiusMinusZ()
| double Geant4GM::Cons::InnerRadiusMinusZ |
( |
| ) |
const |
|
virtual |
Return the innner radius at -z in mm.
Implements VGM::ICons.
Definition at line 97 of file Cons.cxx.
◆ OuterRadiusMinusZ()
| double Geant4GM::Cons::OuterRadiusMinusZ |
( |
| ) |
const |
|
virtual |
◆ InnerRadiusPlusZ()
| double Geant4GM::Cons::InnerRadiusPlusZ |
( |
| ) |
const |
|
virtual |
◆ OuterRadiusPlusZ()
| double Geant4GM::Cons::OuterRadiusPlusZ |
( |
| ) |
const |
|
virtual |
◆ ZHalfLength()
| double Geant4GM::Cons::ZHalfLength |
( |
| ) |
const |
|
virtual |
Return the half-length along the z axis in mm.
Implements VGM::ICons.
Definition at line 133 of file Cons.cxx.
◆ StartPhi()
| double Geant4GM::Cons::StartPhi |
( |
| ) |
const |
|
virtual |
Return the starting phi angle of the segment in deg.
Implements VGM::ICons.
Definition at line 139 of file Cons.cxx.
◆ DeltaPhi()
| double Geant4GM::Cons::DeltaPhi |
( |
| ) |
const |
|
virtual |
Return the opening phi angle of the segment in deg.
Implements VGM::ICons.
Definition at line 145 of file Cons.cxx.
The documentation for this class was generated from the following files:
- packages/Geant4GM/include/Geant4GM/solids/Cons.h
- packages/Geant4GM/source/solids/Cons.cxx