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
+18 -147
View File
@@ -1,5 +1,21 @@
#include "G4Assembly.hh"
// 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: G4Assembly.cc,v 1.3 2000/11/08 14:22:07 gcosmo Exp $
// GEANT4 tag $Name: geant4-03-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
//
// G4Assembly.cc
//
// ----------------------------------------------------------------------
#include "G4Assembly.hh"
G4Assembly::G4Assembly()
{
@@ -7,14 +23,11 @@ G4Assembly::G4Assembly()
// CopySTEPData();
}
G4Assembly::~G4Assembly()
{
for(G4int a=0;a<numberOfSolids;a++)
delete placedVec[a];
placedVec.clearAndDestroy();
}
void G4Assembly::SetPlacedVector(G4PlacedVector& pVec)
{
numberOfSolids = pVec.entries();
@@ -23,145 +36,3 @@ void G4Assembly::SetPlacedVector(G4PlacedVector& pVec)
placedVec.append( pVec[a]);
}