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
double PDFGauss_d_resolution(double z, double d, double phi, double pt, const std::vector< double > &parms) const
static const int fPar_dxdz
double PDFGauss_d(double z, double d, double sigmad, double phi, const std::vector< double > &parms) const
void SetPDFs(std::string usepdfs)
static const int fPar_SigmaZ
static const int fPar_SigmaBeam
double PDFGauss_z(double z, double sigmaz, 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)