Import Geant4 3.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 16:10:37 +02:00
parent 137e303ecc
commit 36c080dca6
3464 changed files with 119310 additions and 52696 deletions
@@ -1,12 +1,28 @@
// 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.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * 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: G4LogicalBorderSurface.hh,v 1.5 2000/11/01 16:51:06 gcosmo Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: G4LogicalBorderSurface.hh,v 1.6.2.1 2001/06/28 19:09:38 gunter Exp $
// GEANT4 tag $Name: $
//
////////////////////////////////////////////////////////////////////////
// class G4LogicalBorderSurface
@@ -36,8 +52,7 @@
#include "G4LogicalSurface.hh"
#include "G4VPhysicalVolume.hh"
// G4RWTPtrOrderedVector
#include "g4rw/tpordvec.h"
#include "g4std/vector"
class G4Event;
@@ -80,13 +95,11 @@ class G4LogicalBorderSurface: public G4LogicalSurface
inline void SetVolume2(G4VPhysicalVolume* vol2);
// These are potentially dangerous.
static const G4RWTPtrOrderedVector<G4LogicalBorderSurface>* GetSurfaceTable();
static const G4std::vector<G4LogicalBorderSurface*> *GetSurfaceTable();
static size_t GetNumberOfBorderSurfaces();
static void DumpInfo();
// Methods dealing with the table of surfaces.
inline size_t GetIndex() const;
//////////////
// Operators
//////////////
@@ -108,14 +121,11 @@ class G4LogicalBorderSurface: public G4LogicalSurface
G4VPhysicalVolume* Volume1; // Physical Volume pointer on side 1
G4VPhysicalVolume* Volume2; // Physical Volume pointer on side 2
static G4RWTPtrOrderedVector<G4LogicalBorderSurface> theBorderSurfaceTable;
static G4std::vector<G4LogicalBorderSurface*> theBorderSurfaceTable;
// The static Table of Surfaces
size_t theIndexInTable;
// Index of surface in the surface table
};
typedef G4RWTPtrOrderedVector<G4LogicalBorderSurface> G4LogicalBorderSurfaceTable;
typedef G4std::vector<G4LogicalBorderSurface*> G4LogicalBorderSurfaceTable;
////////////////////
// Inline methods