6 #include "CLHEP/Random/RandFlat.h"
7 #include "CLHEP/Random/RandGauss.h"
12 : m_rngWrapper(rngWrapper) {
27 double abspt = std::abs(1.0 / curv);
28 if (CLHEP::RandFlat::shoot(engine) >
effFunc(abspt))
return false;
33 if (std::abs(eta) > 2.41)
return false;
38 double sigma = curv * 0.05;
40 double gencurv = CLHEP::RandGauss::shoot(engine, curv,
sigma);