Hold the result of one kinematic fit. More...
#include <Fit_Result.h>
Public Member Functions | |
double | chisq () const |
Return the of the fit. | |
const Lepjets_Event & | ev () const |
Return the event kinematics quantities after the fit. | |
Fit_Result (double chisq, const Lepjets_Event &ev, const Column_Vector &pullx, const Column_Vector &pully, double umwhad, double utmass, double mt, double sigmt) | |
Constructor, provide the results of the fit. | |
std::vector< int > | jet_types () |
Return the list of jet types for this event. | |
double | mt () const |
Return the top quark mass after the fit. | |
const Column_Vector & | pullx () const |
Return the pull quantities for the well-measured variables. | |
const Column_Vector & | pully () const |
Return the pull quantities for the poorly-measured variables. | |
double | sigmt () const |
Return the top quark mass uncertainty after the fit. | |
double | umwhad () const |
Return the hadronic boson mass before the fit. | |
double | utmass () const |
Return the top quark mass before the fit. | |
Private Attributes | |
double | _chisq |
Lepjets_Event | _ev |
double | _mt |
Column_Vector | _pullx |
Column_Vector | _pully |
double | _sigmt |
double | _umwhad |
double | _utmass |
Friends | |
bool | operator< (const Fit_Result &a, const Fit_Result &b) |
Sort fit results based on their . | |
std::ostream & | operator<< (std::ostream &s, const Fit_Result &res) |
Output stream operator, print the content of this Fit_Result to an output stream. |
Hold the result of one kinematic fit.
Definition at line 54 of file Fit_Result.h.
hitfit::Fit_Result::Fit_Result | ( | double | chisq, |
const Lepjets_Event & | ev, | ||
const Column_Vector & | pullx, | ||
const Column_Vector & | pully, | ||
double | umwhad, | ||
double | utmass, | ||
double | mt, | ||
double | sigmt | ||
) |
Constructor, provide the results of the fit.
chisq | The of the fit. |
ev | The event kinematics after the fit. |
pullx | Pull quantities for the well-measured variables. |
pully | Pull quantities for the poorly-measured variables. |
umwhad | The hadronic boson mass before the fit. |
utmass | The top quark mass before the fit, the average of leptonic and hadronic top mass. |
mt | The top quark mass after the fit. |
sigmt | The top quark mass uncertainty after the fit. |
Definition at line 47 of file Fit_Result.cc.
double hitfit::Fit_Result::chisq | ( | ) | const |
Return the of the fit.
Definition at line 80 of file Fit_Result.cc.
References _chisq.
{ return _chisq; }
const Lepjets_Event & hitfit::Fit_Result::ev | ( | ) | const |
Return the event kinematics quantities after the fit.
Definition at line 172 of file Fit_Result.cc.
References _ev.
{ return _ev; }
std::vector< int > hitfit::Fit_Result::jet_types | ( | ) |
Return the list of jet types for this event.
Definition at line 164 of file Fit_Result.cc.
References _ev, and hitfit::Lepjets_Event::jet_types().
{ return _ev.jet_types(); }
double hitfit::Fit_Result::mt | ( | ) | const |
Return the top quark mass after the fit.
Definition at line 116 of file Fit_Result.cc.
References _mt.
{ return _mt; }
const Column_Vector & hitfit::Fit_Result::pullx | ( | ) | const |
Return the pull quantities for the well-measured variables.
Definition at line 140 of file Fit_Result.cc.
References _pullx.
{ return _pullx; }
const Column_Vector & hitfit::Fit_Result::pully | ( | ) | const |
Return the pull quantities for the poorly-measured variables.
Definition at line 152 of file Fit_Result.cc.
References _pully.
{ return _pully; }
double hitfit::Fit_Result::sigmt | ( | ) | const |
Return the top quark mass uncertainty after the fit.
Definition at line 128 of file Fit_Result.cc.
References _sigmt.
{ return _sigmt; }
double hitfit::Fit_Result::umwhad | ( | ) | const |
Return the hadronic boson mass before the fit.
Definition at line 92 of file Fit_Result.cc.
References _umwhad.
{ return _umwhad; }
double hitfit::Fit_Result::utmass | ( | ) | const |
Return the top quark mass before the fit.
Definition at line 104 of file Fit_Result.cc.
References _utmass.
{ return _utmass; }
bool operator< | ( | const Fit_Result & | a, |
const Fit_Result & | b | ||
) | [friend] |
Sort fit results based on their .
a | The first instance of Fit_Result to compare. |
b | The second instance of Fit_Result to compare. |
Definition at line 196 of file Fit_Result.cc.
std::ostream& operator<< | ( | std::ostream & | s, |
const Fit_Result & | res | ||
) | [friend] |
Output stream operator, print the content of this Fit_Result to an output stream.
s | The output stream to which to write. |
res | The instance of Fit_Result to be printed. |
Definition at line 222 of file Fit_Result.cc.
double hitfit::Fit_Result::_chisq [private] |
The of the fit.
Definition at line 144 of file Fit_Result.h.
Referenced by chisq(), hitfit::operator<(), and hitfit::operator<<().
Lepjets_Event hitfit::Fit_Result::_ev [private] |
The event kinematics after the fit.
Definition at line 179 of file Fit_Result.h.
Referenced by ev(), jet_types(), and hitfit::operator<<().
double hitfit::Fit_Result::_mt [private] |
The top quark mass after the fit.
Definition at line 159 of file Fit_Result.h.
Referenced by mt(), and hitfit::operator<<().
Column_Vector hitfit::Fit_Result::_pullx [private] |
Pull quantities for the well-measured variables.
Definition at line 169 of file Fit_Result.h.
Referenced by hitfit::operator<<(), and pullx().
Column_Vector hitfit::Fit_Result::_pully [private] |
Pull quantities for the poorly-measured variables.
Definition at line 174 of file Fit_Result.h.
Referenced by hitfit::operator<<(), and pully().
double hitfit::Fit_Result::_sigmt [private] |
The top quark mass uncertainty after the fit.
Definition at line 164 of file Fit_Result.h.
Referenced by hitfit::operator<<(), and sigmt().
double hitfit::Fit_Result::_umwhad [private] |
The hadronic boson mass before the fit.
Definition at line 149 of file Fit_Result.h.
Referenced by hitfit::operator<<(), and umwhad().
double hitfit::Fit_Result::_utmass [private] |
The top quark mass before the fit.
Definition at line 154 of file Fit_Result.h.
Referenced by hitfit::operator<<(), and utmass().