Import Geant4 4.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 16:39:52 +02:00
parent 921d3b1cda
commit 330b82b769
4524 changed files with 178689 additions and 43575 deletions
+7 -6
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4UnitsTable.cc,v 1.15 2001/07/11 10:00:59 gunter Exp $
// GEANT4 tag $Name: geant4-04-00 $
// $Id: G4UnitsTable.cc,v 1.16 2002/05/06 12:06:48 maire Exp $
// GEANT4 tag $Name: geant4-04-01 $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
//
@@ -31,6 +31,7 @@
// 13-10-98: units and symbols printed in fixed length, M.Maire
// 01-03-01: parsec, M.Maire
// 06-03-01: migration to STL vectors, G.Cosmo
// 06-05-02: BestUnit operator<< flux instead of G4cout (mma)
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
@@ -422,14 +423,14 @@ G4std::ostream& operator<<(G4std::ostream& flux, G4BestUnit a)
{flux << a.Value[j]/(List[index]->GetValue()) << " ";}
#ifdef G4USE_STD_NAMESPACE
std::ios::fmtflags oldform = G4cout.flags();
std::ios::fmtflags oldform = flux.flags();
#else
G4long oldform = G4cout.flags();
G4long oldform = flux.flags();
#endif
G4cout.setf(G4std::ios::left,G4std::ios::adjustfield);
flux.setf(G4std::ios::left,G4std::ios::adjustfield);
flux << G4std::setw(len) << List[index]->GetSymbol();
G4cout.flags(oldform);
flux.flags(oldform);
return flux;
}