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

VGM implementation for Root polycone solid. More...

#include <Polycone.h>

Inheritance diagram for RootGM::Polycone:

Public Member Functions

 Polycone (const std::string &name, double sphi, double dphi, int nofZPlanes, double *z, double *rin, double *rout)
 
 Polycone (TGeoPcon *polycone)
 
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 Root polycone solid.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 31 of file Polycone.h.

Constructor & Destructor Documentation

◆ Polycone() [1/4]

RootGM::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 33 of file Polycone.cxx.

◆ Polycone() [2/4]

RootGM::Polycone::Polycone ( TGeoPcon * polycone)

Standard constructor to define polycone from Root object

Definition at line 70 of file Polycone.cxx.

◆ ~Polycone()

RootGM::Polycone::~Polycone ( )
virtual

Definition at line 94 of file Polycone.cxx.

◆ Polycone() [3/4]

RootGM::Polycone::Polycone ( )
protected

Protected default constructor

Definition at line 80 of file Polycone.cxx.

◆ Polycone() [4/4]

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

Protected copy constructor

Definition at line 87 of file Polycone.cxx.

Member Function Documentation

◆ Name()

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

Return the name of this solid.

Implements VGM::IPolycone.

Definition at line 108 of file Polycone.cxx.

◆ StartPhi()

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

Return starting phi angle of the segment in deg.

Implements VGM::IPolycone.

Definition at line 111 of file Polycone.cxx.

◆ DeltaPhi()

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

Return opening phi angle of the segment in deg.

Implements VGM::IPolycone.

Definition at line 117 of file Polycone.cxx.

◆ NofZPlanes()

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

Return number of planes perpendicular to the z axis.

Implements VGM::IPolycone.

Definition at line 123 of file Polycone.cxx.

◆ ZValues()

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

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

Implements VGM::IPolycone.

Definition at line 126 of file Polycone.cxx.

◆ InnerRadiusValues()

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

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

Implements VGM::IPolycone.

Definition at line 144 of file Polycone.cxx.

◆ OuterRadiusValues()

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

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

Implements VGM::IPolycone.

Definition at line 162 of file Polycone.cxx.


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