1 #ifndef BeamSpotProducer_BSpdfsFcn_h
2 #define BeamSpotProducer_BSpdfsFcn_h
16 #include "Minuit2/FCNBase.h"
27 void SetData(std::vector < BSTrkParameters > a_BSvector){
37 virtual double operator() (
const std::vector<double>&)
const;
38 virtual double Up()
const {
return 1.;}
42 double PDFGauss_d(
double z,
double d,
double sigmad,
43 double phi,
const std::vector<double>& parms)
const;
45 double phi,
double pt,
const std::vector<double>& parms)
const;
47 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(std::vector< BSTrkParameters > a_BSvector)