CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TtSemiLepSignalSel.h
Go to the documentation of this file.
1 #ifndef TtSemiLepSignalSel_h
2 #define TtSemiLepSignalSel_h
3 
4 #include <vector>
5 #include "TMath.h"
6 #include "Math/VectorUtil.h"
7 
10 
12  // common calculator class for likelihood
13  // variables in semi leptonic ttbar decays
14 public:
16  TtSemiLepSignalSel(const std::vector<pat::Jet>&, const math::XYZTLorentzVector&, const edm::View<pat::MET>&);
18 
19  double sumEt() const { return var_sumEt; }
20  double Et1() const { return var_Et1 / var_sumEt; }
21  double lepeta() const { return fabs(var_lepeta); }
22  double MET() const { return var_MET; }
23 
24  double dphiMETlepton() const { return var_dphiMETlepton; }
25 
26  double detajet2jet3() const { return var_detajet2jet3; }
27  double detajet3jet4() const { return var_detajet3jet4; }
28 
29  double mindijetmass() const { return var_mindijetmass / massalljets; }
30  double maxdijetmass() const { return var_maxdijetmass / massalljets; }
31 
32  double mindRjetlepton() const { return var_mindRjetlepton; }
33 
36 
37 private:
38  double var_sumEt;
39  double var_Et1;
40  double var_lepeta;
41  double var_MET;
42 
44 
47 
50 
52 
53  double massalljets;
54 };
55 
56 #endif
double mindRjetlepton() const
double dphiMETlepton() const
double lepeta() const
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
double detajet2jet3() const
double detajet3jet4() const
double mindijetmass() const
double maxdijetmass() const
double Et1() const
double DeltaR(const math::XYZTLorentzVector &, const math::XYZTLorentzVector &)
double sumEt() const
double DeltaPhi(const math::XYZTLorentzVector &, const math::XYZTLorentzVector &)
double MET() const