VGM Version 5.3
Loading...
Searching...
No Matches
BaseVGM::VTrap Class Reference

The ABC for trap solids. More...

#include <VTrap.h>

Inheritance diagram for BaseVGM::VTrap:

Public Member Functions

 VTrap ()
 
virtual ~VTrap ()
 
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::ITrap
virtual ~ITrap ()
 
virtual std::string Name () const =0
 Return the name of this solid.
 
virtual double ZHalfLength () const =0
 Return the half-length along the z axis in mm.
 
virtual double Theta () const =0
 Return the polar angle of the line joining the centres of the faces at -hz and +hz in deg.
 
virtual double Phi () const =0
 Return the azimuthal angle of the line joining the centres of the faces at -hz and +hz in deg.
 
virtual double YHalfLengthMinusZ () const =0
 Return the half-length along y of the face at -hz in mm.
 
virtual double XHalfLengthMinusZMinusY () const =0
 Return the half-length along x of the side at -hy of the face at -hz in mm.
 
virtual double XHalfLengthMinusZPlusY () const =0
 Return the half-length along x of the side at +hy of the face at +hz in mm.
 
virtual double AlphaMinusZ () const =0
 Return the angle with respect to the y axis from the centre of the side at -hy to the centre at +hy of the face at -hz.
 
virtual double YHalfLengthPlusZ () const =0
 Return the half-length along y of the face at +hz in m.
 
virtual double XHalfLengthPlusZMinusY () const =0
 Return the half-length along x of the side at -hy of the face at +hz in m.
 
virtual double XHalfLengthPlusZPlusY () const =0
 Return the half-length along x of the side at +hy of the face at +hz in m.
 
virtual double AlphaPlusZ () const =0
 Return the angle with respect to the y axis from the centre of the side at -hy to the centre at +hy of the face at +hz.
 
- Public Member Functions inherited from VGM::ISolid
virtual ~ISolid ()
 

Detailed Description

The ABC for trap solids.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 29 of file VTrap.h.

Constructor & Destructor Documentation

◆ VTrap()

BaseVGM::VTrap::VTrap ( )

Default constructor

Definition at line 30 of file VTrap.cxx.

◆ ~VTrap()

BaseVGM::VTrap::~VTrap ( )
virtual

Definition at line 36 of file VTrap.cxx.

Member Function Documentation

◆ Type()

VGM::SolidType BaseVGM::VTrap::Type ( ) const
inlinevirtual

Return the type of this solid.

Implements VGM::ITrap.

Definition at line 46 of file VTrap.h.

◆ Put()

std::ostream & BaseVGM::VTrap::Put ( std::ostream & out) const
virtual

Put the printing of the solid parameters in the out stream.

Implements VGM::ITrap.

Definition at line 42 of file VTrap.cxx.


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