VGM Version 5.3
Loading...
Searching...
No Matches
Geant4GM::Cons Class Reference

VGM implementation for Geant4 cons solid. More...

#include <Cons.h>

Inheritance diagram for Geant4GM::Cons:

Public Member Functions

 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.
 
- Public Member Functions inherited from BaseVGM::VCons
 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.
 
- Public Member Functions inherited from VGM::ICons
virtual ~ICons ()
 
- Public Member Functions inherited from VGM::ISolid
virtual ~ISolid ()
 

Protected Member Functions

 Cons ()
 
 Cons (const Cons &rhs)
 

Detailed Description

VGM implementation for Geant4 cons solid.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 32 of file Cons.h.

Constructor & Destructor Documentation

◆ 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
rin1inside radius at -hz in mm
rout1outside radius at -hz in mm
rin2inside radius at +hz in mm
rout2outside radius at +hz in mm
hzhalf-length along the z axis in mm
sphistarting angle of the segment in deg
dphiopening 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

Definition at line 88 of file Cons.cxx.

◆ Cons() [3/4]

Geant4GM::Cons::Cons ( )
protected

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.

Member Function Documentation

◆ Name()

std::string Geant4GM::Cons::Name ( ) const
virtual

Return the name of this solid.

Implements VGM::ICons.

Definition at line 94 of file Cons.cxx.

◆ 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

Return the outer radius at -z in mm.

Implements VGM::ICons.

Definition at line 106 of file Cons.cxx.

◆ InnerRadiusPlusZ()

double Geant4GM::Cons::InnerRadiusPlusZ ( ) const
virtual

Return the innner radius at +z in mm.

Implements VGM::ICons.

Definition at line 115 of file Cons.cxx.

◆ OuterRadiusPlusZ()

double Geant4GM::Cons::OuterRadiusPlusZ ( ) const
virtual

Return the outer radius at -z in mm.

Implements VGM::ICons.

Definition at line 124 of file Cons.cxx.

◆ 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: