Hold on to parameters for the Top_Fit class. More...
#include <Top_Fit.h>
Public Member Functions | |
const Constrained_Top_Args & | constrainer_args () const |
bool | do_higgs_flag () const |
Return the do_higgs_flag parameter. More... | |
double | jet_mass_cut () const |
Return the jet_mass_cut parameter. More... | |
double | mtdiff_max_cut () const |
Return the mwhad_max_cut parameter. More... | |
double | mwhad_max_cut () const |
Return the mwhad_min_cut parameter. More... | |
double | mwhad_min_cut () const |
Return the mwhad_min_cut parameter. More... | |
int | nkeep () const |
Return the nkeep parameter. More... | |
bool | print_event_flag () const |
Return the print_event_flag parameter. More... | |
bool | solve_nu_tmass () const |
Return the solve_nu_tmass parameter. More... | |
Top_Fit_Args (const Defaults &defs) | |
Constructor, initialize an instance of Top_Fit_Args from an instance of Defaults object. More... | |
Private Attributes | |
Constrained_Top_Args | _args |
bool | _do_higgs_flag |
double | _jet_mass_cut |
double | _mtdiff_max_cut |
double | _mwhad_max_cut |
double | _mwhad_min_cut |
int | _nkeep |
bool | _print_event_flag |
bool | _solve_nu_tmass |
hitfit::Top_Fit_Args::Top_Fit_Args | ( | const Defaults & | defs | ) |
Constructor, initialize an instance of Top_Fit_Args from an instance of Defaults object.
defs | The Defaults instance from which to initialize. The instance must contain the following parameters with types and names:
|
Definition at line 64 of file Top_Fit.cc.
const Constrained_Top_Args & hitfit::Top_Fit_Args::constrainer_args | ( | ) | const |
Definition at line 153 of file Top_Fit.cc.
References _args, funct::abs(), hitfit::all_list, writedatasetfile::args, hitfit::btag_list, ev, hitfit::hadb_label, hitfit::hadw1_label, hitfit::hadw2_label, hitfit::higgs_label, hitfit::htag_list, mps_fire::i, hitfit::isr_label, hitfit::Lepjets_Event::jet(), jet_mass_cut(), hitfit::lepb_label, hitfit::limited_isr_list, mtdiff_max_cut(), mwhad_max_cut(), mwhad_min_cut(), hitfit::n_lists, hitfit::Lepjets_Event::njets(), hitfit::noperm_list, MillePedeFileConverter_cfg::out, hitfit::semicorrect_list, hitfit::Lepjets_Event_Jet::slt_tag(), hitfit::Lepjets_Event::sum(), hitfit::Lepjets_Event_Jet::svx_tag(), OrderedSet::t, RandomServiceHelper::t1, RandomServiceHelper::t2, hitfit::topfour_list, and hitfit::Lepjets_Event_Lep::type().
bool hitfit::Top_Fit_Args::do_higgs_flag | ( | ) | const |
Return the do_higgs_flag parameter.
Definition at line 90 of file Top_Fit.cc.
References _do_higgs_flag.
Referenced by hitfit::Top_Fit::fit(), and hitfit::RunHitFit< AElectron, AMuon, AJet, AMet >::FitAllPermutation().
double hitfit::Top_Fit_Args::jet_mass_cut | ( | ) | const |
Return the jet_mass_cut parameter.
Definition at line 99 of file Top_Fit.cc.
References _jet_mass_cut.
Referenced by constrainer_args().
double hitfit::Top_Fit_Args::mtdiff_max_cut | ( | ) | const |
Return the mwhad_max_cut parameter.
Definition at line 126 of file Top_Fit.cc.
References _mtdiff_max_cut.
Referenced by constrainer_args().
double hitfit::Top_Fit_Args::mwhad_max_cut | ( | ) | const |
Return the mwhad_min_cut parameter.
Definition at line 117 of file Top_Fit.cc.
References _mwhad_max_cut.
Referenced by constrainer_args().
double hitfit::Top_Fit_Args::mwhad_min_cut | ( | ) | const |
Return the mwhad_min_cut parameter.
Definition at line 108 of file Top_Fit.cc.
References _mwhad_min_cut.
Referenced by constrainer_args().
int hitfit::Top_Fit_Args::nkeep | ( | ) | const |
Return the nkeep parameter.
Definition at line 135 of file Top_Fit.cc.
References _nkeep.
Referenced by hitfit::Top_Fit::fit().
bool hitfit::Top_Fit_Args::print_event_flag | ( | ) | const |
Return the print_event_flag parameter.
Definition at line 81 of file Top_Fit.cc.
References _print_event_flag.
Referenced by hitfit::Top_Fit::fit(), and hitfit::Top_Fit::fit_one_perm().
bool hitfit::Top_Fit_Args::solve_nu_tmass | ( | ) | const |
Return the solve_nu_tmass parameter.
Definition at line 144 of file Top_Fit.cc.
References _solve_nu_tmass.
Referenced by hitfit::Top_Fit::fit_one_perm().
|
private |
The internal state, parameter settings for the Constrained_Top instance within an instance of Top_Fit.
Definition at line 222 of file Top_Fit.h.
Referenced by Vispa.Main.Application.Application::_readCommandLineAttributes(), and constrainer_args().
|
private |
If TRUE, then fit a events. Otherwise fit event.
Definition at line 165 of file Top_Fit.h.
Referenced by do_higgs_flag().
|
private |
Reject event before fit if there is at least one jet which have mass larger than this value, in GeV.
Definition at line 171 of file Top_Fit.h.
Referenced by jet_mass_cut().
|
private |
Reject event before fit if the mass difference between leptonic top and hadronic top is larger than this value, in GeV.
Definition at line 189 of file Top_Fit.h.
Referenced by mtdiff_max_cut().
|
private |
Reject event before fit if the mass of the hadronic boson is larger than this value, in GeV.
Definition at line 183 of file Top_Fit.h.
Referenced by mwhad_max_cut().
|
private |
Reject event before fit if the mass of the hadronic boson is smaller than this value, in GeV.
Definition at line 177 of file Top_Fit.h.
Referenced by mwhad_min_cut().
|
private |
The number of Fit_Results from different jet permutations to keep. It is recommended that the number is set accordingly to the maximally allowed number of jets in the event. The number for possible permutations, , as a function of number of jets, , for event is given by:
The number for possible permutations, , as a function of number of jets, , for is given by:
Definition at line 207 of file Top_Fit.h.
Referenced by nkeep().
|
private |
If TRUE, then print the event after the fit. Otherwise don't print.
Definition at line 159 of file Top_Fit.h.
Referenced by print_event_flag().
|
private |
If TRUE, then solve the neutrino longitudinal component by requiring the leptonic top have the same mass as the hadronic top. If FALSE, then solve the neutrino longitudinal component by requiring the lepton and neutrino mass to equal to the mass of the boson .
Definition at line 216 of file Top_Fit.h.
Referenced by solve_nu_tmass().