Import Geant4 5.2.0 source tree
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: exampleB01.cc,v 1.16 2002/11/07 13:50:29 dressel Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: exampleB01.cc,v 1.17 2003/06/16 16:47:08 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
@@ -45,7 +45,7 @@
|
||||
|
||||
// --------------------------------------------------------------
|
||||
|
||||
#include "g4std/iostream"
|
||||
#include <iostream>
|
||||
|
||||
#include "G4VPhysicalVolume.hh"
|
||||
#include "G4RunManager.hh"
|
||||
@@ -66,7 +66,7 @@
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
G4std::ostream *myout = &G4cout;
|
||||
std::ostream *myout = &G4cout;
|
||||
G4int numberOfEvent = 100;
|
||||
|
||||
G4long myseed = 345354;
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: B01DetectorConstruction.hh,v 1.5 2002/11/07 13:47:59 dressel Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
|
||||
#ifndef B01DetectorConstruction_hh
|
||||
|
||||
@@ -21,11 +21,11 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: B01DetectorConstruction.cc,v 1.9 2003/03/11 13:54:17 dressel Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: B01DetectorConstruction.cc,v 1.10 2003/06/16 16:47:09 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
|
||||
#include "g4std/strstream"
|
||||
#include <strstream>
|
||||
#include "globals.hh"
|
||||
|
||||
#include "B01DetectorConstruction.hh"
|
||||
@@ -164,7 +164,7 @@ G4VPhysicalVolume* B01DetectorConstruction::Construct()
|
||||
name, 0, false, 0);
|
||||
|
||||
|
||||
G4std::vector< G4VPhysicalVolume * > physvolumes;
|
||||
std::vector< G4VPhysicalVolume * > physvolumes;
|
||||
physvolumes.push_back(pWorldVolume);
|
||||
|
||||
|
||||
@@ -256,7 +256,7 @@ G4VPhysicalVolume* B01DetectorConstruction::Construct()
|
||||
G4int n = 0;
|
||||
G4double imp =1;
|
||||
fIStore->AddImportanceGeometryCell(1, *pWorldVolume);
|
||||
for (G4std::vector<G4VPhysicalVolume *>::iterator it =
|
||||
for (std::vector<G4VPhysicalVolume *>::iterator it =
|
||||
physvolumes.begin();
|
||||
it != physvolumes.end(); it++)
|
||||
{
|
||||
@@ -281,7 +281,7 @@ G4VPhysicalVolume* B01DetectorConstruction::Construct()
|
||||
|
||||
G4String B01DetectorConstruction::GetCellName(G4int i) {
|
||||
char st[200];
|
||||
G4std::ostrstream os(st,200);
|
||||
std::ostrstream os(st,200);
|
||||
os << "cell_";
|
||||
if (i<10) {
|
||||
os << "0";
|
||||
|
||||
@@ -21,12 +21,12 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: B01PhysicsList.cc,v 1.4 2002/11/07 13:48:02 dressel Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: B01PhysicsList.cc,v 1.5 2003/06/16 16:47:10 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
|
||||
#include "globals.hh"
|
||||
#include "g4std/iomanip"
|
||||
#include <iomanip>
|
||||
|
||||
#include "B01PhysicsList.hh"
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: B01PrimaryGeneratorAction.cc,v 1.7 2002/11/07 13:48:02 dressel Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
|
||||
#include "globals.hh"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# $Id: GNUmakefile,v 1.7 2002/11/19 15:03:58 mdressel Exp $
|
||||
# $Id: GNUmakefile,v 1.8 2003/06/20 15:32:09 dressel Exp $
|
||||
# --------------------------------------------------------------
|
||||
# GNUmakefile for examples module. Gabriele Cosmo, 06/04/98.
|
||||
# --------------------------------------------------------------
|
||||
@@ -22,13 +22,11 @@ endif
|
||||
all: lib bin
|
||||
|
||||
|
||||
# set this variable to your Anaphe instalation.
|
||||
ANAPHE_SCRIPTS_PATH:=share/LHCXX/5.0.1/scripts
|
||||
|
||||
CPPFLAGS +=
|
||||
#LDFLAGS += -L/usr/local/lib
|
||||
|
||||
include $(G4INSTALL)/config/binmake.gmk
|
||||
|
||||
CPPFLAGS += `$(ANAPHETOP)/$(ANAPHE_SCRIPTS_PATH)/aida-config -i`
|
||||
LDFLAGS += `$(ANAPHETOP)/$(ANAPHE_SCRIPTS_PATH)/aida-config -l`
|
||||
CPPFLAGS += `aida-config -i`
|
||||
LDFLAGS += `aida-config -l`
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: exampleB02.cc,v 1.14 2003/03/11 13:54:17 dressel Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: exampleB02.cc,v 1.15 2003/06/16 16:47:11 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
@@ -51,7 +51,7 @@
|
||||
|
||||
// --------------------------------------------------------------
|
||||
|
||||
#include "g4std/iostream"
|
||||
#include <iostream>
|
||||
|
||||
#include "G4VPhysicalVolume.hh"
|
||||
#include "G4RunManager.hh"
|
||||
@@ -88,7 +88,7 @@
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
G4std::ostream *myout = &G4cout;
|
||||
std::ostream *myout = &G4cout;
|
||||
G4int numberOfEvent = 100;
|
||||
|
||||
G4long myseed = 345354;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
**********************************************
|
||||
Geant4 version $Name: geant4-05-01 $
|
||||
Geant4 version $Name: geant4-05-02 $
|
||||
(31-Jul-2002)
|
||||
Copyright : Geant4 Collaboration
|
||||
**********************************************
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: B02CellScorer.hh,v 1.1 2002/11/08 14:52:16 dressel Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: B02CellScorer.hh,v 1.2 2003/06/16 16:47:12 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
// Class B02CellScorer
|
||||
@@ -42,7 +42,7 @@
|
||||
#include "G4CellScoreComposer.hh"
|
||||
#include "G4CellScorer.hh"
|
||||
|
||||
#include "g4std/vector"
|
||||
#include <vector>
|
||||
|
||||
#include "AIDA/IHistogram1D.h"
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: B02CellScorerStore.hh,v 1.1 2002/11/08 14:52:16 dressel Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: B02CellScorerStore.hh,v 1.2 2003/06/16 16:47:14 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
// Class B02CellScorerStore
|
||||
@@ -42,7 +42,7 @@
|
||||
#ifndef B02CellScorerStore_hh
|
||||
#define B02CellScorerStore_hh B02CellScorerStore_hh
|
||||
|
||||
#include "g4std/map"
|
||||
#include <map>
|
||||
#include "G4GeometryCell.hh"
|
||||
#include "G4GeometryCellComp.hh"
|
||||
|
||||
@@ -53,9 +53,9 @@ class G4CellScorer;
|
||||
class B02CellScorer;
|
||||
class IHistogram1D;
|
||||
|
||||
typedef G4std::map<G4GeometryCell, G4CellScorer *, G4GeometryCellComp> G4MapGeometryCellCellScorer;
|
||||
typedef std::map<G4GeometryCell, G4CellScorer *, G4GeometryCellComp> G4MapGeometryCellCellScorer;
|
||||
|
||||
typedef G4std::map<G4GeometryCell,B02CellScorer *, G4GeometryCellComp> B02MapGeometryCellB02CellScorer;
|
||||
typedef std::map<G4GeometryCell,B02CellScorer *, G4GeometryCellComp> B02MapGeometryCellB02CellScorer;
|
||||
|
||||
class B02CellScorerStore : public G4VCellScorerStore {
|
||||
public:
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: B02DetectorConstruction.hh,v 1.3 2002/11/08 14:47:42 dressel Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
|
||||
#ifndef B02DetectorConstruction_hh
|
||||
|
||||
@@ -21,15 +21,15 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: B02ImportanceDetectorConstruction.hh,v 1.2 2003/03/11 13:54:17 dressel Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: B02ImportanceDetectorConstruction.hh,v 1.3 2003/06/16 16:47:15 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
|
||||
#ifndef B02ImportanceDetectorConstruction_hh
|
||||
#define B02ImportanceDetectorConstruction_hh B02ImportanceDetectorConstruction_hh
|
||||
|
||||
#include "globals.hh"
|
||||
#include "g4std/map"
|
||||
#include <map>
|
||||
#include "G4GeometryCell.hh"
|
||||
#include "B02PVolumeStore.hh"
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: B02PVolumeStore.hh,v 1.1 2002/11/08 14:52:16 dressel Exp $
|
||||
// $Id: B02PVolumeStore.hh,v 1.2 2003/06/16 16:47:16 gunter Exp $
|
||||
// GEANT4 tag
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
@@ -38,11 +38,11 @@
|
||||
#define B02PVolumeStore_hh B02PVolumeStore_hh
|
||||
|
||||
#include "globals.hh"
|
||||
#include "g4std/set"
|
||||
#include <set>
|
||||
#include "G4GeometryCell.hh"
|
||||
#include "G4GeometryCellComp.hh"
|
||||
|
||||
typedef G4std::set< G4GeometryCell, G4GeometryCellComp > B02SetGeometryCell;
|
||||
typedef std::set< G4GeometryCell, G4GeometryCellComp > B02SetGeometryCell;
|
||||
|
||||
class B02PVolumeStore {
|
||||
public:
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: B02ScoringDetectorConstruction.hh,v 1.2 2002/04/19 10:54:26 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
|
||||
#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-05-01 $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
// GEANT 4 class source file
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: B02CellScorerStore.cc,v 1.1 2002/11/08 14:52:17 dressel Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
// GEANT 4 class source file
|
||||
|
||||
@@ -21,11 +21,11 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: B02DetectorConstruction.cc,v 1.7 2003/02/19 08:24:35 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: B02DetectorConstruction.cc,v 1.8 2003/06/16 16:47:17 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
|
||||
#include "g4std/strstream"
|
||||
#include <strstream>
|
||||
#include "globals.hh"
|
||||
|
||||
#include "B02DetectorConstruction.hh"
|
||||
|
||||
@@ -21,12 +21,12 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: B02ImportanceDetectorConstruction.cc,v 1.4 2003/03/11 13:54:17 dressel Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: B02ImportanceDetectorConstruction.cc,v 1.5 2003/06/16 16:47:18 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
|
||||
#include "globals.hh"
|
||||
#include "g4std/strstream"
|
||||
#include <strstream>
|
||||
|
||||
#include "B02ImportanceDetectorConstruction.hh"
|
||||
|
||||
@@ -189,7 +189,7 @@ G4String B02ImportanceDetectorConstruction::ListPhysNamesAsG4String(){
|
||||
|
||||
G4String B02ImportanceDetectorConstruction::GetCellName(G4int i) {
|
||||
char st[200];
|
||||
G4std::ostrstream os(st,200);
|
||||
std::ostrstream os(st,200);
|
||||
os << "cell_";
|
||||
if (i<10) {
|
||||
os << "0";
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: B02PVolumeStore.cc,v 1.1 2002/11/08 14:52:17 dressel Exp $
|
||||
// $Id: B02PVolumeStore.cc,v 1.2 2003/06/16 16:47:19 gunter Exp $
|
||||
// GEANT4 tag
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
@@ -32,7 +32,7 @@
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
#include "B02PVolumeStore.hh"
|
||||
#include "g4std/strstream"
|
||||
#include <strstream>
|
||||
|
||||
|
||||
#include "G4VPhysicalVolume.hh"
|
||||
@@ -78,14 +78,14 @@ G4String B02PVolumeStore::GetPNames() const {
|
||||
it != fSetGeometryCell.end(); ++it) {
|
||||
const G4VPhysicalVolume &vol = it->GetPhysicalVolume();
|
||||
char st[200];
|
||||
G4std::ostrstream os(st,200);
|
||||
std::ostrstream os(st,200);
|
||||
os << vol.GetName() << "_" << it->GetReplicaNumber()
|
||||
<< "\n" << '\0';
|
||||
G4String cellname(st);
|
||||
|
||||
// G4String cellname(vol.GetName());
|
||||
// cellname += G4String("_");
|
||||
// cellname += G4std::str(it->GetReplicaNumber());
|
||||
// cellname += std::str(it->GetReplicaNumber());
|
||||
|
||||
NameString += cellname;
|
||||
}
|
||||
|
||||
@@ -21,12 +21,12 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: B02PhysicsList.cc,v 1.3 2002/11/08 14:47:48 dressel Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: B02PhysicsList.cc,v 1.4 2003/06/16 16:47:20 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
|
||||
#include "globals.hh"
|
||||
#include "g4std/iomanip"
|
||||
#include <iomanip>
|
||||
|
||||
#include "B02PhysicsList.hh"
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: B02PrimaryGeneratorAction.cc,v 1.5 2002/11/08 14:47:48 dressel Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
|
||||
#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-05-01 $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
|
||||
#include "globals.hh"
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: exampleB03.cc,v 1.10 2002/11/18 13:22:48 dressel Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
//
|
||||
// --------------------------------------------------------------
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
**********************************************
|
||||
Geant4 version $Name: geant4-05-01 $
|
||||
Geant4 version $Name: geant4-05-02 $
|
||||
(31-Jul-2002)
|
||||
Copyright : Geant4 Collaboration
|
||||
**********************************************
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: B03App.hh,v 1.3 2002/12/13 11:26:33 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
#ifndef B03App_hh
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
#include "G4ScoreTable.hh"
|
||||
#include "G4VIStore.hh"
|
||||
#include <string>
|
||||
#include "g4std/strstream"
|
||||
#include <strstream>
|
||||
#include <memory>
|
||||
#include "G4VPhysicalVolume.hh"
|
||||
#include "B03ImportanceDetectorConstruction.hh"
|
||||
@@ -89,7 +89,7 @@ public:
|
||||
G4CellScoreValues GetCellScoreValues() const;
|
||||
};
|
||||
|
||||
typedef G4std::map<G4GeometryCell, G4CellScorer *, G4PTkComp> G4MapGeometryCellCellScorer;
|
||||
typedef std::map<G4GeometryCell, G4CellScorer *, G4PTkComp> G4MapGeometryCellCellScorer;
|
||||
|
||||
class G4VCellScorerStore{
|
||||
};
|
||||
@@ -138,10 +138,10 @@ public:
|
||||
G4ScoreTable(const G4VIStore *aIStore = 0);
|
||||
~G4ScoreTable(){}
|
||||
void Print(const G4MapGeometryCellCellScorer &cs,
|
||||
G4std::ostream *out = 0);
|
||||
std::ostream *out = 0);
|
||||
%extend {
|
||||
const char *Write(const G4MapGeometryCellCellScorer &cs){
|
||||
G4std::ostrstream tmpout;
|
||||
std::ostrstream tmpout;
|
||||
self->Print(cs, &tmpout);
|
||||
string *value = new string(tmpout.str());
|
||||
return value->c_str();
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: B03DetectorConstruction.hh,v 1.4 2002/11/08 17:35:18 dressel Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
|
||||
#ifndef B03DetectorConstruction_hh
|
||||
|
||||
@@ -21,15 +21,15 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: B03ImportanceDetectorConstruction.hh,v 1.1 2002/11/08 17:35:18 dressel Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: B03ImportanceDetectorConstruction.hh,v 1.2 2003/06/16 16:47:22 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
|
||||
#ifndef B03ImportanceDetectorConstruction_hh
|
||||
#define B03ImportanceDetectorConstruction_hh B03ImportanceDetectorConstruction_hh
|
||||
|
||||
#include "globals.hh"
|
||||
#include "g4std/map"
|
||||
#include <map>
|
||||
#include "B03PVolumeStore.hh"
|
||||
class G4VPhysicalVolume;
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: B03PVolumeStore.hh,v 1.1 2002/11/08 17:35:18 dressel Exp $
|
||||
// $Id: B03PVolumeStore.hh,v 1.2 2003/06/16 16:47:23 gunter Exp $
|
||||
// GEANT4 tag
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
@@ -38,11 +38,11 @@
|
||||
#define B03PVolumeStore_hh B03PVolumeStore_hh
|
||||
|
||||
#include "globals.hh"
|
||||
#include "g4std/set"
|
||||
#include <set>
|
||||
#include "G4GeometryCell.hh"
|
||||
#include "G4GeometryCellComp.hh"
|
||||
|
||||
typedef G4std::set< G4GeometryCell, G4GeometryCellComp > B03SetGeometryCell;
|
||||
typedef std::set< G4GeometryCell, G4GeometryCellComp > B03SetGeometryCell;
|
||||
|
||||
class B03PVolumeStore {
|
||||
public:
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: B03PhysicsList.hh,v 1.3 2002/11/08 17:35:18 dressel Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
|
||||
#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-05-01 $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
|
||||
#ifndef B03PrimaryGeneratorAction_hh
|
||||
|
||||
@@ -20,12 +20,12 @@
|
||||
// * statement, and all its terms. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: B03App.cc,v 1.4 2003/03/11 13:54:18 dressel Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: B03App.cc,v 1.5 2003/06/16 16:47:24 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
// --------------------------------------------------------------------
|
||||
#include "B03App.hh"
|
||||
#include "g4std/iostream"
|
||||
#include <iostream>
|
||||
|
||||
#include "CLHEP/Random/Random.h"
|
||||
|
||||
|
||||
@@ -1,3 +1,25 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * DISCLAIMER *
|
||||
// * *
|
||||
// * The following disclaimer summarizes all the specific disclaimers *
|
||||
// * of contributors to this software. The specific disclaimers,which *
|
||||
// * govern, are listed with their locations in: *
|
||||
// * http://cern.ch/geant4/license *
|
||||
// * *
|
||||
// * Neither the authors of this software system, nor their employing *
|
||||
// * institutes,nor the agencies providing financial support for this *
|
||||
// * work make any representation or warranty, express or implied, *
|
||||
// * regarding this software system or assume any liability for its *
|
||||
// * use. *
|
||||
// * *
|
||||
// * This code implementation is the intellectual property of the *
|
||||
// * GEANT4 collaboration. *
|
||||
// * By copying, distributing or modifying the Program (or any work *
|
||||
// * based on the Program) you indicate your acceptance of this *
|
||||
// * statement, and all its terms. *
|
||||
// ********************************************************************
|
||||
//
|
||||
/* ----------------------------------------------------------------------------
|
||||
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||
* Version 1.3.15u-20021124-1448
|
||||
@@ -694,14 +716,14 @@ static swig_type_info *swig_types[22];
|
||||
#include "G4ScoreTable.hh"
|
||||
#include "G4VIStore.hh"
|
||||
#include <string>
|
||||
#include "g4std/strstream"
|
||||
#include <strstream>
|
||||
#include <memory>
|
||||
#include "G4VPhysicalVolume.hh"
|
||||
#include "B03ImportanceDetectorConstruction.hh"
|
||||
#include "G4VImportanceAlgorithm.hh"
|
||||
|
||||
char const *G4ScoreTable_Write(G4ScoreTable *self,G4MapGeometryCellCellScorer const &cs){
|
||||
G4std::ostrstream tmpout;
|
||||
std::ostrstream tmpout;
|
||||
self->Print(cs, &tmpout);
|
||||
string *value = new string(tmpout.str());
|
||||
return value->c_str();
|
||||
@@ -1900,7 +1922,7 @@ static PyObject *_wrap_G4ScoreTable_Print(PyObject *self, PyObject *args) {
|
||||
PyObject *resultobj;
|
||||
G4ScoreTable *arg1 ;
|
||||
G4MapGeometryCellCellScorer *arg2 ;
|
||||
G4std::ostream *arg3 = 0 ;
|
||||
std::ostream *arg3 = 0 ;
|
||||
PyObject * obj0 = 0 ;
|
||||
PyObject * obj1 = 0 ;
|
||||
PyObject * obj2 = 0 ;
|
||||
@@ -2239,7 +2261,7 @@ static swig_type_info _swigt__p_G4ParallelGeometrySampler[] = {{"_p_G4ParallelGe
|
||||
static swig_type_info _swigt__p_G4CellScorerStore[] = {{"_p_G4CellScorerStore", 0, "G4CellScorerStore *", 0},{"_p_G4CellScorerStore"},{0}};
|
||||
static swig_type_info _swigt__p_G4VCellScorerStore[] = {{"_p_G4VCellScorerStore", 0, "G4VCellScorerStore *", 0},{"_p_G4VCellScorerStore"},{"_p_G4CellScorerStore", _p_G4CellScorerStoreTo_p_G4VCellScorerStore},{0}};
|
||||
static swig_type_info _swigt__p_B03AppBase[] = {{"_p_B03AppBase", 0, "B03AppBase *", 0},{"_p_B03AppBase"},{0}};
|
||||
static swig_type_info _swigt__p_G4std__ostream[] = {{"_p_G4std__ostream", 0, "G4std::ostream *", 0},{"_p_G4std__ostream"},{0}};
|
||||
static swig_type_info _swigt__p_G4std__ostream[] = {{"_p_G4std__ostream", 0, "std::ostream *", 0},{"_p_G4std__ostream"},{0}};
|
||||
static swig_type_info _swigt__p_G4CellStoreScorer[] = {{"_p_G4CellStoreScorer", 0, "G4CellStoreScorer *", 0},{"_p_G4CellStoreScorer"},{0}};
|
||||
static swig_type_info _swigt__p_G4CellScoreComposer[] = {{"_p_G4CellScoreComposer", 0, "G4CellScoreComposer *", 0},{"_p_G4CellScoreComposer"},{0}};
|
||||
static swig_type_info _swigt__p_G4GeometryCell[] = {{"_p_G4GeometryCell", 0, "G4GeometryCell *", 0},{"_p_G4GeometryCell"},{0}};
|
||||
|
||||
@@ -21,11 +21,11 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: B03DetectorConstruction.cc,v 1.11 2003/02/19 08:24:36 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: B03DetectorConstruction.cc,v 1.12 2003/06/16 16:47:26 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
|
||||
#include "g4std/strstream"
|
||||
#include <strstream>
|
||||
#include "globals.hh"
|
||||
|
||||
#include "B03DetectorConstruction.hh"
|
||||
|
||||
@@ -21,12 +21,12 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: B03ImportanceDetectorConstruction.cc,v 1.4 2003/03/11 13:54:18 dressel Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: B03ImportanceDetectorConstruction.cc,v 1.5 2003/06/16 16:47:27 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
|
||||
#include "globals.hh"
|
||||
#include "g4std/strstream"
|
||||
#include <strstream>
|
||||
|
||||
#include "B03ImportanceDetectorConstruction.hh"
|
||||
|
||||
@@ -184,7 +184,7 @@ G4String B03ImportanceDetectorConstruction::ListPhysNamesAsG4String(){
|
||||
|
||||
G4String B03ImportanceDetectorConstruction::GetCellName(G4int i) {
|
||||
char st[200];
|
||||
G4std::ostrstream os(st,200);
|
||||
std::ostrstream os(st,200);
|
||||
os << "cell_";
|
||||
if (i<10) {
|
||||
os << "0";
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: B03PVolumeStore.cc,v 1.1 2002/11/08 17:35:18 dressel Exp $
|
||||
// $Id: B03PVolumeStore.cc,v 1.2 2003/06/16 16:47:28 gunter Exp $
|
||||
// GEANT4 tag
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
@@ -32,7 +32,7 @@
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
#include "B03PVolumeStore.hh"
|
||||
#include "g4std/strstream"
|
||||
#include <strstream>
|
||||
|
||||
|
||||
#include "G4VPhysicalVolume.hh"
|
||||
@@ -78,14 +78,14 @@ G4String B03PVolumeStore::GetPNames() const {
|
||||
it != fSetGeometryCell.end(); ++it) {
|
||||
const G4VPhysicalVolume &vol = it->GetPhysicalVolume();
|
||||
char st[200];
|
||||
G4std::ostrstream os(st,200);
|
||||
std::ostrstream os(st,200);
|
||||
os << vol.GetName() << "_" << it->GetReplicaNumber()
|
||||
<< "\n" << '\0';
|
||||
G4String cellname(st);
|
||||
|
||||
// G4String cellname(vol.GetName());
|
||||
// cellname += G4String("_");
|
||||
// cellname += G4std::str(it->GetReplicaNumber());
|
||||
// cellname += std::str(it->GetReplicaNumber());
|
||||
|
||||
NameString += cellname;
|
||||
}
|
||||
|
||||
@@ -21,12 +21,12 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: B03PhysicsList.cc,v 1.3 2002/11/08 17:35:19 dressel Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: B03PhysicsList.cc,v 1.4 2003/06/16 16:47:29 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
|
||||
#include "globals.hh"
|
||||
#include "g4std/iomanip"
|
||||
#include <iomanip>
|
||||
|
||||
#include "B03PhysicsList.hh"
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: B03PrimaryGeneratorAction.cc,v 1.5 2002/11/08 17:35:19 dressel Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
|
||||
#include "globals.hh"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
$Id: History,v 1.23 2003/03/11 14:27:29 dressel Exp $
|
||||
$Id: History,v 1.24 2003/06/25 13:01:43 gcosmo Exp $
|
||||
-------------------------------------------------------------------
|
||||
|
||||
=========================================================
|
||||
@@ -17,6 +17,9 @@ committal in the CVS repository !
|
||||
* Reverse chronological order (last date on top), please *
|
||||
----------------------------------------------------------
|
||||
|
||||
Jun 25th, 2003 G. Cosmo - exbiasing-V05-01-00
|
||||
- Added disclaimer of liability where needed.
|
||||
|
||||
Mar 11th, 2003 M. Dressel - exbiasing-V05-00-01
|
||||
- changed the replica number of the world volume from -1 to 0
|
||||
- Initialze() of the G4RunManager is now called after all Materials
|
||||
|
||||
Reference in New Issue
Block a user