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

VGM implementation for Root cut tubs solid. More...

#include <Ctubs.h>

Inheritance diagram for RootGM::Ctubs:

Public Member Functions

 Ctubs (const std::string &name, double rin, double rout, double hz, double sphi, double dphi, double nxlow, double nylow, double nzlow, double nxhigh, double nyhigh, double nzhigh)
 
 Ctubs (TGeoCtub *ctubs)
 
virtual ~Ctubs ()
 
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.
 
virtual double NxLow () const
 X-component of the normal unit vector to the cut plane in -z.
 
virtual double NyLow () const
 Y-component of the normal unit vector to the cut plane in -z.
 
virtual double NzLow () const
 Z-component of the normal unit vector to the cut plane in -z.
 
virtual double NxHigh () const
 X-component of the normal unit vector to the cut plane in +z.
 
virtual double NyHigh () const
 Y-component of the normal unit vector to the cut plane in +z.
 
virtual double NzHigh () const
 Z-component of the normal unit vector to the cut plane in +z.
 
- Public Member Functions inherited from BaseVGM::VCtubs
 VCtubs ()
 
virtual ~VCtubs ()
 
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::ICtubs
virtual ~ICtubs ()
 
- Public Member Functions inherited from VGM::ISolid
virtual ~ISolid ()
 

Protected Member Functions

 Ctubs ()
 
 Ctubs (const Ctubs &rhs)
 

Detailed Description

VGM implementation for Root cut tubs solid.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 31 of file Ctubs.h.

Constructor & Destructor Documentation

◆ Ctubs() [1/4]

RootGM::Ctubs::Ctubs ( const std::string & name,
double rin,
double rout,
double hz,
double sphi,
double dphi,
double nxlow,
double nylow,
double nzlow,
double nxhigh,
double nyhigh,
double nzhigh )

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
nxlowX-component of the normal unit vector to the cut plane in -z
nylowY-component of the normal unit vector to the cut plane in -z
nzlowZ-component of the normal unit vector to the cut plane in -z
nxhighX-component of the normal unit vector to the cut plane in +z
nyhighY-component of the normal unit vector to the cut plane in +z
nzhighZ-component of the normal unit vector to the cut plane in +z

Definition at line 26 of file Ctubs.cxx.

◆ Ctubs() [2/4]

RootGM::Ctubs::Ctubs ( TGeoCtub * ctubs)

Standard constructor to define tubs from Root object

Definition at line 56 of file Ctubs.cxx.

◆ ~Ctubs()

RootGM::Ctubs::~Ctubs ( )
virtual

Definition at line 78 of file Ctubs.cxx.

◆ Ctubs() [3/4]

RootGM::Ctubs::Ctubs ( )
protected

Protected default constructor

Definition at line 65 of file Ctubs.cxx.

◆ Ctubs() [4/4]

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

Protected copy constructor

Definition at line 71 of file Ctubs.cxx.

Member Function Documentation

◆ Name()

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

Return the name of this solid.

Implements VGM::ICtubs.

Definition at line 84 of file Ctubs.cxx.

◆ InnerRadius()

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

Return the inside radius in mm.

Implements VGM::ICtubs.

Definition at line 87 of file Ctubs.cxx.

◆ OuterRadius()

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

Return the outside radius in mm.

Implements VGM::ICtubs.

Definition at line 93 of file Ctubs.cxx.

◆ ZHalfLength()

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

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

Implements VGM::ICtubs.

Definition at line 99 of file Ctubs.cxx.

◆ StartPhi()

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

Return the starting angle of the segment in deg.

Implements VGM::ICtubs.

Definition at line 105 of file Ctubs.cxx.

◆ DeltaPhi()

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

Return the opening angle of the segment in deg.

Implements VGM::ICtubs.

Definition at line 114 of file Ctubs.cxx.

◆ NxLow()

double RootGM::Ctubs::NxLow ( ) const
virtual

X-component of the normal unit vector to the cut plane in -z.

Implements VGM::ICtubs.

Definition at line 126 of file Ctubs.cxx.

◆ NyLow()

double RootGM::Ctubs::NyLow ( ) const
virtual

Y-component of the normal unit vector to the cut plane in -z.

Implements VGM::ICtubs.

Definition at line 129 of file Ctubs.cxx.

◆ NzLow()

double RootGM::Ctubs::NzLow ( ) const
virtual

Z-component of the normal unit vector to the cut plane in -z.

Implements VGM::ICtubs.

Definition at line 132 of file Ctubs.cxx.

◆ NxHigh()

double RootGM::Ctubs::NxHigh ( ) const
virtual

X-component of the normal unit vector to the cut plane in +z.

Implements VGM::ICtubs.

Definition at line 135 of file Ctubs.cxx.

◆ NyHigh()

double RootGM::Ctubs::NyHigh ( ) const
virtual

Y-component of the normal unit vector to the cut plane in +z.

Implements VGM::ICtubs.

Definition at line 138 of file Ctubs.cxx.

◆ NzHigh()

double RootGM::Ctubs::NzHigh ( ) const
virtual

Z-component of the normal unit vector to the cut plane in +z.

Implements VGM::ICtubs.

Definition at line 141 of file Ctubs.cxx.


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