Geant4 VMC Version 6.6
|
Helper class to keep medium data. More...
#include <TG4Medium.h>
Public Member Functions | |
TG4Medium (G4int id) | |
~TG4Medium () | |
void | Print () const |
void | SetName (const G4String &name) |
void | SetMaterial (G4Material *material) |
void | SetLimits (G4UserLimits *limits) |
void | SetIfield (G4int ifield) |
G4int | GetID () const |
G4String | GetName () const |
G4Material * | GetMaterial () const |
G4UserLimits * | GetLimits () const |
G4int | GetIfield () const |
Private Member Functions | |
TG4Medium () | |
Not implemented. | |
TG4Medium (const TG4Medium &right) | |
Not implemented. | |
TG4Medium & | operator= (const TG4Medium &right) |
Not implemented. | |
Private Attributes | |
G4int | fID |
medium ID | |
G4String | fName |
medium name | |
G4Material * | fMaterial |
material associated with this medium | |
G4UserLimits * | fLimits |
user limits associated with this medium | |
G4int | fIfield |
Static Private Attributes | |
static const G4String | fgkUndefinedName = "UndefinedMediumName" |
the default (undefined) name | |
static const G4int | fgkDefaultIfield = 1 |
the default ifield value | |
Helper class to keep medium data.
Definition at line 28 of file TG4Medium.h.
TG4Medium::TG4Medium | ( | G4int | id | ) |
Standard constructor from given id
Definition at line 27 of file TG4Medium.cxx.
TG4Medium::~TG4Medium | ( | ) |
Destructor
Definition at line 38 of file TG4Medium.cxx.
|
private |
Not implemented.
|
private |
Not implemented.
void TG4Medium::Print | ( | ) | const |
Print medium characteristics
Definition at line 44 of file TG4Medium.cxx.
void TG4Medium::SetName | ( | const G4String & | name | ) |
Set the given name; give a warning if medium name has been already defined
Definition at line 55 of file TG4Medium.cxx.
Referenced by TG4GeometryManager::FillMediumMapFromG4(), and TG4GeometryManager::FillMediumMapFromRoot().
void TG4Medium::SetMaterial | ( | G4Material * | material | ) |
Set the given material; give a warning if medium material has been already defined
Definition at line 68 of file TG4Medium.cxx.
Referenced by TG4GeometryManager::FillMediumMapFromG3(), TG4GeometryManager::FillMediumMapFromG4(), and TG4GeometryManager::FillMediumMapFromRoot().
void TG4Medium::SetLimits | ( | G4UserLimits * | limits | ) |
Set the given limits;
Definition at line 83 of file TG4Medium.cxx.
Referenced by TG4GeometryManager::FillMediumMapFromG3(), TG4GeometryManager::FillMediumMapFromRoot(), TG4PhysicsManager::GstparControl(), TG4PhysicsManager::GstparCut(), and TG4GeometryManager::SetUserLimits().
|
inline |
Set G3 tracking medium parameter 'ifield'
Definition at line 79 of file TG4Medium.h.
Referenced by TG4GeometryManager::FillMediumMapFromRoot().
|
inline |
Return ID
Definition at line 84 of file TG4Medium.h.
Referenced by TG4GeometryServices::GetMediumId(), and TG4MCGeometry::MediumId().
|
inline |
Return name
Definition at line 89 of file TG4Medium.h.
Referenced by TG4GeometryServices::FindLimits(), and TG4GeometryManager::SetUserLimits().
|
inline |
Return material
Definition at line 94 of file TG4Medium.h.
Referenced by TG4RegionsManager::DefineRegions(), TG4OpGeometryManager::SetCerenkov(), TG4OpGeometryManager::SetMaterialProperty(), and TG4OpGeometryManager::SetMaterialProperty().
|
inline |
Return user limits
Definition at line 99 of file TG4Medium.h.
Referenced by TG4PhysicsManager::GstparControl(), TG4PhysicsManager::GstparCut(), TG4GeometryServices::PrintControls(), TG4GeometryServices::PrintCuts(), and TG4GeometryManager::SetUserLimits().
|
inline |
Return G3 tracking medium parameter 'ifield'
Definition at line 104 of file TG4Medium.h.
Referenced by TG4GeometryManager::ConstructZeroFields().
|
staticprivate |
|
staticprivate |
the default ifield value
Definition at line 60 of file TG4Medium.h.
|
private |
|
private |
medium name
Definition at line 64 of file TG4Medium.h.
|
private |
material associated with this medium
Definition at line 65 of file TG4Medium.h.
Referenced by GetMaterial(), and SetMaterial().
|
private |
user limits associated with this medium
Definition at line 66 of file TG4Medium.h.
Referenced by GetLimits(), Print(), and SetLimits().
|
private |
G3 tracking medium parameter 'ifield'
Definition at line 74 of file TG4Medium.h.
Referenced by GetIfield(), and SetIfield().