Import Geant4 1.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:34:16 +02:00
parent ca1c8cb059
commit 103bda00c8
2654 changed files with 29719 additions and 20203 deletions
+5 -5
View File
@@ -1,9 +1,9 @@
**********************************************
Geant4 version $Name: geant4-01-00 $
Geant4 version $Name: geant4-01-01 $
(07-Dec-99)
Copyright : Geant4 Collaboration
**********************************************
PreInit> PreInit> /run/initialize
/run/initialize
Equal
Equal
Equal
@@ -62,7 +62,7 @@ MuBrems: theoretical cross section
MuPairProd: theoretical cross sections
Good description up to 1000 TeV.
PhysicsTables from 1 GeV to 1000 PeV in 50 bins.
Idle> /run/beamOn 1
/run/beamOn 1
/event/verbose 1
### Run 0 start.
=====================================
@@ -20784,5 +20784,5 @@ Track (trackID 1822, parentID 1) is processed with stopping code 2
0 urgent tracks and 0 waiting tracks.
NULL returned from G4StackManager.
Terminate current event processing.
number of event = 1 User=6.07s Real=7.02s Sys=0.61s
Idle>
number of event = 1 User=5.53s Real=6.35s Sys=0.7s
exit
@@ -9,10 +9,10 @@
#ifndef ExN06RunAction_h
#define ExN06RunAction_h 1
#include "G4Timer.hh"
#include "globals.hh"
#include "G4UserRunAction.hh"
class G4Timer;
class G4Run;
class ExN06RunAction : public G4UserRunAction
@@ -206,8 +206,8 @@ G4VPhysicalVolume* ExN06DetectorConstruction::Construct()
OpWaterSurface->SetFinish(polished);
OpWaterSurface->SetModel(glisur);
if( WaterSurface->GetVolume1() == waterTank_phys ) G4cout << " Equal " << endl;
if( WaterSurface->GetVolume2() == expHall_phys ) G4cout << " Equal " << endl;
if( WaterSurface->GetVolume1() == waterTank_phys ) G4cout << " Equal " << G4endl;
if( WaterSurface->GetVolume2() == expHall_phys ) G4cout << " Equal " << G4endl;
G4OpticalSurface * OpAirSurface =
new G4OpticalSurface("AirSurface");
@@ -221,16 +221,16 @@ G4VPhysicalVolume* ExN06DetectorConstruction::Construct()
OpAirSurface->SetFinish(ground);
OpAirSurface->SetModel(unified);
if( AirSurface->GetLogicalVolume() == bubbleAir_log ) G4cout << " Equal " << endl;
if( AirSurface->GetLogicalVolume() == bubbleAir_log ) G4cout << " Equal " << G4endl;
G4LogicalBorderSurface * Tmp1Surface = WaterSurface->
GetSurface(waterTank_phys,expHall_phys);
// if (Tmp1Surface == *WaterSurface) G4cout << " Equal " << endl;
// if (Tmp1Surface == *WaterSurface) G4cout << " Equal " << G4endl;
G4LogicalSkinSurface * Tmp2Surface = AirSurface->GetSurface(bubbleAir_log);
// if (Tmp2Surface == *AirSurface ) G4cout << " Equal " << endl;
// if (Tmp2Surface == *AirSurface ) G4cout << " Equal " << G4endl;
G4OpticalSurface * TmpOpSurface = Tmp2Surface->GetOpticalSurface();
TmpOpSurface->DumpInfo();
+2 -2
View File
@@ -7,7 +7,7 @@
//
#include "G4ios.hh"
#include <iomanip.h>
#include "g4std/iomanip"
#include "globals.hh"
#include "ExN06PhysicsList.hh"
@@ -211,7 +211,7 @@ void ExN06PhysicsList::ConstructOp()
pmanager->AddContinuousProcess(theCerenkovProcess);
}
if (particleName == "opticalphoton") {
G4cout << " AddDiscreteProcess to OpticalPhoton " << endl;
G4cout << " AddDiscreteProcess to OpticalPhoton " << G4endl;
pmanager->AddDiscreteProcess(theAbsorptionProcess);
pmanager->AddDiscreteProcess(theRayleighScatteringProcess);
pmanager->AddDiscreteProcess(theBoundaryProcess);
+5 -2
View File
@@ -6,6 +6,9 @@
// and all its terms.
//
// Make this appear first!
#include "G4Timer.hh"
#include "ExN06RunAction.hh"
#include "G4ios.hh"
@@ -28,7 +31,7 @@ void ExN06RunAction::BeginOfRunAction(const G4Run* aRun)
UI->ApplyCommand("/event/verbose 1");
//UI->ApplyCommand("/tracking/verbose 1");
G4cout << "### Run " << aRun->GetRunID() << " start." << endl;
G4cout << "### Run " << aRun->GetRunID() << " start." << G4endl;
timer->Start();
}
@@ -36,5 +39,5 @@ void ExN06RunAction::EndOfRunAction(const G4Run* aRun)
{
timer->Stop();
G4cout << "number of event = " << aRun->GetNumberOfEvent()
<< " " << *timer << endl;
<< " " << *timer << G4endl;
}