Import Geant4 5.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 10:15:15 +02:00
parent 37fff30d2e
commit fbd4999cf7
4396 changed files with 56662 additions and 52446 deletions
+15 -2
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G3MedTable.cc,v 1.13 2001/07/16 15:38:20 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-00 $
// $Id: G3MedTable.cc,v 1.14 2003/01/27 10:45:48 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
//
// by I.Hrivnacova, 27 Sep 99
@@ -56,6 +56,19 @@ void G3MedTable::put(G4int id, G4Material* material, G4MagneticField* field,
fMedVector->push_back(mte);
}
G3MedTableEntry* G3MedTable::GetMTE(G4int i) const
{
if (i<0 || i>= G4int(fMedVector->size()))
return 0;
return (*fMedVector)[i];
}
G4int G3MedTable::GetSize() const
{
return fMedVector->size();
}
void G3MedTable::Clear()
{
G3MedTableEntry* a;