CMS 3D CMS Logo

Top_Decaykin.h
Go to the documentation of this file.
1 //
2 //
3 // File: hitfit/Top_Decaykin.h
4 // Purpose: Calculate some kinematic quantities for ttbar events.
5 // Created: Jul, 2000, sss, based on run 1 mass analysis code.
6 //
7 // CMSSW File : interface/Top_Decaykin.h
8 // Original Author : Scott Stuart Snyder <snyder@bnl.gov> for D0
9 // Imported to CMSSW by Haryo Sumowidagdo <Suharyo.Sumowidagdo@cern.ch>
10 //
11 
12 
35 #ifndef HITFIT_TOP_DECAYKIN_H
36 #define HITFIT_TOP_DECAYKIN_H
37 
38 #include "CLHEP/Vector/Boost.h"
39 
41 #include <iosfwd>
42 
43 
44 namespace hitfit {
45 
46 
47 class Lepjets_Event;
48 
49 
56 //
57 // Purpose: Calculate some kinematic quantities for ttbar events.
58 // This class has no state --- just static member functions.
59 //
60 {
61 public:
62  // Solve for the longitudinal z-momentum that makes the leptonic
63  // top have mass TMASS.
79  static bool solve_nu_tmass (const Lepjets_Event& ev, double tmass,
80  double& nuz1, double& nuz2);
81 
82  // Solve for the longitudinal z-momentum that makes the leptonic
83  // top have mass TMASS, with imaginary component returned.
109  static bool solve_nu_tmass (const Lepjets_Event& ev, double tmass,
110  double& re_nuz1, double& im_nuz1,
111  double& re_nuz2, double& im_nuz2);
112 
113  // Solve for the longitudinal z-momentum that makes the leptonic
114  // W have mass WMASS.
132  static bool solve_nu (const Lepjets_Event& ev, double wmass,
133  double& nuz1, double& nuz2);
134 
135  // Solve for the longitudinal z-momentum that makes the leptonic
136  // W have mass WMASS, with imaginary component returned.
162  static bool solve_nu (const Lepjets_Event& ev, double wmass,
163  double& re_nuz1, double& im_nuz1,
164  double& re_nuz2, double& im_nuz2);
165 
166  // Sum up the appropriate 4-vectors to find the hadronic W.
173  static Fourvec hadw (const Lepjets_Event& ev);
174 
175  // Find the higher pT jet from hadronic W
182  static Fourvec hadw1 (const Lepjets_Event& ev);
183 
184  // Find the lower pT jet from hadronic W
191  static Fourvec hadw2 (const Lepjets_Event& ev);
192 
193  // Sum up the appropriate 4-vectors to find the leptonic W.
200  static Fourvec lepw (const Lepjets_Event& ev);
201 
202  // Sum up the appropriate 4-vectors to find the hadronic t.
209  static Fourvec hadt (const Lepjets_Event& ev);
210 
211  // Sum up the appropriate 4-vectors to find the leptonic t.
218  static Fourvec lept (const Lepjets_Event& ev);
219 
220  // Print kinematic information for EV.
228  static std::ostream& dump_ev (std::ostream& s, const Lepjets_Event& ev);
229 
230  // Solve cos theta star
241  static double cos_theta_star(const Fourvec& fermion,
242  const Fourvec& W,
243  const Fourvec& top);
244 
245  // Solve cos theta star in lepton side of lepton+jets event
252  static double cos_theta_star(const Lepjets_Event& ev);
253 
254  // Solve cos theta star in lepton side of lepton+jets event
261  static double cos_theta_star_lept(const Lepjets_Event& ev);
262 
263  // Solve cos theta star in hadronic side of lepton+jets event
274  static double cos_theta_star_hadt(const Lepjets_Event& ev);
275 
276 
277 };
278 
279 
280 } // namespace hitfit
281 
282 
283 #endif // not HITFIT_TOP_DECAYKIN_H
284 
static bool solve_nu_tmass(const Lepjets_Event &ev, double tmass, double &nuz1, double &nuz2)
Solve for the neutrino longitudinal momentum that makes the leptonic top have a certain value of mas...
Definition: Top_Decaykin.cc:81
Define three-vector and four-vector classes for the HitFit package, and supply a few additional opera...
static Fourvec hadw2(const Lepjets_Event &ev)
Return the hadronic boson jet which have lower .
bool ev
A class to hold functions to calculate kinematic quantities of interest in events. This class has no state, only static member functions.
Definition: Top_Decaykin.h:55
static Fourvec hadw1(const Lepjets_Event &ev)
Return the hadronic boson jet which have higher .
static bool solve_nu(const Lepjets_Event &ev, double wmass, double &nuz1, double &nuz2)
Solve for the longitudinal momentum that makes the leptonic -boson to have a certain value of mass...
static double cos_theta_star_lept(const Lepjets_Event &ev)
Calculate the lepton in top quark leptonic decay.
Represent a simple event consisting of lepton(s) and jet(s). An instance of this class holds a list o...
Definition: Lepjets_Event.h:66
CLHEP::HepLorentzVector Fourvec
Typedef for a HepLorentzVector.
Definition: fourvec.h:57
static double cos_theta_star_hadt(const Lepjets_Event &ev)
Calculate the hadronic in top quark leptonic decay. As there is no information on the weak isospin c...
static Fourvec hadt(const Lepjets_Event &ev)
Sum up the appropriate four-momenta to find the hadronic top quark.
static double cos_theta_star(const Fourvec &fermion, const Fourvec &W, const Fourvec &top)
Calculate in top quark decay.
static Fourvec lept(const Lepjets_Event &ev)
Sum up the appropriate four-momenta to find the leptonic top quark.
static Fourvec lepw(const Lepjets_Event &ev)
Sum up the appropriate four-momenta to find the leptonic boson.
static Fourvec hadw(const Lepjets_Event &ev)
Sum up the appropriate four-momenta to find the hadronic boson.
static std::ostream & dump_ev(std::ostream &s, const Lepjets_Event &ev)
Print the kinematic information for an event.