Import Geant4 3.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:55:53 +02:00
parent e7d7193284
commit cfcb558cfe
3050 changed files with 91703 additions and 48310 deletions
@@ -5,15 +5,17 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4AssemblyCreator.hh,v 1.2 2000/01/21 13:45:07 gcosmo Exp $
// GEANT4 tag $Name: geant4-02-00 $
// $Id: G4AssemblyCreator.hh,v 1.3 2000/11/09 16:35:42 gcosmo Exp $
// GEANT4 tag $Name: geant4-03-00 $
//
// ----------------------------------------------------------------------
// Class G4AssemblyCreator
//
// Class description:
//
//
// Main class for detector geometry assembly read from a STEP file.
// Currently the default STEP reader is assumed to be the NIST reader
// from the SCL NIST public domain library.
// Authors: J.Sulkimo, P.Urban.
// Revisions by: L.Broglia, G.Cosmo.
@@ -30,12 +32,12 @@ class G4StepFileReader;
class G4AssemblyCreator: public G4GeometryCreator
{
public:
public: // with description
// Constructors
G4AssemblyCreator();
G4AssemblyCreator(G4String, G4String ="NIST");
G4AssemblyCreator(const G4String&, const G4String& reader="NIST");
// Destructor
@@ -46,15 +48,18 @@ class G4AssemblyCreator: public G4GeometryCreator
void ReadStepFile();
void CreateG4Geometry(STEPentity&);
void CreateSTEPGeometry(void* G4obj);
G4String Name() { return "Assembly"; }
const char* Name() const { return "Assembly"; }
static G4AssemblyCreator GetInstance() { return ci; }
// Members
int index; // add by L. Broglia, memory for get STEP entity
private:
G4AssemblyCreator(const G4AssemblyCreator&);
G4AssemblyCreator& operator=(const G4AssemblyCreator&);
// Private copy constructor and assignment operator.
private:
G4int index; // memory for get STEP entity - L.Broglia
G4StepFileReader* StepReader;
G4String STEPfileName;
static G4AssemblyCreator ci;