#include <LogGaussSmearing.h>
Implementation of log-normal time smearing for shower resampling
- Author
- Darko Veberic
- Date
- 11 Sep 2008
Definition at line 25 of file CachedShowerRegeneratorOG/LogGaussSmearing.h.
double CachedShowerRegeneratorOG::LogGaussSmearing::const |
Initial value:{
if (particleTime > planeFrontTime) {
return planeFrontTime * (1 - fact) + particleTime * fact;
}
return particleTime
The new difference between the particle time and the plane-front time gets multiplied by a factor lying between 0 and infinity but mostly around 1 (with certain width). The new particle thus never overtakes the plane front but gets smeared around its original time with the plane-front time as a hard limit and log-normal tail towards later times.
Definition at line 40 of file CachedShowerRegeneratorOG/LogGaussSmearing.h.
const double CachedShowerRegeneratorOG::LogGaussSmearing::fWidth |
|
private |
The documentation for this class was generated from the following file: