List of all members | Public Member Functions | Public Attributes | Private Attributes
CachedShowerRegeneratorASCII::LogGaussSmearing Class Reference

#include <LogGaussSmearing.h>

Public Member Functions

 LogGaussSmearing (const double width, utl::RandomEngine::RandomEngineType *const engine)
 

Public Attributes

double const
 

Private Attributes

utl::RandomEngine::RandomEngineType
*const 
fRandomEngine
 
const double fWidth
 

Detailed Description

Implementation of log-normal time smearing for shower resampling

Author
Darko Veberic
Date
11 Sep 2008

Definition at line 24 of file Deprecated/UpgradeASCIITests/CachedShowerRegeneratorASCII/LogGaussSmearing.h.

Constructor & Destructor Documentation

CachedShowerRegeneratorASCII::LogGaussSmearing::LogGaussSmearing ( const double  width,
utl::RandomEngine::RandomEngineType *const  engine 
)
inline

Member Data Documentation

double CachedShowerRegeneratorASCII::LogGaussSmearing::const
Initial value:
{
if (particleTime > planeFrontTime) {
const double fact = exp(fWidth * CLHEP::RandGauss::shoot(fRandomEngine));
return planeFrontTime * (1 - fact) + particleTime * fact;
}
return particleTime

Definition at line 32 of file Deprecated/UpgradeASCIITests/CachedShowerRegeneratorASCII/LogGaussSmearing.h.

utl::RandomEngine::RandomEngineType* const CachedShowerRegeneratorASCII::LogGaussSmearing::fRandomEngine
private
const double CachedShowerRegeneratorASCII::LogGaussSmearing::fWidth
private

The documentation for this class was generated from the following file:

, generated on Tue Sep 26 2023.