15#if !defined(PACKAGE_LPAV_H_INCLUDED)
16#define PACKAGE_LPAV_H_INCLUDED
22#include "CLHEP/Matrix/SymMatrix.h"
47 double fit(
double x,
double y,
double w=1);
53 double nc()
const {
return m_nc; }
54 HepSymMatrix
cov(
int=0)
const;
55 HepSymMatrix
cov_c(
int=0)
const;
59 double chisq()
const {
return m_chisq; }
85 bool operator==(
const Lpav& )
const;
86 bool operator!=(
const Lpav& )
const;
89 void add(
double x,
double y,
double w=1,
double a=0,
double b=0);
90 void sub(
double x,
double y,
double w=1,
double a=0,
double b=0);
91 void calculate_average_n(
double xxav,
double yyav,
double xyav,
92 double xrrav,
double yrrav,
double rrrrav);
94 double nc(
double nc) { m_nc =
nc;
return m_nc; }
95 double solve_lambda(
void);
96 double solve_lambda3(
void);
138 m_xxsum = lp.m_xxsum;
139 m_yysum = lp.m_yysum;
140 m_xysum = lp.m_xysum;
141 m_xrrsum = lp.m_xrrsum;
142 m_yrrsum = lp.m_yrrsum;
143 m_rrrrsum = lp.m_rrrrsum;
145 m_wsum_temp = lp. m_wsum_temp;
148 m_xyavp = lp.m_xyavp;
150 m_rscale = lp. m_rscale;
151 m_xxavp = lp.m_xxavp;
152 m_yyavp = lp.m_yyavp;
153 m_xrravp = lp.m_xrravp;
154 m_yrravp = lp.m_yrravp;
155 m_rrrravp = lp.m_rrrravp;
156 m_sinrot = lp.m_sinrot;
157 m_cosrot = lp.m_cosrot;
160 m_chisq = lp.m_chisq;
168 m_xxsum = lp.m_xxsum;
169 m_yysum = lp.m_yysum;
170 m_xysum = lp.m_xysum;
171 m_xrrsum = lp.m_xrrsum;
172 m_yrrsum = lp.m_yrrsum;
173 m_rrrrsum = lp.m_rrrrsum;
175 m_wsum_temp = lp. m_wsum_temp;
178 m_xyavp = lp.m_xyavp;
180 m_rscale = lp. m_rscale;
181 m_xxavp = lp.m_xxavp;
182 m_yyavp = lp.m_yyavp;
183 m_xrravp = lp.m_xrravp;
184 m_yrravp = lp.m_yrravp;
185 m_rrrravp = lp.m_rrrravp;
186 m_sinrot = lp.m_sinrot;
187 m_cosrot = lp.m_cosrot;
190 m_chisq = lp.m_chisq;
195 m_wsum = m_xsum = m_ysum = m_xxsum = m_yysum = m_xysum
196 = m_xrrsum = m_yrrsum = m_rrrrsum = m_rscale = m_nc = 0;
const Lpar & operator=(const Lpar &)
double calculate_lpar3(void)
void add_point(double x, double y, double w=1)
friend Lpav operator+(const Lpav &, const Lpav &)
double fit(double x, double y, double w=1)
HepSymMatrix cov_c(int=0) const
void calculate_average3(void)
void calculate_average(void)
double calculate_lpar(void)
friend std::ostream & operator<<(std::ostream &o, const Lpav &s)
void add_point_frac(double x, double y, double w, double f)
void calculate_average3(double x, double y, double w=1)
double delta_chisq(double x, double y, double w=1) const
int extrapolate(double, double &, double &) const
const Lpav & operator=(const Lpav &)
const Lpav & operator+=(const Lpav &)
const Lpav & operator=(const Lpar &)
double similarity(double, double) const
HepSymMatrix cov(int=0) const
void calculate_average(double x, double y, double w=1)
TFile f("ana_bhabha660a_dqa_mcPat_zy_old.root")