CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Top_Decaykin.h
Go to the documentation of this file.
1 //
2 // $Id: Top_Decaykin.h,v 1.1 2011/05/26 09:46:53 mseidel Exp $
3 //
4 // File: hitfit/Top_Decaykin.h
5 // Purpose: Calculate some kinematic quantities for ttbar events.
6 // Created: Jul, 2000, sss, based on run 1 mass analysis code.
7 //
8 // CMSSW File : interface/Top_Decaykin.h
9 // Original Author : Scott Stuart Snyder <snyder@bnl.gov> for D0
10 // Imported to CMSSW by Haryo Sumowidagdo <Suharyo.Sumowidagdo@cern.ch>
11 //
12 
13 
36 #ifndef HITFIT_TOP_DECAYKIN_H
37 #define HITFIT_TOP_DECAYKIN_H
38 
39 #include "CLHEP/Vector/Boost.h"
40 
42 #include <iosfwd>
43 
44 
45 namespace hitfit {
46 
47 
48 class Lepjets_Event;
49 
50 
57 //
58 // Purpose: Calculate some kinematic quantities for ttbar events.
59 // This class has no state --- just static member functions.
60 //
61 {
62 public:
63  // Solve for the longitudinal z-momentum that makes the leptonic
64  // top have mass TMASS.
80  static bool solve_nu_tmass (const Lepjets_Event& ev, double tmass,
81  double& nuz1, double& nuz2);
82 
83  // Solve for the longitudinal z-momentum that makes the leptonic
84  // top have mass TMASS, with imaginary component returned.
110  static bool solve_nu_tmass (const Lepjets_Event& ev, double tmass,
111  double& re_nuz1, double& im_nuz1,
112  double& re_nuz2, double& im_nuz2);
113 
114  // Solve for the longitudinal z-momentum that makes the leptonic
115  // W have mass WMASS.
133  static bool solve_nu (const Lepjets_Event& ev, double wmass,
134  double& nuz1, double& nuz2);
135 
136  // Solve for the longitudinal z-momentum that makes the leptonic
137  // W have mass WMASS, with imaginary component returned.
163  static bool solve_nu (const Lepjets_Event& ev, double wmass,
164  double& re_nuz1, double& im_nuz1,
165  double& re_nuz2, double& im_nuz2);
166 
167  // Sum up the appropriate 4-vectors to find the hadronic W.
174  static Fourvec hadw (const Lepjets_Event& ev);
175 
176  // Find the higher pT jet from hadronic W
183  static Fourvec hadw1 (const Lepjets_Event& ev);
184 
185  // Find the lower pT jet from hadronic W
192  static Fourvec hadw2 (const Lepjets_Event& ev);
193 
194  // Sum up the appropriate 4-vectors to find the leptonic W.
201  static Fourvec lepw (const Lepjets_Event& ev);
202 
203  // Sum up the appropriate 4-vectors to find the hadronic t.
210  static Fourvec hadt (const Lepjets_Event& ev);
211 
212  // Sum up the appropriate 4-vectors to find the leptonic t.
219  static Fourvec lept (const Lepjets_Event& ev);
220 
221  // Print kinematic information for EV.
229  static std::ostream& dump_ev (std::ostream& s, const Lepjets_Event& ev);
230 
231  // Solve cos theta star
242  static double cos_theta_star(const Fourvec fermion,
243  const Fourvec W,
244  const Fourvec top);
245 
246  // Solve cos theta star in lepton side of lepton+jets event
253  static double cos_theta_star(const Lepjets_Event& ev);
254 
255  // Solve cos theta star in lepton side of lepton+jets event
262  static double cos_theta_star_lept(const Lepjets_Event& ev);
263 
264  // Solve cos theta star in hadronic side of lepton+jets event
275  static double cos_theta_star_hadt(const Lepjets_Event& ev);
276 
277 
278 };
279 
280 
281 } // namespace hitfit
282 
283 
284 #endif // not HITFIT_TOP_DECAYKIN_H
285 
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:82
static double cos_theta_star(const Fourvec fermion, const Fourvec W, const Fourvec top)
Calculate in top quark decay.
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 .
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:56
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:67
CLHEP::HepLorentzVector Fourvec
Typedef for a HepLorentzVector.
Definition: fourvec.h:58
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 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.