Hold the result of one kinematic fit. More...
#include <Fit_Result.h>
Public Member Functions | |
double | chisq () const |
Return the of the fit. More... | |
const Lepjets_Event & | ev () const |
Return the event kinematics quantities after the fit. More... | |
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. More... | |
std::vector< int > | jet_types () |
Return the list of jet types for this event. More... | |
double | mt () const |
Return the top quark mass after the fit. More... | |
const Column_Vector & | pullx () const |
Return the pull quantities for the well-measured variables. More... | |
const Column_Vector & | pully () const |
Return the pull quantities for the poorly-measured variables. More... | |
double | sigmt () const |
Return the top quark mass uncertainty after the fit. More... | |
double | umwhad () const |
Return the hadronic boson mass before the fit. More... | |
double | utmass () const |
Return the top quark mass before the fit. More... | |
Public Member Functions inherited from hitfit::Refcount | |
void | decref () const |
Decrease the reference count. More... | |
bool | decref_will_delete () const |
Return true if calling decref() will delete the object. Otherwise return FALSE. More... | |
void | incref () const |
Increment the reference count. More... | |
Refcount () | |
Constructor, initialize the reference count to 0. More... | |
bool | unowned () const |
Return true if incref() has never been called or if the object is being deleted. Otherwise return FALSE. More... | |
virtual | ~Refcount () |
Destructor, it is an error to try to delete an object if the reference count is not 0. More... | |
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 . More... | |
std::ostream & | operator<< (std::ostream &s, const Fit_Result &res) |
Output stream operator, print the content of this Fit_Result to an output stream. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from hitfit::Refcount | |
void | nuke_refcount () |
Reset the reference count to zero. This should only be used in the context of a destructor of a derived class that wants to throw an exception. It may also be used to implement a "release" function. More... | |
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 |
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.
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().
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.
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.
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.
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.
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.
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.
|
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.
|
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.
|
private |
The of the fit.
Definition at line 144 of file Fit_Result.h.
Referenced by chisq(), hitfit::operator<(), and hitfit::operator<<().
|
private |
The event kinematics after the fit.
Definition at line 179 of file Fit_Result.h.
Referenced by ev(), jet_types(), and hitfit::operator<<().
|
private |
The top quark mass after the fit.
Definition at line 159 of file Fit_Result.h.
Referenced by mt(), and hitfit::operator<<().
|
private |
Pull quantities for the well-measured variables.
Definition at line 169 of file Fit_Result.h.
Referenced by hitfit::operator<<(), and pullx().
|
private |
Pull quantities for the poorly-measured variables.
Definition at line 174 of file Fit_Result.h.
Referenced by hitfit::operator<<(), and pully().
|
private |
The top quark mass uncertainty after the fit.
Definition at line 164 of file Fit_Result.h.
Referenced by hitfit::operator<<(), and sigmt().
|
private |
The hadronic boson mass before the fit.
Definition at line 149 of file Fit_Result.h.
Referenced by hitfit::operator<<(), and umwhad().
|
private |
The top quark mass before the fit.
Definition at line 154 of file Fit_Result.h.
Referenced by hitfit::operator<<(), and utmass().