1 #ifndef BeamSpotProducer_BSpdfsFcn_h
2 #define BeamSpotProducer_BSpdfsFcn_h
15 #include "Minuit2/FCNBase.h"
25 void SetData(
const std::vector<BSTrkParameters>& a_BSvector) {
fBSvector = a_BSvector; };
29 double operator()(
const std::vector<double>&)
const override;
30 double Up()
const override {
return 1.; }
33 double PDFGauss_d(
double z,
double d,
double sigmad,
double phi,
const std::vector<double>& parms)
const;
36 double PDFGauss_z(
double z,
double sigmaz,
const std::vector<double>& parms)
const;
static const int fPar_dydz
static const int fPar_dxdz
void SetPDFs(std::string usepdfs)
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
double PDFGauss_d_resolution(double z, double d, double phi, double pt, const std::vector< double > &parms) const
double Up() const override
double operator()(const std::vector< double > &) const override
std::vector< BSTrkParameters > fBSvector
void SetData(const std::vector< BSTrkParameters > &a_BSvector)