Import Geant4 10.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-10 14:11:04 +02:00
parent c9b32a6c0a
commit d4af681f38
4886 changed files with 420149 additions and 1023309 deletions
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: GFlashSamplingShowerParameterisation.cc 69579 2013-05-08 13:53:57Z gcosmo $
// $Id: GFlashSamplingShowerParameterisation.cc 93079 2015-10-02 14:43:41Z gcosmo $
//
//
// ------------------------------------------------------------
@@ -180,11 +180,11 @@ void GFlashSamplingShowerParameterisation::ComputeZAX0EFFetc()
// material and geometry parameters for a sampling calorimeter
G4double denominator = (d1*density1 + d2*density2);
G4double W1 = (d1*density1) / denominator;
G4double W2 = (d2*density2)/denominator;
Zeff = ( W1*Z2 ) + (W2*Z1); //X0*Es/Ec;
Aeff = ( W1*A1 ) + (W2*A2);
X0eff =(1/ (( W1 / X01) +( W2 / X02)));
G4double W1 = (d1*density1) / denominator;
G4double W2 = (d2*density2) / denominator;
Zeff = ( W1*Z1 ) + ( W2*Z2 ); //X0*Es/Ec;
Aeff = ( W1*A1 ) + ( W2*A2 );
X0eff = ( 1./ ( ( W1 / X01) +( W2 / X02) ) );
Rhoeff = ( (d1 *density1 ) + (d2 * density2 ))/G4double (d2 + d1 );
Rmeff = 1/ ((((W1*Ec1)/ X01) + ((W2* Ec2)/ X02) ) / Es ) ;
Eceff = X0eff *((W1*Ec1)/ X01 + (W2* Ec2)/ X02 );