Handle and fit jet permutations of an event. This is the primary interface between user's Lepjets_Event and HitFit kinematic fitting algorithm.
More...
#include <Top_Fit.h>
|
const Top_Fit_Args & | args () const |
| Return a constant reference to the fit arguments. More...
|
|
Fit_Results | fit (const Lepjets_Event &ev) |
| Fit all jets permutations in ev. This function returns a Fit_Results object, which is not easy to extract information from. Users are recommended to use the class RunHitFit as interface to fit all permutations of all event. More...
|
|
double | fit_one_perm (Lepjets_Event &ev, bool &nuz, double &umwhad, double &utmass, double &mt, double &sigmt, Column_Vector &pullx, Column_Vector &pully) |
| Fit for a single jet permutation. More...
|
|
| Top_Fit (const Top_Fit_Args &args, double lepw_mass, double hadw_mass, double top_mass) |
| Constructor. More...
|
|
|
std::ostream & | operator<< (std::ostream &s, const Top_Fit &fitter) |
| Output stream operator, print the content of this Top_Fit object to an output stream. More...
|
|
Handle and fit jet permutations of an event. This is the primary interface between user's Lepjets_Event and HitFit kinematic fitting algorithm.
Definition at line 243 of file Top_Fit.h.
hitfit::Top_Fit::Top_Fit |
( |
const Top_Fit_Args & |
args, |
|
|
double |
lepw_mass, |
|
|
double |
hadw_mass, |
|
|
double |
top_mass |
|
) |
| |
Constructor.
- Parameters
-
args | The parameter settings. |
lepw_mass | The mass to which the leptonic boson should be constrained to. A value of zero means this constraint will be removed. |
hadw_mass | The mass to which the hadronic boson should be constrained to. A value of zero means this constraint will be removed. |
top_mass | The mass to which the top quark should be constrained to. A value of zero means this constraint will be removed. |
Definition at line 367 of file Top_Fit.cc.
Return a constant reference to the fit arguments.
Definition at line 608 of file Top_Fit.cc.
Fit all jets permutations in ev. This function returns a Fit_Results object, which is not easy to extract information from. Users are recommended to use the class RunHitFit as interface to fit all permutations of all event.
- Parameters
-
ev | Input: The event to fit, Output: the event after the fit. |
Definition at line 498 of file Top_Fit.cc.
Fit for a single jet permutation.
- Parameters
-
ev | Input: The event to fit, Output: the event after the fit. |
nuz | Input: A flag to indicate which neutrino solution to be used.
FALSE means use solution with smaller absolute value.
TRUE means use solution with larger absolute value. |
umwhad | The mass of hadronic boson before the fit. |
utmass | The mass of the top quarks before fitting, averaged from the values of leptonic and hadronic top quark mass. |
mt | The mass of the top quark after fitting. |
sigmt | The uncertainty of the mass of the top quark after fitting. |
pullx | Pull quantities for well-measured variables. |
pully | Pull quantities for poorly-measured variables. |
Definition at line 392 of file Top_Fit.cc.
std::ostream& operator<< |
( |
std::ostream & |
s, |
|
|
const Top_Fit & |
fitter |
|
) |
| |
|
friend |
Output stream operator, print the content of this Top_Fit object to an output stream.
- Parameters
-
s | The output stream to which to write. |
fitter | The instance of Top_Fit to be printed. |
Definition at line 592 of file Top_Fit.cc.
double hitfit::Top_Fit::_hadw_mass |
|
private |
double hitfit::Top_Fit::_lepw_mass |
|
private |