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
@@ -0,0 +1,26 @@
// 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: G4VisStateDependent.cc,v 1.1.2.1 1999/12/07 20:54:03 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
#include "G4VisStateDependent.hh"
#include "G4VisManager.hh"
#include "G4StateManager.hh"
G4VisStateDependent::G4VisStateDependent (G4VisManager* pVisManager):
fpVisManager (pVisManager) {}
G4bool G4VisStateDependent::Notify (G4ApplicationState requestedState) {
G4StateManager* stateManager = G4StateManager::GetStateManager ();
if(stateManager -> GetPreviousState () == EventProc &&
requestedState == GeomClosed) {
fpVisManager -> EndOfEvent ();
}
return true;
}