Import Geant4 11.0.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2021-06-25 16:12:29 +02:00
parent c968e26a39
commit 6399a014b6
4200 changed files with 207479 additions and 237366 deletions
@@ -353,10 +353,10 @@ void WLSMaterials::CreateMaterials()
G4MaterialPropertiesTable* mptPolystyrene = new G4MaterialPropertiesTable();
mptPolystyrene->AddProperty("RINDEX", energySmall, refractiveIndexPS);
mptPolystyrene->AddProperty("ABSLENGTH", energySmall, absPS);
mptPolystyrene->AddProperty("FASTCOMPONENT", energy, scintilFast);
mptPolystyrene->AddProperty("SCINTILLATIONCOMPONENT1", energy, scintilFast);
mptPolystyrene->AddConstProperty("SCINTILLATIONYIELD", 10. / keV);
mptPolystyrene->AddConstProperty("RESOLUTIONSCALE", 1.0);
mptPolystyrene->AddConstProperty("FASTTIMECONSTANT", 10. * ns);
mptPolystyrene->AddConstProperty("SCINTILLATIONTIMECONSTANT1", 10. * ns);
fPolystyrene->SetMaterialPropertiesTable(mptPolystyrene);
@@ -103,7 +103,7 @@ void WLSPrimaryGeneratorAction::BuildEmissionSpectrum()
for(G4int i = 0; i < numOfMaterials; ++i)
{
G4PhysicsOrderedFreeVector* vec = new G4PhysicsOrderedFreeVector();
G4PhysicsFreeVector* vec = new G4PhysicsFreeVector();
G4MaterialPropertiesTable* MPT =
(*theMaterialTable)[i]->GetMaterialPropertiesTable();
@@ -168,8 +168,8 @@ void WLSPrimaryGeneratorAction::GeneratePrimaries(G4Event* anEvent)
if(WLSIntensity)
{
G4PhysicsOrderedFreeVector* WLSIntegral =
(G4PhysicsOrderedFreeVector*) ((*fIntegralTable)(
G4PhysicsFreeVector* WLSIntegral =
(G4PhysicsFreeVector*) ((*fIntegralTable)(
fMaterial->GetIndex()));
G4double CIImax = WLSIntegral->GetMaxValue();