Import Geant4 9.6.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 17:01:34 +02:00
parent b1eb5424d2
commit e2d2f9810a
10384 changed files with 698580 additions and 628834 deletions
@@ -23,9 +23,10 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
/// \file field/field04/src/F04OpticalPhysics.cc
/// \brief Implementation of the F04OpticalPhysics class
//
//
#include "globals.hh"
#include "G4Scintillation.hh"
@@ -39,10 +40,16 @@
#include "F04OpticalPhysics.hh"
F04OpticalPhysics::F04OpticalPhysics()
: G4VPhysicsConstructor("Optical") { }
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
F04OpticalPhysics::~F04OpticalPhysics() { }
F04OpticalPhysics::F04OpticalPhysics()
: G4VPhysicsConstructor("Optical") {}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
F04OpticalPhysics::~F04OpticalPhysics() {}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "G4ParticleDefinition.hh"
#include "G4ParticleTable.hh"
@@ -54,6 +61,8 @@ void F04OpticalPhysics::ConstructParticle()
G4OpticalPhoton::OpticalPhotonDefinition();
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "G4ProcessManager.hh"
void F04OpticalPhysics::ConstructProcess()
@@ -70,7 +79,7 @@ void F04OpticalPhysics::ConstructProcess()
G4OpBoundaryProcess* theBoundaryProcess = new G4OpBoundaryProcess();
G4OpWLS* theWLSProcess=new G4OpWLS();
G4ProcessManager* pManager =
G4ProcessManager* pManager =
G4OpticalPhoton::OpticalPhoton()->GetProcessManager();
if (!pManager) {
@@ -80,14 +89,10 @@ void F04OpticalPhysics::ConstructProcess()
FatalException,o.str().c_str());
}
pManager->AddDiscreteProcess(theAbsorptionProcess);
pManager->AddDiscreteProcess(theRayleighScattering);
pManager->AddDiscreteProcess(theMieHGScatteringProcess);
theBoundaryProcess->SetModel(unified);
// theBoundaryProcess->SetModel(glisur);
pManager->AddDiscreteProcess(theBoundaryProcess);
theWLSProcess->UseTimeProfile("delta");