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

VGM implementation for Root tubs solid. More...

#include <Tubs.h>

Inheritance diagram for RootGM::Tubs:

Public Member Functions

 Tubs (const std::string &name, double rin, double rout, double hz, double sphi, double dphi)
 
 Tubs (TGeoTube *tubs)
 
virtual ~Tubs ()
 
virtual std::string Name () const
 Return the name of this solid.
 
virtual double InnerRadius () const
 Return the inside radius in mm.
 
virtual double OuterRadius () const
 Return the outside radius in mm.
 
virtual double ZHalfLength () const
 Return the half-length along the z axis in m.
 
virtual double StartPhi () const
 Return the starting angle of the segment in deg.
 
virtual double DeltaPhi () const
 Return the opening angle of the segment in deg.
 
- Public Member Functions inherited from BaseVGM::VTubs
 VTubs ()
 
virtual ~VTubs ()
 
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::ITubs
virtual ~ITubs ()
 
- Public Member Functions inherited from VGM::ISolid
virtual ~ISolid ()
 

Protected Member Functions

 Tubs ()
 
 Tubs (const Tubs &rhs)
 

Detailed Description

VGM implementation for Root tubs solid.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 31 of file Tubs.h.

Constructor & Destructor Documentation

◆ Tubs() [1/4]

RootGM::Tubs::Tubs ( const std::string & name,
double rin,
double rout,
double hz,
double sphi,
double dphi )

Standard constructor to define tubs from parameters

Parameters
rininside radius in mm
routoutside radius 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 26 of file Tubs.cxx.

◆ Tubs() [2/4]

RootGM::Tubs::Tubs ( TGeoTube * tubs)

Standard constructor to define tubs from Root object

Definition at line 46 of file Tubs.cxx.

◆ ~Tubs()

RootGM::Tubs::~Tubs ( )
virtual

Definition at line 68 of file Tubs.cxx.

◆ Tubs() [3/4]

RootGM::Tubs::Tubs ( )
protected

Protected default constructor

Definition at line 55 of file Tubs.cxx.

◆ Tubs() [4/4]

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

Protected copy constructor

Definition at line 61 of file Tubs.cxx.

Member Function Documentation

◆ Name()

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

Return the name of this solid.

Implements VGM::ITubs.

Definition at line 74 of file Tubs.cxx.

◆ InnerRadius()

double RootGM::Tubs::InnerRadius ( ) const
virtual

Return the inside radius in mm.

Implements VGM::ITubs.

Definition at line 77 of file Tubs.cxx.

◆ OuterRadius()

double RootGM::Tubs::OuterRadius ( ) const
virtual

Return the outside radius in mm.

Implements VGM::ITubs.

Definition at line 83 of file Tubs.cxx.

◆ ZHalfLength()

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

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

Implements VGM::ITubs.

Definition at line 89 of file Tubs.cxx.

◆ StartPhi()

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

Return the starting angle of the segment in deg.

Implements VGM::ITubs.

Definition at line 95 of file Tubs.cxx.

◆ DeltaPhi()

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

Return the opening angle of the segment in deg.

Implements VGM::ITubs.

Definition at line 104 of file Tubs.cxx.


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