Import Geant4 10.3.0.beta source tree
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
$Id: History 88761 2015-03-09 12:23:46Z gcosmo $
|
||||
|
||||
$Id: History 96317 2016-04-06 07:25:03Z gcosmo $
|
||||
-------------------------------------------------------------------
|
||||
|
||||
=========================================================
|
||||
@@ -24,6 +25,11 @@ committal in the CVS repository !
|
||||
History file for visualization/Tree sub-category
|
||||
------------------------------------------------
|
||||
|
||||
5th April 2016 John Allison (vistree-V10-02-00)
|
||||
- G4ASCIITreeSceneHandler.cc:
|
||||
o Prevented multiple writing of the informational header on
|
||||
the output file.
|
||||
|
||||
8th March 2015 John Allison (vistree-V10-01-04 needs modeling-V10-01-01)
|
||||
- G4ASCIITreeSceneHandler: Added polyhedron dump for verbosity >=7.
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4ASCIITreeSceneHandler.cc 88761 2015-03-09 12:23:46Z gcosmo $
|
||||
// $Id: G4ASCIITreeSceneHandler.cc 96317 2016-04-06 07:25:03Z gcosmo $
|
||||
//
|
||||
//
|
||||
// John Allison 5th April 2001
|
||||
@@ -77,15 +77,20 @@ void G4ASCIITreeSceneHandler::BeginModeling () {
|
||||
fpOutFile = &fOutFile;
|
||||
}
|
||||
|
||||
G4cout << "G4ASCIITreeSceneHandler::BeginModeling: writing to ";
|
||||
if (outFileName == "G4cout") {
|
||||
G4cout << "G4 standard output (G4cout)";
|
||||
} else {
|
||||
G4cout << "file \"" << outFileName << "\"";
|
||||
}
|
||||
G4cout << G4endl;
|
||||
static G4bool firstTime = true;
|
||||
if (firstTime) {
|
||||
firstTime = false;
|
||||
G4cout << "G4ASCIITreeSceneHandler::BeginModeling: writing to ";
|
||||
if (outFileName == "G4cout") {
|
||||
G4cout << "G4 standard output (G4cout)";
|
||||
} else {
|
||||
G4cout << "file \"" << outFileName << "\"";
|
||||
}
|
||||
G4cout << G4endl;
|
||||
|
||||
WriteHeader (G4cout); G4cout << G4endl;
|
||||
WriteHeader (G4cout); G4cout << G4endl;
|
||||
}
|
||||
|
||||
if (outFileName != "G4cout") {
|
||||
WriteHeader (fOutFile); fOutFile << std::endl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user