Import Geant4 8.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 14:36:02 +02:00
parent d93e1e39a9
commit 8a51e0bc40
5471 changed files with 99628 additions and 55248 deletions
@@ -38,6 +38,8 @@
#include "DMXEventActionMessenger.hh"
#include <sstream>
#include "DMXEventAction.hh"
#include "G4UIdirectory.hh"
@@ -126,7 +128,7 @@ void DMXEventActionMessenger::SetNewValue
if(command == DrawHitsCmd) {
G4int vl;
const char* t = newValue;
std::istrstream is((char*)t);
std::istringstream is(t);
is >> vl;
eventAction->SetDrawHitsFlag(vl!=0);
}
@@ -134,7 +136,7 @@ void DMXEventActionMessenger::SetNewValue
if(command == SavePmtCmd) {
G4int vl;
const char* t = newValue;
std::istrstream is((char*)t);
std::istringstream is(t);
is >> vl;
eventAction->SetSavePmtFlag(vl!=0);
}
@@ -142,7 +144,7 @@ void DMXEventActionMessenger::SetNewValue
if(command == SaveHitsCmd) {
G4int vl;
const char* t = newValue;
std::istrstream is((char*)t);
std::istringstream is(t);
is >> vl;
eventAction->SetSaveHitsFlag(vl!=0);
}