VGM Version 5.3
|
The VGM implementation of interface to tracking medium. More...
#include <Medium.h>
Public Member Functions | |
Medium (const std::string &name, int mediumId, VGM::IMaterial *material, int nofParameters, double *parameters) | |
virtual | ~Medium () |
virtual std::string | Name () const |
Return its name. | |
virtual int | Id () const |
Return its unique identifier. | |
virtual double | Parameter (int i) const |
Return the i-th parameter. | |
Public Member Functions inherited from BaseVGM::VMedium | |
VMedium (VGM::IMaterial *material) | |
virtual | ~VMedium () |
virtual VGM::IMaterial * | Material () const |
Return its associated material. | |
virtual int | NofParameters () const |
Return the number of defined parameters. | |
Public Member Functions inherited from VGM::IMedium | |
virtual | ~IMedium () |
Protected Member Functions | |
Medium () | |
Medium (const Medium &rhs) | |
Protected Member Functions inherited from BaseVGM::VMedium | |
VMedium () | |
VMedium (const VMedium &rhs) | |
Additional Inherited Members | |
Protected Attributes inherited from BaseVGM::VMedium | |
VGM::IMaterial * | fMaterial |
Static Protected Attributes inherited from BaseVGM::VMedium | |
static const int | fgkParamSize = 20 |
The VGM implementation of interface to tracking medium.
As there is no equivalent object in Geant4, the tracking medium parameters are store in data members of this class.
Geant4GM::Medium::Medium | ( | const std::string & | name, |
int | mediumId, | ||
VGM::IMaterial * | material, | ||
int | nofParameters, | ||
double * | parameters ) |
Standard constructor to define medium from parameters
name | its name (must be unique in the factory) |
mediumId | its unique identifier |
material | associated material |
nofParameters | number of defined parameters |
parameters | array of parameters |
Definition at line 31 of file Medium.cxx.
|
virtual |
Definition at line 70 of file Medium.cxx.
|
protected |
Protected default constructor
Definition at line 57 of file Medium.cxx.
|
protected |
Protected copy constructor
Definition at line 63 of file Medium.cxx.
|
virtual |
|
virtual |
|
virtual |