Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G3MedTableEntry Class Reference

#include <G3MedTableEntry.hh>

Public Member Functions

 G3MedTableEntry (G4int id, G4Material *material, G4MagneticField *field, G4UserLimits *limits, G4int isvol)
 
 G3MedTableEntry (const G3MedTableEntry &right)
 
virtual ~G3MedTableEntry ()
 
G3MedTableEntryoperator= (const G3MedTableEntry &right)
 
G4int operator== (const G3MedTableEntry &right) const
 
G4int operator!= (const G3MedTableEntry &right) const
 
void SetMaterial (G4Material *material)
 
void SetField (G4MagneticField *field)
 
void SetLimits (G4UserLimits *limits)
 
void SetISVOL (G4int isvol)
 
G4int GetID () const
 
G4MaterialGetMaterial () const
 
G4MagneticFieldGetField () const
 
G4UserLimitsGetLimits () const
 
G4int GetISVOL () const
 

Detailed Description

Definition at line 49 of file G3MedTableEntry.hh.

Constructor & Destructor Documentation

G3MedTableEntry::G3MedTableEntry ( G4int  id,
G4Material material,
G4MagneticField field,
G4UserLimits limits,
G4int  isvol 
)

Definition at line 37 of file G3MedTableEntry.cc.

39  : fID(id),
40  fMaterial(material),
41  fField(field),
42  fLimits(limits),
43  fISVOL(isvol)
44 {}
G3MedTableEntry::G3MedTableEntry ( const G3MedTableEntry right)

Definition at line 46 of file G3MedTableEntry.cc.

47  : fID(right.GetID()),
48  fMaterial(right.GetMaterial()),
49  fField(right.GetField()),
50  fLimits(right.GetLimits()),
51  fISVOL(right.GetISVOL())
52 {}
G4Material * GetMaterial() const
G4MagneticField * GetField() const
G4UserLimits * GetLimits() const
G4int GetID() const
G4int GetISVOL() const
G3MedTableEntry::~G3MedTableEntry ( )
virtual

Definition at line 54 of file G3MedTableEntry.cc.

55 {}

Member Function Documentation

G4MagneticField * G3MedTableEntry::GetField ( ) const
inline

Definition at line 108 of file G3MedTableEntry.hh.

109 { return fField; }

Here is the caller graph for this function:

G4int G3MedTableEntry::GetID ( ) const
inline

Definition at line 102 of file G3MedTableEntry.hh.

103 { return fID; }

Here is the caller graph for this function:

G4int G3MedTableEntry::GetISVOL ( ) const
inline

Definition at line 114 of file G3MedTableEntry.hh.

115 { return fISVOL; }

Here is the caller graph for this function:

G4UserLimits * G3MedTableEntry::GetLimits ( ) const
inline

Definition at line 111 of file G3MedTableEntry.hh.

112 { return fLimits; }

Here is the caller graph for this function:

G4Material * G3MedTableEntry::GetMaterial ( ) const
inline

Definition at line 105 of file G3MedTableEntry.hh.

106 { return fMaterial; }

Here is the caller graph for this function:

G4int G3MedTableEntry::operator!= ( const G3MedTableEntry right) const

Definition at line 76 of file G3MedTableEntry.cc.

77 {
78  if (*this == right)
79  return 0;
80  else
81  return 1;
82 }
G3MedTableEntry & G3MedTableEntry::operator= ( const G3MedTableEntry right)

Definition at line 57 of file G3MedTableEntry.cc.

58 {
59  if (&right == this) { return *this; }
60  fID = right.GetID();
61  fMaterial = right.GetMaterial();
62  fField = right.GetField();
63  fLimits = right.GetLimits();
64  fISVOL = right.GetISVOL();
65  return *this;
66 }
G4Material * GetMaterial() const
G4MagneticField * GetField() const
G4UserLimits * GetLimits() const
G4int GetID() const
G4int GetISVOL() const

Here is the call graph for this function:

G4int G3MedTableEntry::operator== ( const G3MedTableEntry right) const

Definition at line 68 of file G3MedTableEntry.cc.

69 {
70  if (fID == right.GetID())
71  return 1;
72  else
73  return 0;
74 }
G4int GetID() const

Here is the call graph for this function:

void G3MedTableEntry::SetField ( G4MagneticField field)
inline

Definition at line 93 of file G3MedTableEntry.hh.

94 { fField = field; }
void G3MedTableEntry::SetISVOL ( G4int  isvol)
inline

Definition at line 99 of file G3MedTableEntry.hh.

100 { fISVOL = isvol; }
void G3MedTableEntry::SetLimits ( G4UserLimits limits)
inline

Definition at line 96 of file G3MedTableEntry.hh.

97 { fLimits = limits; }
void G3MedTableEntry::SetMaterial ( G4Material material)
inline

Definition at line 90 of file G3MedTableEntry.hh.

91 { fMaterial = material; }

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