Import Geant4 9.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 15:58:43 +02:00
parent 96c8bcd0af
commit b79225fb37
7544 changed files with 245407 additions and 91099 deletions
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: HistoManager.cc,v 1.14 2007/11/12 17:04:55 maire Exp $
// GEANT4 tag $Name: geant4-09-01 $
// $Id: HistoManager.cc,v 1.16 2008/09/13 13:08:39 maire Exp $
// GEANT4 tag $Name: geant4-09-02 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -53,8 +53,8 @@ HistoManager::HistoManager()
#endif
fileName[0] = "testem3";
fileType = "hbook";
fileOption = "--noErrors uncompress";
fileType = "root";
fileOption = "--noErrors export=root uncompress";
// histograms
for (G4int k=0; k<MaxHisto; k++) {
histo[k] = 0;
@@ -266,7 +266,8 @@ void HistoManager::saveAscii()
for (G4int iBin=0; iBin<Nbins[ih]; iBin++) {
File << " " << iBin << "\t"
<< histo[ih]->binMean(iBin) << "\t"
<< 0.5*(histo[ih]->axis().binLowerEdge(iBin) +
histo[ih]->axis().binUpperEdge(iBin)) << "\t"
<< histo[ih]->binHeight(iBin)
<< G4endl;
}