21 double phi,
const std::vector<double>& parms)
const {
35 double result = (
exp(-(dprime*dprime)/(2.0*sig*sig)))/(sig*fsqrt2pi);
59 double result = (
exp(-(dprime*dprime)/(2.0*sig*sig)))/(sig*fsqrt2pi);
76 double result = (
exp(-((z-parms[
fPar_Z0])*(z-parms[fPar_Z0]))/(2.0*sig*sig)))/(sig*fsqrt2pi);
93 std::vector<BSTrkParameters>::const_iterator iparam =
fBSvector.begin();
101 pdf =
PDFGauss_z( iparam->z0(), iparam->sigz0(),params);
103 else if (
fusepdfs ==
"PDFGauss_d") {
105 iparam->sigd0(), iparam->phi0(),params);
107 else if (
fusepdfs ==
"PDFGauss_d_resolution") {
109 iparam->phi0(), iparam->pt(),params);
111 else if (
fusepdfs ==
"PDFGauss_d*PDFGauss_z") {
114 iparam->sigd0(), iparam->phi0(),params)*
115 PDFGauss_z( iparam->z0(), iparam->sigz0(),params);
117 else if (
fusepdfs ==
"PDFGauss_d_resolution*PDFGauss_z") {
119 iparam->phi0(), iparam->pt(),params)*
120 PDFGauss_z( iparam->z0(), iparam->sigz0(),params);
std::vector< BSTrkParameters > fBSvector
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
double PDFGauss_z(double z, double sigmaz, const std::vector< double > &parms) const
static const int fPar_SigmaZ
static const int fPar_SigmaBeam
virtual double operator()(const std::vector< double > &) const
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