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
@@ -22,7 +22,7 @@
//
//
// $Id: B02CellScorer.cc,v 1.1 2002/11/08 14:52:17 dressel Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: B02CellScorerStore.cc,v 1.1 2002/11/08 14:52:17 dressel Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: B02CellScorerStore.cc,v 1.2 2005/12/07 18:07:31 ahoward Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -44,13 +44,13 @@ G4CellScorer *B02CellScorerStore::
AddG4CellScorer(const G4GeometryCell &g) {
return fMapGeometryCellCellScorer[g] =
new G4CellScorer;
};
}
void B02CellScorerStore::
AddB02CellScorer(B02CellScorer *b02scorer,
const G4GeometryCell &g) {
fMapGeometryCellB02CellScorer[g] = b02scorer;
};
}
const G4MapGeometryCellCellScorer &B02CellScorerStore::GetMapGeometryCellCellScorer() {
@@ -21,11 +21,10 @@
// ********************************************************************
//
//
// $Id: B02DetectorConstruction.cc,v 1.10 2003/07/31 11:59:40 dressel Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: B02DetectorConstruction.cc,v 1.11 2005/11/15 14:10:56 gcosmo Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
#include "G4Types.hh"
#include <strstream>
#include "globals.hh"
#include "B02DetectorConstruction.hh"
@@ -21,12 +21,12 @@
// ********************************************************************
//
//
// $Id: B02ImportanceDetectorConstruction.cc,v 1.6 2003/07/31 08:28:16 dressel Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: B02ImportanceDetectorConstruction.cc,v 1.8 2005/12/09 17:17:10 ahoward Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
#include "globals.hh"
#include <strstream>
#include <sstream>
#include "B02ImportanceDetectorConstruction.hh"
@@ -187,15 +187,13 @@ G4String B02ImportanceDetectorConstruction::ListPhysNamesAsG4String(){
G4String B02ImportanceDetectorConstruction::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);
os << i;
G4String name = os.str();
return name;
}
@@ -21,7 +21,7 @@
// ********************************************************************
//
//
// $Id: B02PVolumeStore.cc,v 1.2 2003/06/16 16:47:19 gunter Exp $
// $Id: B02PVolumeStore.cc,v 1.4 2005/12/09 17:17:05 ahoward Exp $
// GEANT4 tag
//
// ----------------------------------------------------------------------
@@ -32,7 +32,7 @@
// ----------------------------------------------------------------------
#include "B02PVolumeStore.hh"
#include <strstream>
#include <sstream>
#include "G4VPhysicalVolume.hh"
@@ -77,11 +77,10 @@ G4String B02PVolumeStore::GetPNames() const {
for (B02SetGeometryCell::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);
<< "\n";
G4String cellname = os.str();
// G4String cellname(vol.GetName());
// cellname += G4String("_");
@@ -22,7 +22,7 @@
//
//
// $Id: B02PhysicsList.cc,v 1.4 2003/06/16 16:47:20 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
#include "globals.hh"
@@ -22,7 +22,7 @@
//
//
// $Id: B02PrimaryGeneratorAction.cc,v 1.5 2002/11/08 14:47:48 dressel Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
#include "globals.hh"
@@ -22,7 +22,7 @@
//
//
// $Id: B02ScoringDetectorConstruction.cc,v 1.6 2003/02/19 08:24:35 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
#include "globals.hh"