51 ParAveT2(0.), ParSigLogT1(0.), ParSigLogT2(0.),
52 ParSigLogA1(0.), ParSigLogA2(0.), ParRho1(0.), ParRho2(0.), ParsAveA2(0.),
53 AveLogAlphah(0.), AveLogTmaxh(0.), SigmaLogAlphah(0.), SigmaLogTmaxh(0.),
54 Rhoh(0.), Alphah(0.), Tmaxh(0.), Betah(0.), AveLogAlpha(0.), AveLogTmax(0.),
55 SigmaLogAlpha(0.), SigmaLogTmax(0.), Rho(0.),
Alpha(0.), Tmax(0.), Beta(0.)
147 G4cout <<
"/********************************************/ " <<
G4endl;
148 G4cout <<
" - GFlashSamplingShowerParameterisation::Constructor - " <<
G4endl;
149 G4cout <<
"/********************************************/ " <<
G4endl;
187 G4cout <<
"/************ ComputeZAX0EFFetc ************/" <<
G4endl;
188 G4cout <<
" - GFlashSamplingShowerParameterisation::Material - " <<
G4endl;
204 ehat = ( 1. / ( 1 + 0.007*(
Z1-
Z2) ) );
224 G4cout <<
"/********************************************/ " <<
G4endl;
234 G4Exception(
"GFlashSamplingShowerParameterisation::GenerateLongitudinalProfile()",
265 G4cout <<
" std::log(std::exp(AveLogTmaxh) + ParsAveT1/Fs + ParsAveT2*(1-ehat)) = "
302 (Correlation1h*Random1 + Correlation2h*Random2) );
304 (Correlation1h*Random1 - Correlation2h*Random2) );
333 if(Resolution >0.0 && DEne > 0.00)
339 return DEneFluctuated;
350 float x3 =
gam(x1,x2);
420 WeightCore = p1 * std::exp( (p2-Tau)/p3- std::exp( (p2-Tau) /p3) );
428 + std::exp(k4*(Tau-k2)) );
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
static constexpr double cm3
static constexpr double cm2
static constexpr double g
static constexpr double GeV
static constexpr double MeV
static constexpr double cm
G4GLOB_DLL std::ostream G4cout
G4double GetDensity() const
G4double GetRadlen() const
G4double GenerateRadius(G4int ispot, G4double Energy, G4double LongitudinalPosition)
~GFlashSamplingShowerParameterisation()
GFlashSamplingShowerParameterisation(G4Material *aMat1, G4Material *aMat2, G4double d1, G4double d2, GFlashSamplingShowerTuning *aPar=0)
G4double ApplySampling(const G4double DEne, const G4double Energy)
GFlashSamplingShowerTuning * thePar
G4double SamplingResolution
G4double IntegrateNspLongitudinal(G4double LongitudinalStep)
void GenerateEnergyProfile(G4double y)
G4double IntegrateEneLongitudinal(G4double LongitudinalStep)
void GenerateNSpotProfile(G4double y)
G4double GenerateExponential(G4double Energy)
G4double ComputeTau(G4double LongitudinalPosition)
G4double ConstantResolution
void SetMaterial(G4Material *mat1, G4Material *mat2)
void ComputeLongitudinalParameters(G4double y)
void GenerateLongitudinalProfile(G4double Energy)
void ComputeRadialParameters(G4double y, G4double Tau)
G4double ConstantResolution()
G4double NoiseResolution()
G4double SamplingResolution()
virtual G4double ParRT1()
virtual G4double ParRT4()
virtual G4double ParAveA1()
virtual G4double ParSigLogA2()
virtual G4double ParRC2()
virtual G4double ParWC1()
virtual G4double ParRC4()
virtual G4double ParAveT1()
virtual G4double ParSpotN2()
virtual G4double ParWC4()
virtual G4double ParRho2()
virtual G4double ParWC6()
virtual G4double ParWC3()
virtual G4double ParSpotA1()
virtual G4double ParSpotA2()
virtual G4double ParSpotT2()
virtual G4double ParRT2()
virtual G4double ParRT6()
virtual G4double ParRC3()
virtual G4double ParAveA3()
virtual G4double ParSpotT1()
virtual G4double ParWC2()
virtual G4double ParSigLogA1()
virtual G4double ParRT5()
virtual G4double ParAveA2()
virtual G4double ParSpotN1()
virtual G4double ParWC5()
virtual G4double ParRC1()
virtual G4double ParRho1()
virtual G4double ParRT3()
G4double GetEffZ(const G4Material *material)
G4double GetEffA(const G4Material *material)
G4double gam(G4double x, G4double a) const
ThreeVector shoot(const G4int Ap, const G4int Af)
T max(const T t1, const T t2)
brief Return the largest of the two arguments
T min(const T t1, const T t2)
brief Return the smallest of the two arguments