Import Geant4 10.3.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-12-09 12:35:28 +01:00
parent 4ec577e5c4
commit a3452e42ac
3514 changed files with 210500 additions and 89628 deletions
@@ -36,7 +36,6 @@
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
B02ActionInitialization::B02ActionInitialization()
{;}
@@ -63,4 +62,3 @@ void B02ActionInitialization::Build() const
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -27,7 +27,7 @@
/// \brief Implementation of the B02DetectorConstruction class
//
//
// $Id: B02DetectorConstruction.cc 77475 2013-11-25 09:38:51Z gcosmo $
// $Id: B02DetectorConstruction.cc 98774 2016-08-09 14:28:06Z gcosmo $
//
#include "G4Types.hh"
#include "globals.hh"
@@ -133,21 +133,7 @@ G4VPhysicalVolume* B02DetectorConstruction::Construct()
Concrete->AddElement(elCa , fractionmass= 0.044);
Concrete->AddElement(elFe , fractionmass= 0.014);
Concrete->AddElement(elC , fractionmass= 0.001);
/////////////////////////////
// world cylinder volume
////////////////////////////
@@ -179,7 +165,6 @@ G4VPhysicalVolume* B02DetectorConstruction::Construct()
fWorldVolume = new G4PVPlacement(0, G4ThreeVector(0,0,0), worldCylinder_log
,name, 0, false, 0);
// creating 18 slobs of 10 cm thick concrete
G4double innerRadiusShield = 0*cm;
@@ -221,7 +206,6 @@ G4VPhysicalVolume* B02DetectorConstruction::Construct()
false,
0);
return fWorldVolume;
}
@@ -90,14 +90,9 @@ void B02ImportanceDetectorConstruction::Construct()
G4LogicalVolume* worldLogical = fGhostWorld->GetLogicalVolume();
fLogicalVolumeVector.push_back(worldLogical);
// fPVolumeStore.AddPVolume(G4GeometryCell(*pWorldVolume, 0));
fPVolumeStore.AddPVolume(G4GeometryCell(*fGhostWorld, 0));
// creating 18 slobs of 10 cm thicknes
G4double innerRadiusShield = 0*cm;
@@ -286,14 +281,12 @@ void B02ImportanceDetectorConstruction::ConstructSD()
new G4MultiFunctionalDetector(concreteSDname);
SDman->AddNewDetector( MFDet ); // Register SD to SDManager
G4String fltName,particleName;
G4SDParticleFilter* neutronFilter =
new G4SDParticleFilter(fltName="neutronFilter", particleName="neutron");
MFDet->SetFilter(neutronFilter);
for (std::vector<G4LogicalVolume *>::iterator it =
fLogicalVolumeVector.begin();
it != fLogicalVolumeVector.end(); it++){
@@ -305,12 +298,10 @@ void B02ImportanceDetectorConstruction::ConstructSD()
G4PSNofCollision* scorer0 = new G4PSNofCollision(psName="Collisions");
MFDet->RegisterPrimitive(scorer0);
G4PSNofCollision* scorer1 = new G4PSNofCollision(psName="CollWeight");
scorer1->Weighted(true);
MFDet->RegisterPrimitive(scorer1);
G4PSPopulation* scorer2 = new G4PSPopulation(psName="Population");
MFDet->RegisterPrimitive(scorer2);
@@ -346,7 +337,6 @@ void B02ImportanceDetectorConstruction::ConstructSD()
G4VIStore* B02ImportanceDetectorConstruction::CreateImportanceStore()
{
G4cout << " B02ImportanceDetectorConstruction:: Creating Importance Store "
<< G4endl;
if (!fPVolumeStore.Size())
@@ -417,7 +407,6 @@ CreateWeightWindowStore()
G4WeightWindowStore *wwstore = G4WeightWindowStore::GetInstance(GetName());
// create one energy region covering the energies of the problem
//
std::set<G4double, std::less<G4double> > enBounds;
@@ -457,7 +446,6 @@ CreateWeightWindowStore()
G4GeometryCell gCell = GetGeometryCell(19);
wwstore->AddLowerWeights(gCell, lowerWeights);
return wwstore;
}
@@ -27,7 +27,7 @@
/// \brief Implementation of the B02PVolumeStore class
//
//
// $Id: B02PVolumeStore.cc 77475 2013-11-25 09:38:51Z gcosmo $
// $Id: B02PVolumeStore.cc 98774 2016-08-09 14:28:06Z gcosmo $
// GEANT4 tag
//
// ----------------------------------------------------------------------
@@ -40,7 +40,6 @@
#include "B02PVolumeStore.hh"
#include <sstream>
#include "G4VPhysicalVolume.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -65,7 +64,6 @@ void B02PVolumeStore::AddPVolume(const G4GeometryCell &cell){
fSetGeometryCell.insert(cell);
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
+1 -4
View File
@@ -27,7 +27,7 @@
/// \brief Implementation of the B02Run class
//
//
// $Id: B02Run.cc 77475 2013-11-25 09:38:51Z gcosmo $
// $Id: B02Run.cc 98774 2016-08-09 14:28:06Z gcosmo $
//
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -159,7 +159,6 @@ void B02Run::RecordEvent(const G4Event* aEvent)
//======================================================
}
}
}
@@ -215,7 +214,6 @@ void B02Run::DumpAllScorer(){
}
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void B02Run::Merge(const G4Run* aRun)
@@ -235,4 +233,3 @@ void B02Run::Merge(const G4Run* aRun)
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -27,7 +27,7 @@
/// \brief Implementation of the B02RunAction class
//
//
// $Id: B02RunAction.cc 77475 2013-11-25 09:38:51Z gcosmo $
// $Id: B02RunAction.cc 98774 2016-08-09 14:28:06Z gcosmo $
//
#include "B02RunAction.hh"
#include "B02Run.hh"
@@ -131,7 +131,6 @@ void B02RunAction::EndOfRunAction(const G4Run* aRun)
G4THitsMap<G4double>* SLW_V = b02Run->GetHitsMap(fSDName[i]+"/SLW_V");
G4THitsMap<G4double>* SLWE_V = b02Run->GetHitsMap(fSDName[i]+"/SLWE_V");
if (IsMaster())
{
G4cout <<