1 #ifndef _CachedXShowerRegeneratorAG_LogXGaussSmearing_h_
2 #define _CachedXShowerRegeneratorAG_LogXGaussSmearing_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>
14 namespace CachedXShowerRegeneratorAG {
30 GetSmearedTime(
const double planeFrontTime,
const double particleTime)
33 if (particleTime > planeFrontTime) {
35 return planeFrontTime * (1 - fact) + particleTime * fact;
LogXGaussSmearing(const double width, utl::RandomEngine::RandomEngineType *const engine)
utl::RandomEngine::RandomEngineType *const fRandomEngine
CLHEP::HepRandomEngine RandomEngineType