Import Geant4 0.1.0 source tree
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4HEPEvtInterface.cc,v 2.3 1998/07/18 10:34:11 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-00 $
|
||||
// $Id: G4HEPEvtInterface.cc,v 1.2 1999/06/07 16:53:57 stesting Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
@@ -27,7 +27,12 @@
|
||||
G4HEPEvtInterface::G4HEPEvtInterface(char* evfile)
|
||||
{
|
||||
inputFile.open(evfile);
|
||||
fileName = evfile;
|
||||
if (inputFile) {
|
||||
fileName = evfile;
|
||||
}
|
||||
else {
|
||||
G4Exception("G4HEPEvtInterface:: cannot open file.");
|
||||
}
|
||||
}
|
||||
|
||||
G4HEPEvtInterface::G4HEPEvtInterface(G4String evfile)
|
||||
|
||||
Reference in New Issue
Block a user