Do a constrained kinematic fitting for a event. More...
#include <Constrained_Z.h>
Public Member Functions | |
double | constrain (Lepjets_Event &ev, Column_Vector &pull) |
Do a constrained fit of event. Returns the pull quantities in pull. Returns the , this will be negative if the fit failed to converge. More... | |
Constrained_Z (const Constrained_Z_Args &args) | |
Constructor, create an instance of the Constrained_Z object from the argument object. More... | |
Private Attributes | |
const Constrained_Z_Args & | _args |
Fourvec_Constrainer | _constrainer |
Friends | |
std::ostream & | operator<< (std::ostream &s, const Constrained_Z &cz) |
Output stream operator, print the content of this Constrained_Z to an output stream. More... | |
Do a constrained kinematic fitting for a event.
Definition at line 102 of file Constrained_Z.h.
hitfit::Constrained_Z::Constrained_Z | ( | const Constrained_Z_Args & | args | ) |
Constructor, create an instance of the Constrained_Z object from the argument object.
args | Argument for this instance of Constrained_Z object. |
Definition at line 78 of file Constrained_Z.cc.
References _args, _constrainer, hitfit::Fourvec_Event::add(), hitfit::Fourvec_Constrainer::add_constraint(), hitfit::Lepjets_Event_Lep::eta_sigma(), ev, hitfit::Resolution::inverse(), hitfit::isr_label, dqmiolumiharvest::j, hitfit::Lepjets_Event::jet(), dqmdumpme::k, hitfit::Lepjets_Event::kt(), hitfit::Lepjets_Event::kt_res(), hitfit::Lepjets_Event::lep(), hitfit::lepton_label, EgHLTOffHistBins_cfi::mass, hitfit::Lepjets_Event::met(), hitfit::Lepjets_Event::njets(), hitfit::Lepjets_Event::nleps(), getGTfromDQMFile::obj, hitfit::Fourvec_Event::obj(), hitfit::Lepjets_Event_Lep::p(), hitfit::FE_Obj::p, hitfit::Vector_Resolution::p_res(), hitfit::Lepjets_Event_Lep::p_sigma(), hitfit::Lepjets_Event_Lep::phi_sigma(), hitfit::Lepjets_Event_Lep::res(), hitfit::Fourvec_Event::set_kt_error(), hitfit::Fourvec_Event::set_x_p(), hitfit::Resolution::sigma(), and hitfit::Constrained_Z_Args::zmass().
double hitfit::Constrained_Z::constrain | ( | Lepjets_Event & | ev, |
Column_Vector & | pull | ||
) |
Do a constrained fit of event. Returns the pull quantities in pull. Returns the , this will be negative if the fit failed to converge.
ev | The event to be fitted (input), and the event after fitting (output). |
pull | Pull quantities for the well-measured variables. |
Definition at line 201 of file Constrained_Z.cc.
References _constrainer, hitfit::Fourvec_Constrainer::constrain(), and visualization-live-secondInstance_cfg::m.
|
friend |
Output stream operator, print the content of this Constrained_Z to an output stream.
s | The output stream to which to wrire. |
cz | The instance of Constrained_Z to be printed. |
Definition at line 236 of file Constrained_Z.cc.
|
private |
Parameter settings for the constrainer.
Definition at line 147 of file Constrained_Z.h.
Referenced by Vispa.Main.Application.Application::_readCommandLineAttributes(), and Constrained_Z().
|
private |
The guy that actually does the work.
Definition at line 153 of file Constrained_Z.h.
Referenced by constrain(), Constrained_Z(), and hitfit::operator<<().