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
+7 -3
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: exampleB01.cc,v 1.20 2004/03/24 10:11:25 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: exampleB01.cc,v 1.22 2005/12/09 16:28:37 ahoward Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// --------------------------------------------------------------
@@ -75,7 +75,7 @@ int main(int argc, char **argv)
std::ostream *myout = &G4cout;
G4int numberOfEvent = 100;
G4long myseed = 345354;
HepRandom::setTheSeed(myseed);
CLHEP::HepRandom::setTheSeed(myseed);
G4RunManager *runManager = new G4RunManager;
@@ -151,5 +151,9 @@ int main(int argc, char **argv)
delete wwAlg;
}
mgs.ClearSampling();
delete runManager;
return 0;
}
+27 -27
View File
@@ -1,6 +1,6 @@
*************************************************************
Geant4 version Name: run-V07-00-05 (30-June-2005)
Geant4 version Name: geant4-08-00-cand-01 (16-December-2005)
Copyright : Geant4 Collaboration
Reference : NIM A 506 (2003), 250-303
WWW : http://cern.ch/geant4
@@ -114,13 +114,13 @@ phot: Total cross sections from Sandia parametrisation.
msc: Model variant of multiple scattering for e-
Lambda tables from 100 eV to 100 TeV in 120 bins.
Boundary algorithm is active with facrange= 0.199
Boundary/stepping algorithm is active with facrange= 0.02 Step limitation 1
eIoni: tables are built for e-
dE/dx and range tables from 100 eV to 100 TeV in 120 bins.
Lambda tables from threshold to 100 TeV in 120 bins.
Delta cross sections from Moller+Bhabha, good description from 1 KeV to 100 GeV.
Step function: finalRange(mm)= 1, dRoverRange= 1, integral: 1
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1
eBrem: tables are built for e-
dE/dx and range tables from 100 eV to 100 TeV in 120 bins.
@@ -132,7 +132,7 @@ eIoni: tables are built for e+
dE/dx and range tables from 100 eV to 100 TeV in 120 bins.
Lambda tables from threshold to 100 TeV in 120 bins.
Delta cross sections from Moller+Bhabha, good description from 1 KeV to 100 GeV.
Step function: finalRange(mm)= 1, dRoverRange= 1, integral: 1
Step function: finalRange(mm)= 1, dRoverRange= 0.2, integral: 1
eBrem: tables are built for e+
dE/dx and range tables from 100 eV to 100 TeV in 120 bins.
@@ -146,7 +146,7 @@ annihil: Heilter model of formula of annihilation into 2 photons
msc: Model variant of multiple scattering for proton
Lambda tables from 100 eV to 100 TeV in 120 bins.
Boundary algorithm is active with facrange= 0.199
Boundary/stepping algorithm is active with facrange= 0.02 Step limitation 1
hIoni: tables are built for proton
dE/dx and range tables from 100 eV to 100 TeV in 120 bins.
@@ -159,7 +159,7 @@ msc: Model variant of multiple scattering for GenericIon
msc: Model variant of multiple scattering for mu+
Lambda tables from 100 eV to 100 TeV in 120 bins.
Boundary algorithm is active with facrange= 0.199
Boundary/stepping algorithm is active with facrange= 0.02 Step limitation 1
muIoni: tables are built for mu+
dE/dx and range tables from 100 eV to 100 TeV in 120 bins.
@@ -197,28 +197,28 @@ muPairProd: tables are built for mu-
msc: Model variant of multiple scattering for pi-
Lambda tables from 100 eV to 100 TeV in 120 bins.
Boundary algorithm is active with facrange= 0.199
Boundary/stepping algorithm is active with facrange= 0.02 Step limitation 1
Volume name | Importance| Tr.Entering| Population| Collisions| Coll*WGT| NumWGTedE| FluxWGTedE| Av.Tr.WGT|
cell_01_rep:0............ | 1 | 109 | 128 | 116 | 116 | 9.0844649 | 9.5448707 | 1 |
cell_02_rep:0............ | 2 | 69 | 152 | 142 | 71 | 8.514088 | 9.1338343 | 1 |
cell_03_rep:0............ | 4 | 87 | 175 | 195 | 48.75 | 7.0706267 | 8.4721018 | 1 |
cell_04_rep:0............ | 8 | 106 | 205 | 197 | 24.625 | 6.4781545 | 8.009855 | 1 |
cell_05_rep:0............ | 16 | 125 | 265 | 325 | 20.3125 | 6.5346594 | 7.8737813 | 1 |
cell_06_rep:0............ | 32 | 147 | 300 | 382 | 11.9375 | 4.8149962 | 7.5593459 | 1 |
cell_07_rep:0............ | 64 | 151 | 322 | 410 | 6.40625 | 3.4013848 | 7.2868181 | 1 |
cell_08_rep:0............ | 128 | 174 | 376 | 499 | 3.8984375 | 4.0138152 | 7.1811682 | 1 |
cell_09_rep:0............ | 256 | 184 | 375 | 537 | 2.0976562 | 4.7452287 | 6.7490821 | 1 |
cell_10_rep:0............ | 512 | 199 | 413 | 598 | 1.1679688 | 0.12715559 | 6.6545894 | 1 |
cell_11_rep:0............ | 1024 | 209 | 427 | 670 | 0.65429688 | 3.8229542 | 5.9721558 | 1 |
cell_12_rep:0............ | 2048 | 217 | 437 | 713 | 0.34814453 | 3.6997829 | 6.0543108 | 1 |
cell_13_rep:0............ | 4096 | 232 | 475 | 720 | 0.17578125 | 3.8285283 | 5.9110234 | 1 |
cell_14_rep:0............ | 8192 | 269 | 540 | 990 | 0.12084961 | 3.4219729 | 5.4792145 | 1 |
cell_15_rep:0............ | 16384 | 291 | 584 | 1041 | 0.063537598 | 3.1097494 | 5.191823 | 1 |
cell_16_rep:0............ | 32768 | 322 | 638 | 1155 | 0.035247803 | 3.2779116 | 5.0155103 | 1 |
cell_17_rep:0............ | 65536 | 313 | 624 | 1178 | 0.017974854 | 2.8946874 | 4.807036 | 1 |
cell_18_rep:0............ | 131072 | 279 | 646 | 1252 | 0.009552002 | 0.041089375 | 4.9343901 | 1 |
rest_rep:0............... | 131072 | 301 | 301 | 0 | 0 | 0 | 0 | 0 |
shieldWorld_rep:0........ | 1 | 12 | 111 | 0 | 0 | 10 | 10 | 1 |
cell_01_rep:0............ | 1 | 111 | 134 | 131 | 131 | 7.7860235 | 9.1470607 | 1 |
cell_02_rep:0............ | 2 | 89 | 173 | 191 | 95.5 | 6.5725833 | 8.4009087 | 1 |
cell_03_rep:0............ | 4 | 94 | 198 | 195 | 48.75 | 8.1266652 | 8.7051742 | 1 |
cell_04_rep:0............ | 8 | 121 | 249 | 258 | 32.25 | 6.2161377 | 8.2818871 | 1 |
cell_05_rep:0............ | 16 | 158 | 327 | 404 | 25.25 | 5.7902782 | 7.8825536 | 1 |
cell_06_rep:0............ | 32 | 172 | 381 | 422 | 13.1875 | 5.7466488 | 7.8354734 | 1 |
cell_07_rep:0............ | 64 | 192 | 394 | 578 | 9.03125 | 0.27715221 | 6.8450076 | 1 |
cell_08_rep:0............ | 128 | 216 | 445 | 649 | 5.0703125 | 5.0240389 | 6.7365735 | 1 |
cell_09_rep:0............ | 256 | 246 | 521 | 825 | 3.2226562 | 4.6137525 | 6.3768025 | 1 |
cell_10_rep:0............ | 512 | 244 | 548 | 781 | 1.5253906 | 5.1560281 | 6.6650097 | 1 |
cell_11_rep:0............ | 1024 | 277 | 555 | 770 | 0.75195312 | 0.63315862 | 6.4423602 | 1 |
cell_12_rep:0............ | 2048 | 319 | 653 | 952 | 0.46484375 | 4.6419804 | 6.6177668 | 1 |
cell_13_rep:0............ | 4096 | 326 | 688 | 1044 | 0.25488281 | 3.8347969 | 6.3132198 | 1 |
cell_14_rep:0............ | 8192 | 315 | 654 | 998 | 0.12182617 | 0.23732449 | 6.1765661 | 1 |
cell_15_rep:0............ | 16384 | 307 | 623 | 1032 | 0.062988281 | 3.2698756 | 5.8998212 | 1 |
cell_16_rep:0............ | 32768 | 313 | 644 | 1035 | 0.031585693 | 0.13643685 | 5.8093517 | 1 |
cell_17_rep:0............ | 65536 | 345 | 722 | 1123 | 0.01713562 | 0.08543507 | 5.8104435 | 1 |
cell_18_rep:0............ | 131072 | 304 | 723 | 1168 |0.0089111328 | 0.82062282 | 5.6784205 | 1 |
rest_rep:0............... | 131072 | 346 | 346 | 0 | 0 | 0 | 0 | 0 |
shieldWorld_rep:0........ | 1 | 4 | 104 | 0 | 0 | 10 | 10 | 1 |
=== G4ProcessPlacer::RemoveProcess: for: neutron
ProcessName: MassImportanceProcess, will be removed!
The initial Vectors:
@@ -22,7 +22,7 @@
//
//
// $Id: B01DetectorConstruction.hh,v 1.6 2003/08/25 12:32:29 dressel Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
#ifndef B01DetectorConstruction_hh
@@ -21,12 +21,12 @@
// ********************************************************************
//
//
// $Id: B01DetectorConstruction.cc,v 1.14 2004/12/08 17:39:07 daquinog Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: B01DetectorConstruction.cc,v 1.16 2005/12/06 16:35:59 ahoward Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
#include "G4Types.hh"
#include <strstream>
#include <sstream>
#include <set>
#include "globals.hh"
@@ -327,15 +327,13 @@ G4VWeightWindowStore *B01DetectorConstruction::CreateWeightWindowStore()
G4String B01DetectorConstruction::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;
}
@@ -22,7 +22,7 @@
//
//
// $Id: B01PhysicsList.cc,v 1.5 2003/06/16 16:47:10 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
#include "globals.hh"
@@ -22,7 +22,7 @@
//
//
// $Id: B01PrimaryGeneratorAction.cc,v 1.7 2002/11/07 13:48:02 dressel Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
#include "globals.hh"
+10 -7
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: exampleB02.cc,v 1.17 2004/12/08 19:18:45 daquinog Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: exampleB02.cc,v 1.19 2005/12/09 16:38:18 ahoward Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// --------------------------------------------------------------
@@ -93,7 +93,7 @@ int main(int , char **)
G4long myseed = 345354;
HepRandom::setTheSeed(myseed);
CLHEP::HepRandom::setTheSeed(myseed);
G4RunManager *runManager = new G4RunManager;
@@ -163,11 +163,11 @@ int main(int , char **)
G4CellStoreScorer scorer(b02store);
G4ParallelGeometrySampler mgs(pdet->GetWorldVolume(),
G4ParallelGeometrySampler pgs(pdet->GetWorldVolume(),
"neutron");
mgs.PrepareScoring(&scorer);
mgs.PrepareImportanceSampling(&aIstore, 0);
mgs.Configure();
pgs.PrepareScoring(&scorer);
pgs.PrepareImportanceSampling(&aIstore, 0);
pgs.Configure();
runManager->BeamOn(numberOfEvent);
@@ -183,6 +183,9 @@ int main(int , char **)
delete tf;
delete tree;
pgs.ClearSampling();
delete runManager;
return 0;
}
+1 -1
View File
@@ -1,5 +1,5 @@
**********************************************
Geant4 version $Name: geant4-07-01 $
Geant4 version $Name: geant4-08-00 $
(31-Jul-2002)
Copyright : Geant4 Collaboration
**********************************************
@@ -22,7 +22,7 @@
//
//
// $Id: B02CellScorer.hh,v 1.2 2003/06/16 16:47:12 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
// ----------------------------------------------------------------------
// Class B02CellScorer
@@ -22,7 +22,7 @@
//
//
// $Id: B02CellScorerStore.hh,v 1.2 2003/06/16 16:47:14 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
// ----------------------------------------------------------------------
// Class B02CellScorerStore
@@ -22,7 +22,7 @@
//
//
// $Id: B02DetectorConstruction.hh,v 1.3 2002/11/08 14:47:42 dressel Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
#ifndef B02DetectorConstruction_hh
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: B02ImportanceDetectorConstruction.hh,v 1.3 2003/06/16 16:47:15 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// $Id: B02ImportanceDetectorConstruction.hh,v 1.4 2005/12/07 18:05:55 ahoward Exp $
// GEANT4 tag $Name: geant4-08-00 $
//
#ifndef B02ImportanceDetectorConstruction_hh
@@ -51,7 +51,7 @@ public:
private:
void Construct();
B02PVolumeStore fPVolumeStore;;
B02PVolumeStore fPVolumeStore;
G4VPhysicalVolume *fWorldVolume;
};
@@ -22,7 +22,7 @@
//
//
// $Id: B02ScoringDetectorConstruction.hh,v 1.2 2002/04/19 10:54:26 gcosmo Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
#ifndef B02ScoringDetectorConstruction_hh
@@ -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"
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: exampleB03.cc,v 1.11 2003/06/30 16:17:02 dressel Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
//
// --------------------------------------------------------------
+1 -1
View File
@@ -1,5 +1,5 @@
**********************************************
Geant4 version $Name: geant4-07-01 $
Geant4 version $Name: geant4-08-00 $
(31-Jul-2002)
Copyright : Geant4 Collaboration
**********************************************
@@ -16,7 +16,7 @@
#include "G4ScoreTable.hh"
#include "G4VIStore.hh"
#include <string>
#include <strstream>
#include <sstream>
#include <memory>
#include "G4VPhysicalVolume.hh"
#include "B03ImportanceDetectorConstruction.hh"
@@ -141,7 +141,7 @@ public:
std::ostream *out = 0);
%extend {
const char *Write(const G4MapGeometryCellCellScorer &cs){
std::ostrstream tmpout;
std::ostringstream tmpout;
self->Print(cs, &tmpout);
std::string *value = new std::string(tmpout.str());
return value->c_str();
@@ -21,7 +21,7 @@
// ********************************************************************
//
// $Id: B03AppBase.hh,v 1.1 2003/06/30 16:17:03 dressel Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
// --------------------------------------------------------------------
#ifndef B03AppBase_hh
@@ -22,7 +22,7 @@
//
//
// $Id: B03DetectorConstruction.hh,v 1.4 2002/11/08 17:35:18 dressel Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
#ifndef B03DetectorConstruction_hh
@@ -22,7 +22,7 @@
//
//
// $Id: B03ImportanceDetectorConstruction.hh,v 1.2 2003/06/16 16:47:22 gunter Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
#ifndef B03ImportanceDetectorConstruction_hh
@@ -22,7 +22,7 @@
//
//
// $Id: B03PhysicsList.hh,v 1.3 2002/11/08 17:35:18 dressel Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
#ifndef B03PhysicsList_h
@@ -22,7 +22,7 @@
//
//
// $Id: B03PrimaryGeneratorAction.hh,v 1.3 2002/11/08 17:35:18 dressel Exp $
// GEANT4 tag $Name: geant4-07-01 $
// GEANT4 tag $Name: geant4-08-00 $
//
#ifndef B03PrimaryGeneratorAction_hh
+1 -1
View File
@@ -1,6 +1,6 @@
# #Id: setupPI.csh,v 1.6 2004/06/19 17:22:46 daquinog Exp $
# -------------------------------------------------------------------
# GEANT4 tag $Name: geant4-07-01 $
# GEANT4 tag $Name: geant4-08-00 $
# -------------------------------------------------------------------
# before sourcing this script make sure you have set the
@@ -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"
+9 -3
View File
@@ -1,4 +1,4 @@
$Id: History,v 1.30 2005/05/03 10:05:48 allison Exp $
$Id: History,v 1.32 2005/12/06 11:15:28 gcosmo Exp $
-------------------------------------------------------------------
=========================================================
@@ -17,8 +17,14 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
3rd May 2005 John Allison (examples-V07-00-03)
- Replaced vis manager with G4VisExecutive.
Dec 6, 2005 G. Cosmo
- Trivial changes for support of CLHEP-2.0.X series.
Nov 15th, 2005 G. Cosmo - exbiasing-V07-01-00
- migration to <sstream> from deprecated <strstream>.
May 3rd, 2005 J. Allison
- replaced vis manager with G4VisExecutive.
Dec 8th, 2004 G. Daquino - exbiasing-V06-02-00
- B01, B02 and B03 migrated to <cmath>.