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

VGM implementation for Geant4 trd solid. More...

#include <Trd.h>

Inheritance diagram for Geant4GM::Trd:

Public Member Functions

 Trd (const std::string &name, double hx1, double hx2, double hy1, double hy2, double hz)
 
 Trd (G4Trd *trd, G4ReflectedSolid *reflTrd=0)
 
virtual ~Trd ()
 
virtual std::string Name () const
 Return the name of this solid.
 
virtual double XHalfLengthMinusZ () const
 Return the half-length along x at the surface positioned at -hz in mm.
 
virtual double XHalfLengthPlusZ () const
 Return the half-length along x at the surface positioned at +hz in mm.
 
virtual double YHalfLengthMinusZ () const
 Return the half-length along y at the surface positioned at -hz in mm.
 
virtual double YHalfLengthPlusZ () const
 Return thehalf-length along y at the surface positioned at +hz in mm.
 
virtual double ZHalfLength () const
 Return the half-length along the z axis in mm.
 
- Public Member Functions inherited from BaseVGM::VTrd
 VTrd ()
 
virtual ~VTrd ()
 
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::ITrd
virtual ~ITrd ()
 
- Public Member Functions inherited from VGM::ISolid
virtual ~ISolid ()
 

Protected Member Functions

 Trd ()
 
 Trd (const Trd &rhs)
 

Detailed Description

VGM implementation for Geant4 trd solid.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 32 of file Trd.h.

Constructor & Destructor Documentation

◆ Trd() [1/4]

Geant4GM::Trd::Trd ( const std::string & name,
double hx1,
double hx2,
double hy1,
double hy2,
double hz )

Standard constructor to define trd from parameters

Parameters
hx1half-length along x at the surface positioned at -hz in mm
hx2half-length along x at the surface positioned at +hz in mm
hy1half-length along y at the surface positioned at -hz in mm
hy2half-length along y at the surface positioned at +hz in mm
hzhalf-length along the z axis in mm

Definition at line 32 of file Trd.cxx.

◆ Trd() [2/4]

Geant4GM::Trd::Trd ( G4Trd * trd,
G4ReflectedSolid * reflTrd = 0 )

Standard constructor to define trd from G4 object

Definition at line 57 of file Trd.cxx.

◆ ~Trd()

Geant4GM::Trd::~Trd ( )
virtual

Definition at line 84 of file Trd.cxx.

◆ Trd() [3/4]

Geant4GM::Trd::Trd ( )
protected

Protected default constructor

Definition at line 71 of file Trd.cxx.

◆ Trd() [4/4]

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

Protected copy constructor

Definition at line 77 of file Trd.cxx.

Member Function Documentation

◆ Name()

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

Return the name of this solid.

Implements VGM::ITrd.

Definition at line 90 of file Trd.cxx.

◆ XHalfLengthMinusZ()

double Geant4GM::Trd::XHalfLengthMinusZ ( ) const
virtual

Return the half-length along x at the surface positioned at -hz in mm.

Implements VGM::ITrd.

Definition at line 93 of file Trd.cxx.

◆ XHalfLengthPlusZ()

double Geant4GM::Trd::XHalfLengthPlusZ ( ) const
virtual

Return the half-length along x at the surface positioned at +hz in mm.

Implements VGM::ITrd.

Definition at line 102 of file Trd.cxx.

◆ YHalfLengthMinusZ()

double Geant4GM::Trd::YHalfLengthMinusZ ( ) const
virtual

Return the half-length along y at the surface positioned at -hz in mm.

Implements VGM::ITrd.

Definition at line 111 of file Trd.cxx.

◆ YHalfLengthPlusZ()

double Geant4GM::Trd::YHalfLengthPlusZ ( ) const
virtual

Return thehalf-length along y at the surface positioned at +hz in mm.

Implements VGM::ITrd.

Definition at line 120 of file Trd.cxx.

◆ ZHalfLength()

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

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

Implements VGM::ITrd.

Definition at line 129 of file Trd.cxx.


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