32 double result = (
exp(-(dprime * dprime) / (2.0 * sig * sig))) / (sig * fsqrt2pi);
39 double z,
double d,
double phi,
double pt,
const std::vector<double>& parms)
const {
54 double result = (
exp(-(dprime * dprime) / (2.0 * sig * sig))) / (sig * fsqrt2pi);
69 double result = (
exp(-((z - parms[
fPar_Z0]) * (z - parms[fPar_Z0])) / (2.0 * sig * sig))) / (sig * fsqrt2pi);
81 std::vector<BSTrkParameters>::const_iterator iparam =
fBSvector.begin();
88 }
else if (
fusepdfs ==
"PDFGauss_d") {
89 pdf =
PDFGauss_d(iparam->z0(), iparam->d0(), iparam->sigd0(), iparam->phi0(),
params);
90 }
else if (
fusepdfs ==
"PDFGauss_d_resolution") {
92 }
else if (
fusepdfs ==
"PDFGauss_d*PDFGauss_z") {
94 pdf =
PDFGauss_d(iparam->z0(), iparam->d0(), iparam->sigd0(), iparam->phi0(),
params) *
96 }
else if (
fusepdfs ==
"PDFGauss_d_resolution*PDFGauss_z") {
static const int fPar_dydz
static const int fPar_dxdz
static std::vector< std::string > checklist log
Sin< T >::type sin(const T &t)
double PDFGauss_d(double z, double d, double sigmad, double phi, const std::vector< double > &parms) const
Exp< T >::type exp(const T &t)
double PDFGauss_z(double z, double sigmaz, const std::vector< double > &parms) const
static const int fPar_SigmaZ
static const int fPar_SigmaBeam
Cos< T >::type cos(const T &t)
double PDFGauss_d_resolution(double z, double d, double phi, double pt, const std::vector< double > &parms) const
double operator()(const std::vector< double > &) const override
std::vector< BSTrkParameters > fBSvector