Import Geant4 1.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:28:20 +02:00
parent aaa409b6ee
commit ca1c8cb059
2995 changed files with 106830 additions and 299600 deletions
+32 -18
View File
@@ -1,32 +1,46 @@
#ifndef _G3MEDTABLE_
#define _G3MEDTABLE_ 1
// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
// 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.3 1999/05/06 18:01:50 lockman Exp $
// GEANT4 tag $Name: geant4-00-01 $
// $Id: G3MedTable.hh,v 1.6 1999/12/05 17:50:02 gcosmo Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
//
// Maps G3 tracking media indices to G4Material*
// by I.Hrivnacova, 27 Sep 99
#include <rw/tpordvec.h>
#ifndef G3_MED_TABLE_H
#define G3_MED_TABLE_H
#include "G3MedTableEntry.hh"
#include "globals.hh"
#include "g4rw/tpordvec.h"
class G4Material;
class G4MagneticField;
class G4UserLimits;
class G3MedTable {
private:
RWTPtrOrderedVector<G4Material>* _Med;
public:
G3MedTable();
~G3MedTable();
G4Material* get(G4int medid);
void put(G4int medid, G4Material* matpt);
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
#endif //G3_MED_TABLE_H