Import Geant4 8.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 14:36:02 +02:00
parent d93e1e39a9
commit 8a51e0bc40
5471 changed files with 99628 additions and 55248 deletions
@@ -20,8 +20,8 @@
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: B03AppBase.cc,v 1.1 2003/06/30 16:17:03 dressel Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: B03AppBase.cc,v 1.2 2005/12/06 11:18:59 gcosmo Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
// --------------------------------------------------------------------
#include "B03AppBase.hh"
@@ -48,7 +48,7 @@ B03AppBase &B03AppBase::GetB03AppBase() {
B03AppBase::B03AppBase(){
G4long myseed = 345354;
HepRandom::setTheSeed(myseed);
CLHEP::HepRandom::setTheSeed(myseed);
frunMgr = new G4RunManager;
@@ -21,12 +21,11 @@
// ********************************************************************
//
//
// $Id: B03DetectorConstruction.cc,v 1.13 2003/07/31 11:59:41 dressel Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: B03DetectorConstruction.cc,v 1.14 2005/11/15 14:10:56 gcosmo Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
#include "G4Types.hh"
#include <strstream>
#include "globals.hh"
#include "B03DetectorConstruction.hh"
@@ -21,13 +21,13 @@
// ********************************************************************
//
//
// $Id: B03ImportanceDetectorConstruction.cc,v 1.6 2003/07/31 11:59:41 dressel Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: B03ImportanceDetectorConstruction.cc,v 1.7 2005/11/15 14:10:56 gcosmo Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
#include "globals.hh"
#include "G4Types.hh"
#include <strstream>
#include <sstream>
#include "B03ImportanceDetectorConstruction.hh"
@@ -184,15 +184,14 @@ G4String B03ImportanceDetectorConstruction::ListPhysNamesAsG4String(){
G4String B03ImportanceDetectorConstruction::GetCellName(G4int i) {
char st[200];
std::ostrstream os(st,200);
std::ostringstream os;
os << "cell_";
if (i<10) {
os << "0";
}
os << i
<< '\0';
G4String name(st);
G4String name = os.str();
return name;
}
@@ -21,7 +21,7 @@
// ********************************************************************
//
//
// $Id: B03PVolumeStore.cc,v 1.2 2003/06/16 16:47:28 gunter Exp $
// $Id: B03PVolumeStore.cc,v 1.3 2005/11/15 14:10:56 gcosmo Exp $
// GEANT4 tag
//
// ----------------------------------------------------------------------
@@ -32,7 +32,7 @@
// ----------------------------------------------------------------------
#include "B03PVolumeStore.hh"
#include <strstream>
#include <sstream>
#include "G4VPhysicalVolume.hh"
@@ -77,11 +77,10 @@ G4String B03PVolumeStore::GetPNames() const {
for (B03SetGeometryCell::const_iterator it = fSetGeometryCell.begin();
it != fSetGeometryCell.end(); ++it) {
const G4VPhysicalVolume &vol = it->GetPhysicalVolume();
char st[200];
std::ostrstream os(st,200);
std::ostringstream os;
os << vol.GetName() << "_" << it->GetReplicaNumber()
<< "\n" << '\0';
G4String cellname(st);
G4String cellname = os.str();
// G4String cellname(vol.GetName());
// cellname += G4String("_");
@@ -22,7 +22,7 @@
//
//
// $Id: B03PhysicsList.cc,v 1.4 2003/06/16 16:47:29 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
#include "globals.hh"
@@ -22,7 +22,7 @@
//
//
// $Id: B03PrimaryGeneratorAction.cc,v 1.5 2002/11/08 17:35:19 dressel Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
#include "globals.hh"