Import Geant4 10.3.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-12-09 12:35:28 +01:00
parent 4ec577e5c4
commit a3452e42ac
3514 changed files with 210500 additions and 89628 deletions
+10 -2
View File
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id: G4Event.cc 94950 2016-01-07 11:53:14Z gcosmo $
// $Id: G4Event.cc 99158 2016-09-07 08:10:46Z gcosmo $
//
// G4Event
@@ -63,7 +63,15 @@ G4Event::G4Event(G4int evID)
G4Event::~G4Event()
{
delete thePrimaryVertex;
G4PrimaryVertex* nextVertex = thePrimaryVertex;
while(nextVertex)
{
G4PrimaryVertex* thisVertex = nextVertex;
nextVertex = thisVertex->GetNext();
thisVertex->ClearNext();
delete thisVertex;
}
thePrimaryVertex = nullptr;
delete HC;
delete DC;
if(trajectoryContainer)