Import Geant4 10.5.0.beta source tree
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
/// \file hadronic/Hadr02/src/DetectorConstruction.cc
|
||||
/// \brief Implementation of the DetectorConstruction class
|
||||
//
|
||||
// $Id: DetectorConstruction.cc 101905 2016-12-07 11:34:39Z gunter $
|
||||
// $Id: DetectorConstruction.cc 109656 2018-05-04 09:00:14Z gcosmo $
|
||||
//
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
@@ -158,13 +158,13 @@ G4VPhysicalVolume* DetectorConstruction::Construct()
|
||||
|
||||
// colors
|
||||
G4VisAttributes zero = G4VisAttributes::GetInvisible();
|
||||
fLogicWorld->SetVisAttributes(&zero);
|
||||
fLogicWorld->SetVisAttributes(zero);
|
||||
|
||||
G4VisAttributes regWcolor(G4Colour(0.3, 0.3, 0.3));
|
||||
logicCheck->SetVisAttributes(®Wcolor);
|
||||
logicCheck->SetVisAttributes(regWcolor);
|
||||
|
||||
G4VisAttributes regCcolor(G4Colour(0., 0.3, 0.7));
|
||||
fLogicTarget->SetVisAttributes(®Ccolor);
|
||||
fLogicTarget->SetVisAttributes(regCcolor);
|
||||
|
||||
G4cout << *(G4Material::GetMaterialTable()) << G4endl;
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
/// \file hadronic/Hadr02/src/RunAction.cc
|
||||
/// \brief Implementation of the RunAction class
|
||||
//
|
||||
// $Id: RunAction.cc 81932 2014-06-06 15:39:45Z gcosmo $
|
||||
// $Id: RunAction.cc 109656 2018-05-04 09:00:14Z gcosmo $
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
@@ -58,13 +58,6 @@ void RunAction::BeginOfRunAction(const G4Run* run)
|
||||
G4int id = run->GetRunID();
|
||||
G4cout << "### Run " << id << " start" << G4endl;
|
||||
HistoManager::GetPointer()->BeginOfRun();
|
||||
|
||||
#ifdef G4VIS_USE
|
||||
if ( G4VVisManager::GetConcreteInstance() ) {
|
||||
G4UImanager::GetUIpointer()->ApplyCommand("/vis/scene/notifyHandlers");
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -72,12 +65,6 @@ void RunAction::BeginOfRunAction(const G4Run* run)
|
||||
void RunAction::EndOfRunAction(const G4Run*)
|
||||
{
|
||||
G4cout << "RunAction: End of run action is starting" << G4endl;
|
||||
|
||||
#ifdef G4VIS_USE
|
||||
if ( G4VVisManager::GetConcreteInstance() )
|
||||
G4UImanager::GetUIpointer()->ApplyCommand("/vis/viewer/update");
|
||||
#endif
|
||||
|
||||
HistoManager::GetPointer()->EndOfRun();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user