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

VGM implementation for Root cons solid. More...

#include <Cons.h>

Inheritance diagram for RootGM::Cons:

Public Member Functions

 Cons (const std::string &name, double rin1, double rout1, double rin2, double rout2, double hz, double sphi, double dphi)
 
 Cons (TGeoCone *cons)
 
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 Root cons solid.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 31 of file Cons.h.

Constructor & Destructor Documentation

◆ Cons() [1/4]

RootGM::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 27 of file Cons.cxx.

◆ Cons() [2/4]

RootGM::Cons::Cons ( TGeoCone * cons)

Standard constructor to define cons from Root object

Definition at line 50 of file Cons.cxx.

◆ ~Cons()

RootGM::Cons::~Cons ( )
virtual

Definition at line 72 of file Cons.cxx.

◆ Cons() [3/4]

RootGM::Cons::Cons ( )
protected

Protected default constructor

Definition at line 59 of file Cons.cxx.

◆ Cons() [4/4]

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

Protected copy constructor

Definition at line 65 of file Cons.cxx.

Member Function Documentation

◆ Name()

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

Return the name of this solid.

Implements VGM::ICons.

Definition at line 78 of file Cons.cxx.

◆ InnerRadiusMinusZ()

double RootGM::Cons::InnerRadiusMinusZ ( ) const
virtual

Return the innner radius at -z in mm.

Implements VGM::ICons.

Definition at line 81 of file Cons.cxx.

◆ OuterRadiusMinusZ()

double RootGM::Cons::OuterRadiusMinusZ ( ) const
virtual

Return the outer radius at -z in mm.

Implements VGM::ICons.

Definition at line 87 of file Cons.cxx.

◆ InnerRadiusPlusZ()

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

Return the innner radius at +z in mm.

Implements VGM::ICons.

Definition at line 93 of file Cons.cxx.

◆ OuterRadiusPlusZ()

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

Return the outer radius at -z in mm.

Implements VGM::ICons.

Definition at line 99 of file Cons.cxx.

◆ ZHalfLength()

double RootGM::Cons::ZHalfLength ( ) const
virtual

Return the half-length along the z axis in mm.

Implements VGM::ICons.

Definition at line 105 of file Cons.cxx.

◆ StartPhi()

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

Return the starting phi angle of the segment in deg.

Implements VGM::ICons.

Definition at line 111 of file Cons.cxx.

◆ DeltaPhi()

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

Return the opening phi angle of the segment in deg.

Implements VGM::ICons.

Definition at line 120 of file Cons.cxx.


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