1 #ifndef BeamSpotProducer_BSpdfsFcn_h
2 #define BeamSpotProducer_BSpdfsFcn_h
15 #include "Minuit2/FCNBase.h"
26 void SetData(
const std::vector < BSTrkParameters > &a_BSvector){
36 virtual double operator() (
const std::vector<double>&)
const;
37 virtual double Up()
const {
return 1.;}
42 double phi,
const std::vector<double>& parms)
const;
44 double phi,
double pt,
const std::vector<double>& parms)
const;
46 double PDFGauss_z(
double z,
double sigmaz,
const std::vector<double>& parms)
const;
std::vector< BSTrkParameters > fBSvector
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
virtual double operator()(const std::vector< double > &) const
virtual double Up() const
double PDFGauss_d_resolution(double z, double d, double phi, double pt, const std::vector< double > &parms) const
void SetData(const std::vector< BSTrkParameters > &a_BSvector)