Go to the documentation of this file. 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;
double PDFGauss_z(double z, double sigmaz, const std::vector< double > &parms) const
void SetData(const std::vector< BSTrkParameters > &a_BSvector)
double PDFGauss_d_resolution(double z, double d, double phi, double pt, const std::vector< double > &parms) const
static const int fPar_dxdz
static const int fPar_SigmaBeam
double PDFGauss_d(double z, double d, double sigmad, double phi, const std::vector< double > &parms) const
static const int fPar_dydz
static const int fPar_SigmaZ
void SetPDFs(std::string usepdfs)
double Up() const override
std::vector< BSTrkParameters > fBSvector
double operator()(const std::vector< double > &) const override