1 #ifndef _CachedShowerRegeneratorOG_LogGaussSmearing_h_
2 #define _CachedShowerRegeneratorOG_LogGaussSmearing_h_
4 #include <CLHEP/Random/RandGauss.h>
7 #include <utl/Vector.h>
8 #include <utl/CoordinateSystemPtr.h>
9 #include <utl/TimeStamp.h>
10 #include <utl/TimeInterval.h>
11 #include <utl/RandomEngine.h>
38 GetSmearedTime(
const double planeFrontTime,
const double particleTime)
41 if (particleTime > planeFrontTime) {
44 return planeFrontTime * (1 - fact) + particleTime * fact;
utl::RandomEngine::RandomEngineType *const fRandomEngine
Regenerate thinned MC showers.
CLHEP::HepRandomEngine RandomEngineType
LogGaussSmearing(const double width, utl::RandomEngine::RandomEngineType *const engine)