Import Geant4 10.1.0 source tree
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4ErrorTrajState.cc 66892 2013-01-17 10:57:59Z gunter $
|
||||
// $Id: G4ErrorTrajState.cc 78318 2013-12-11 15:02:40Z gcosmo $
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
// GEANT 4 class implementation file
|
||||
@@ -52,11 +52,11 @@ G4ErrorTrajState::G4ErrorTrajState( const G4String& partType,
|
||||
//--------------------------------------------------------------------------
|
||||
G4int G4ErrorTrajState::PropagateError( const G4Track* )
|
||||
{
|
||||
G4cerr << "ERROR - G4ErrorTrajState::PropagateError()" << G4endl
|
||||
<< " Called for trajectory state type "
|
||||
<< G4int(GetTSType()) << G4endl;
|
||||
G4Exception("G4ErrorTrajState::PropagateError", "GEANT4e-Error",
|
||||
FatalException, "Wrong trajectory state type");
|
||||
std::ostringstream message;
|
||||
message << "Wrong trajectory state type !" << G4endl
|
||||
<< "Called for trajectory state type: " << G4int(GetTSType());
|
||||
G4Exception("G4ErrorTrajState::PropagateError()", "GEANT4e-Error",
|
||||
FatalException, message);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@@ -88,10 +88,10 @@ void G4ErrorTrajState::BuildCharge()
|
||||
G4ParticleDefinition* particle = particleTable->FindParticle(fParticleType);
|
||||
if( particle == 0)
|
||||
{
|
||||
G4cerr << "ERROR - G4ErrorTrajState::BuildCharge()" << G4endl
|
||||
<< " Particle type not defined: " << fParticleType << G4endl;
|
||||
std::ostringstream message;
|
||||
message << "Particle type not defined: " << fParticleType;
|
||||
G4Exception( "G4ErrorTrajState::BuildCharge()", "GEANT4e-error",
|
||||
FatalException, "Particle type not defined!");
|
||||
FatalException, message);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user