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

VGM implementation for Geant4 polycone solid. More...

#include <Polycone.h>

Inheritance diagram for Geant4GM::Polycone:

Public Member Functions

 Polycone (const std::string &name, double sphi, double dphi, int nofZplanes, double *z, double *rin, double *rout)
 
 Polycone (G4Polycone *polycone, G4ReflectedSolid *reflPolycone=0)
 
 Polycone (G4Cons *cons)
 
 Polycone (G4Tubs *tubs)
 
virtual ~Polycone ()
 
virtual std::string Name () const
 Return the name of this solid.
 
virtual double StartPhi () const
 Return starting phi angle of the segment in deg.
 
virtual double DeltaPhi () const
 Return opening phi angle of the segment in deg.
 
virtual int NofZPlanes () const
 Return number of planes perpendicular to the z axis.
 
virtual double * ZValues () const
 Return the array of z positions of the planes in mm.
 
virtual double * InnerRadiusValues () const
 Return the array of inner radius of the planes in mm.
 
virtual double * OuterRadiusValues () const
 Return the array of outer radius of the planes in mm.
 
- Public Member Functions inherited from BaseVGM::VPolycone
 VPolycone ()
 
virtual ~VPolycone ()
 
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::IPolycone
virtual ~IPolycone ()
 
- Public Member Functions inherited from VGM::ISolid
virtual ~ISolid ()
 

Protected Member Functions

 Polycone ()
 
 Polycone (const Polycone &rhs)
 

Detailed Description

VGM implementation for Geant4 polycone solid.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 34 of file Polycone.h.

Constructor & Destructor Documentation

◆ Polycone() [1/6]

Geant4GM::Polycone::Polycone ( const std::string & name,
double sphi,
double dphi,
int nofZplanes,
double * z,
double * rin,
double * rout )

Standard constructor to define polycone from parameters

Parameters
sphistarting angle of the segment in deg
dphiopening angle of the segment in deg
nofZplanesnumber of planes perpendicular to the z axis (has to be >= 2)
zarray of z positions of the planes in mm
rinarray of inside radius of the planes in mm
routarray of outside radius of the planes in mm

Definition at line 40 of file Polycone.cxx.

◆ Polycone() [2/6]

Geant4GM::Polycone::Polycone ( G4Polycone * polycone,
G4ReflectedSolid * reflPolycone = 0 )

Standard constructor to define polycone from G4Polycone object

Definition at line 83 of file Polycone.cxx.

◆ Polycone() [3/6]

Geant4GM::Polycone::Polycone ( G4Cons * cons)

Standard constructor to define polycone from G4Cons object

Definition at line 110 of file Polycone.cxx.

◆ Polycone() [4/6]

Geant4GM::Polycone::Polycone ( G4Tubs * tubs)

Standard constructor to define polycone from G4Tubs object

Definition at line 138 of file Polycone.cxx.

◆ ~Polycone()

Geant4GM::Polycone::~Polycone ( )
virtual

Definition at line 180 of file Polycone.cxx.

◆ Polycone() [5/6]

Geant4GM::Polycone::Polycone ( )
protected

Protected default constructor

Definition at line 166 of file Polycone.cxx.

◆ Polycone() [6/6]

Geant4GM::Polycone::Polycone ( const Polycone & rhs)
protected

Protected copy constructor

Definition at line 173 of file Polycone.cxx.

Member Function Documentation

◆ Name()

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

Return the name of this solid.

Implements VGM::IPolycone.

Definition at line 195 of file Polycone.cxx.

◆ StartPhi()

double Geant4GM::Polycone::StartPhi ( ) const
virtual

Return starting phi angle of the segment in deg.

Implements VGM::IPolycone.

Definition at line 198 of file Polycone.cxx.

◆ DeltaPhi()

double Geant4GM::Polycone::DeltaPhi ( ) const
virtual

Return opening phi angle of the segment in deg.

Implements VGM::IPolycone.

Definition at line 204 of file Polycone.cxx.

◆ NofZPlanes()

int Geant4GM::Polycone::NofZPlanes ( ) const
virtual

Return number of planes perpendicular to the z axis.

Implements VGM::IPolycone.

Definition at line 212 of file Polycone.cxx.

◆ ZValues()

double * Geant4GM::Polycone::ZValues ( ) const
virtual

Return the array of z positions of the planes in mm.

Implements VGM::IPolycone.

Definition at line 218 of file Polycone.cxx.

◆ InnerRadiusValues()

double * Geant4GM::Polycone::InnerRadiusValues ( ) const
virtual

Return the array of inner radius of the planes in mm.

Implements VGM::IPolycone.

Definition at line 241 of file Polycone.cxx.

◆ OuterRadiusValues()

double * Geant4GM::Polycone::OuterRadiusValues ( ) const
virtual

Return the array of outer radius of the planes in mm.

Implements VGM::IPolycone.

Definition at line 261 of file Polycone.cxx.


The documentation for this class was generated from the following files: