Import Geant4 1.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:34:16 +02:00
parent ca1c8cb059
commit 103bda00c8
2654 changed files with 29719 additions and 20203 deletions
@@ -5,8 +5,8 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4ParticlePropertyMessenger.cc,v 1.2.8.1 1999/12/07 20:49:59 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
// $Id: G4ParticlePropertyMessenger.cc,v 1.2.8.1.2.3 1999/12/14 07:08:15 gunter Exp $
// GEANT4 tag $Name: geant4-01-01 $
//
//
//---------------------------------------------------------------
@@ -36,7 +36,7 @@
#include "G4ParticlePropertyMessenger.hh"
#include "G4ParticleTable.hh"
#include "G4ios.hh" // Include from 'system'
#include <iomanip.h> // Include from 'system'
#include "g4std/iomanip" // Include from 'system'
G4ParticlePropertyMessenger::G4ParticlePropertyMessenger(G4ParticleTable* pTable)
:theParticleTable(pTable),
@@ -102,7 +102,7 @@ G4ParticlePropertyMessenger::~G4ParticlePropertyMessenger()
void G4ParticlePropertyMessenger::SetNewValue(G4UIcommand * command,G4String newValue)
{
if (SetCurrentParticle()==0) {
G4cout << "Particle is not selected yet !! Command ignored." << endl;
G4cout << "Particle is not selected yet !! Command ignored." << G4endl;
return;
}
@@ -117,9 +117,9 @@ void G4ParticlePropertyMessenger::SetNewValue(G4UIcommand * command,G4String new
} else if (command == stableCmd ) {
//Commnad /particle/property/stable
if (currentParticle->GetPDGLifeTime()<0.0) {
G4cout << "Life time is negative! Command ignored." << endl;
G4cout << "Life time is negative! Command ignored." << G4endl;
} else if (currentParticle->GetPDGMass()<=0.0) {
G4cout << "Zero Mass! Command ignored." << endl;
G4cout << "Zero Mass! Command ignored." << G4endl;
} else {
currentParticle->SetPDGStable(stableCmd->GetNewBoolValue(newValue));
}