test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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:
15 
17  TtSemiLepSignalSel(const std::vector<pat::Jet>&, const math::XYZTLorentzVector&, const edm::View<pat::MET>&);
19 
20  double sumEt() const { return var_sumEt; }
21  double Et1() const { return var_Et1/var_sumEt; }
22  double lepeta() const { return fabs(var_lepeta); }
23  double MET() const { return var_MET; }
24 
25  double dphiMETlepton() const { return var_dphiMETlepton; }
26 
27  double detajet2jet3() const { return var_detajet2jet3; }
28  double detajet3jet4() const { return var_detajet3jet4; }
29 
30  double mindijetmass() const { return var_mindijetmass/massalljets; }
31  double maxdijetmass() const { return var_maxdijetmass/massalljets; }
32 
33  double mindRjetlepton() const { return var_mindRjetlepton; }
34 
35 
38 
39 private:
40 
41  double var_sumEt;
42  double var_Et1;
43  double var_lepeta;
44  double var_MET;
45 
47 
50 
53 
55 
56 
57  double massalljets;
58 };
59 
60 #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