Import Geant4 10.3.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-12-09 12:35:28 +01:00
parent 4ec577e5c4
commit a3452e42ac
3514 changed files with 210500 additions and 89628 deletions
@@ -26,7 +26,7 @@
/// \file hadronic/Hadr02/src/DetectorConstruction.cc
/// \brief Implementation of the DetectorConstruction class
//
// $Id: DetectorConstruction.cc 81932 2014-06-06 15:39:45Z gcosmo $
// $Id: DetectorConstruction.cc 101905 2016-12-07 11:34:39Z gunter $
//
/////////////////////////////////////////////////////////////////////////
//
@@ -157,7 +157,7 @@ G4VPhysicalVolume* DetectorConstruction::Construct()
<< " ###" << G4endl;
// colors
G4VisAttributes zero = G4VisAttributes::Invisible;
G4VisAttributes zero = G4VisAttributes::GetInvisible();
fLogicWorld->SetVisAttributes(&zero);
G4VisAttributes regWcolor(G4Colour(0.3, 0.3, 0.3));
@@ -26,7 +26,7 @@
/// \file hadronic/Hadr02/src/DetectorMessenger.cc
/// \brief Implementation of the DetectorMessenger class
//
// $Id: DetectorMessenger.cc 81932 2014-06-06 15:39:45Z gcosmo $
// $Id: DetectorMessenger.cc 100812 2016-11-02 15:06:25Z gcosmo $
//
/////////////////////////////////////////////////////////////////////////
//
@@ -57,9 +57,9 @@
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
DetectorMessenger::DetectorMessenger(DetectorConstruction * Det)
DetectorMessenger::DetectorMessenger(DetectorConstruction * det)
: G4UImessenger(),
Detector(Det),
fDetector(det),
fTestDir(0),
fMatCmd(0),
fMat1Cmd(0),
@@ -152,13 +152,13 @@ void DetectorMessenger::SetNewValue(G4UIcommand* command, G4String newValue)
{
HistoManager* h = HistoManager::GetPointer();
if( command == fMatCmd ) {
Detector->SetTargetMaterial(newValue);
fDetector->SetTargetMaterial(newValue);
} else if( command == fMat1Cmd ) {
Detector->SetWorldMaterial(newValue);
fDetector->SetWorldMaterial(newValue);
} else if( command == fIonCmd ) {
h->SetIonPhysics(newValue);
} else if( command == fRCmd ) {
Detector->SetTargetRadius(fRCmd->GetNewDoubleValue(newValue));
fDetector->SetTargetRadius(fRCmd->GetNewDoubleValue(newValue));
} else if( command == fLCmd ) {
h->SetTargetLength(fLCmd->GetNewDoubleValue(newValue));
} else if( command == fNOfAbsCmd ) {