CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
34 #ifndef HITFIT_TOP_DECAYKIN_H
35 #define HITFIT_TOP_DECAYKIN_H
36 
37 #include "CLHEP/Vector/Boost.h"
38 
40 #include <iosfwd>
41 
42 namespace hitfit {
43 
44  class Lepjets_Event;
45 
52  //
53  // Purpose: Calculate some kinematic quantities for ttbar events.
54  // This class has no state --- just static member functions.
55  //
56  {
57  public:
58  // Solve for the longitudinal z-momentum that makes the leptonic
59  // top have mass TMASS.
75  static bool solve_nu_tmass(const Lepjets_Event& ev, double tmass, double& nuz1, double& nuz2);
76 
77  // Solve for the longitudinal z-momentum that makes the leptonic
78  // top have mass TMASS, with imaginary component returned.
104  static bool solve_nu_tmass(
105  const Lepjets_Event& ev, double tmass, double& re_nuz1, double& im_nuz1, double& re_nuz2, double& im_nuz2);
106 
107  // Solve for the longitudinal z-momentum that makes the leptonic
108  // W have mass WMASS.
126  static bool solve_nu(const Lepjets_Event& ev, double wmass, double& nuz1, double& nuz2);
127 
128  // Solve for the longitudinal z-momentum that makes the leptonic
129  // W have mass WMASS, with imaginary component returned.
155  static bool solve_nu(
156  const Lepjets_Event& ev, double wmass, double& re_nuz1, double& im_nuz1, double& re_nuz2, double& im_nuz2);
157 
158  // Sum up the appropriate 4-vectors to find the hadronic W.
165  static Fourvec hadw(const Lepjets_Event& ev);
166 
167  // Find the higher pT jet from hadronic W
174  static Fourvec hadw1(const Lepjets_Event& ev);
175 
176  // Find the lower pT jet from hadronic W
183  static Fourvec hadw2(const Lepjets_Event& ev);
184 
185  // Sum up the appropriate 4-vectors to find the leptonic W.
192  static Fourvec lepw(const Lepjets_Event& ev);
193 
194  // Sum up the appropriate 4-vectors to find the hadronic t.
201  static Fourvec hadt(const Lepjets_Event& ev);
202 
203  // Sum up the appropriate 4-vectors to find the leptonic t.
210  static Fourvec lept(const Lepjets_Event& ev);
211 
212  // Print kinematic information for EV.
220  static std::ostream& dump_ev(std::ostream& s, const Lepjets_Event& ev);
221 
222  // Solve cos theta star
233  static double cos_theta_star(const Fourvec& fermion, const Fourvec& W, const Fourvec& top);
234 
235  // Solve cos theta star in lepton side of lepton+jets event
242  static double cos_theta_star(const Lepjets_Event& ev);
243 
244  // Solve cos theta star in lepton side of lepton+jets event
251  static double cos_theta_star_lept(const Lepjets_Event& ev);
252 
253  // Solve cos theta star in hadronic side of lepton+jets event
264  static double cos_theta_star_hadt(const Lepjets_Event& ev);
265  };
266 
267 } // namespace hitfit
268 
269 #endif // not HITFIT_TOP_DECAYKIN_H
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:72
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:51
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:62
CLHEP::HepLorentzVector Fourvec
Typedef for a HepLorentzVector.
Definition: fourvec.h:55
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.