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

The VGM implementation of interface to tracking medium. More...

#include <Medium.h>

Inheritance diagram for Geant4GM::Medium:

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::IMaterialMaterial () 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::IMaterialfMaterial
 
- Static Protected Attributes inherited from BaseVGM::VMedium
static const int fgkParamSize = 20
 

Detailed Description

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.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 35 of file Medium.h.

Constructor & Destructor Documentation

◆ Medium() [1/3]

Geant4GM::Medium::Medium ( const std::string & name,
int mediumId,
VGM::IMaterial * material,
int nofParameters,
double * parameters )

Standard constructor to define medium from parameters

Parameters
nameits name (must be unique in the factory)
mediumIdits unique identifier
materialassociated material
nofParametersnumber of defined parameters
parametersarray of parameters

Definition at line 31 of file Medium.cxx.

◆ ~Medium()

Geant4GM::Medium::~Medium ( )
virtual

Definition at line 70 of file Medium.cxx.

◆ Medium() [2/3]

Geant4GM::Medium::Medium ( )
protected

Protected default constructor

Definition at line 57 of file Medium.cxx.

◆ Medium() [3/3]

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

Protected copy constructor

Definition at line 63 of file Medium.cxx.

Member Function Documentation

◆ Name()

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

Return its name.

Implements VGM::IMedium.

Definition at line 95 of file Medium.cxx.

◆ Id()

int Geant4GM::Medium::Id ( ) const
virtual

Return its unique identifier.

Implements VGM::IMedium.

Definition at line 98 of file Medium.cxx.

◆ Parameter()

double Geant4GM::Medium::Parameter ( int i) const
virtual

Return the i-th parameter.

Implements VGM::IMedium.

Definition at line 105 of file Medium.cxx.


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