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

VGM implementation for Geant4 tubs solid. More...

#include <Tubs.h>

Inheritance diagram for Geant4GM::Tubs:

Public Member Functions

 Tubs (const std::string &name, double rin, double rout, double hz, double sphi, double dphi)
 
 Tubs (G4Tubs *tubs, G4ReflectedSolid *reflTubs=0)
 
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 Geant4 tubs solid.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 35 of file Tubs.h.

Constructor & Destructor Documentation

◆ Tubs() [1/4]

Geant4GM::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 28 of file Tubs.cxx.

◆ Tubs() [2/4]

Geant4GM::Tubs::Tubs ( G4Tubs * tubs,
G4ReflectedSolid * reflTubs = 0 )

Standard constructor to define tubs from G4 object

Definition at line 48 of file Tubs.cxx.

◆ ~Tubs()

Geant4GM::Tubs::~Tubs ( )
virtual

Definition at line 73 of file Tubs.cxx.

◆ Tubs() [3/4]

Geant4GM::Tubs::Tubs ( )
protected

Protected default constructor

Definition at line 60 of file Tubs.cxx.

◆ Tubs() [4/4]

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

Protected copy constructor

Definition at line 66 of file Tubs.cxx.

Member Function Documentation

◆ Name()

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

Return the name of this solid.

Implements VGM::ITubs.

Definition at line 79 of file Tubs.cxx.

◆ InnerRadius()

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

Return the inside radius in mm.

Implements VGM::ITubs.

Definition at line 82 of file Tubs.cxx.

◆ OuterRadius()

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

Return the outside radius in mm.

Implements VGM::ITubs.

Definition at line 88 of file Tubs.cxx.

◆ ZHalfLength()

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

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

Implements VGM::ITubs.

Definition at line 94 of file Tubs.cxx.

◆ StartPhi()

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

Return the starting angle of the segment in deg.

Implements VGM::ITubs.

Definition at line 100 of file Tubs.cxx.

◆ DeltaPhi()

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

Return the opening angle of the segment in deg.

Implements VGM::ITubs.

Definition at line 106 of file Tubs.cxx.


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