Files
geant4/source/g3tog4/include/G3MedTable.hh
T
2016-06-08 15:34:16 +02:00

46 lines
991 B
C++

// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G3MedTable.hh,v 1.7 1999/12/09 01:27:43 lockman Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
// by I.Hrivnacova, 27 Sep 99
#ifndef G3MEDTABLE_HH
#define G3MEDTABLE_HH 1
#include "G3MedTableEntry.hh"
#include "globals.hh"
#include "g4rw/tpordvec.h"
class G4Material;
class G4MagneticField;
class G4UserLimits;
typedef G4RWTPtrOrderedVector<G3MedTableEntry> G3MediumVector;
class G3MedTable
{
public:
G3MedTable();
virtual ~G3MedTable();
// methods
G3MedTableEntry* get(G4int id) const;
void put(G4int id, G4Material* material, G4MagneticField* field,
G4UserLimits* limits, G4int isvol);
void Clear();
private:
G3MediumVector* fMedVector;
};
extern G3MedTable G3Med;
#endif