Import Geant4 5.2.0 source tree
This commit is contained in:
@@ -126,7 +126,7 @@ void DMXEventActionMessenger::SetNewValue
|
||||
if(command == DrawHitsCmd) {
|
||||
G4int vl;
|
||||
const char* t = newValue;
|
||||
G4std::istrstream is((char*)t);
|
||||
std::istrstream is((char*)t);
|
||||
is >> vl;
|
||||
eventAction->SetDrawHitsFlag(vl!=0);
|
||||
}
|
||||
@@ -134,7 +134,7 @@ void DMXEventActionMessenger::SetNewValue
|
||||
if(command == SavePmtCmd) {
|
||||
G4int vl;
|
||||
const char* t = newValue;
|
||||
G4std::istrstream is((char*)t);
|
||||
std::istrstream is((char*)t);
|
||||
is >> vl;
|
||||
eventAction->SetSavePmtFlag(vl!=0);
|
||||
}
|
||||
@@ -142,7 +142,7 @@ void DMXEventActionMessenger::SetNewValue
|
||||
if(command == SaveHitsCmd) {
|
||||
G4int vl;
|
||||
const char* t = newValue;
|
||||
G4std::istrstream is((char*)t);
|
||||
std::istrstream is((char*)t);
|
||||
is >> vl;
|
||||
eventAction->SetSaveHitsFlag(vl!=0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user