CMS 3D CMS Logo

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
TtSemiLepSignalSel::Et1
double Et1() const
Definition: TtSemiLepSignalSel.h:20
TtSemiLepSignalSel::var_maxdijetmass
double var_maxdijetmass
Definition: TtSemiLepSignalSel.h:49
TtSemiLepSignalSel::var_lepeta
double var_lepeta
Definition: TtSemiLepSignalSel.h:40
TtSemiLepSignalSel::massalljets
double massalljets
Definition: TtSemiLepSignalSel.h:53
TtSemiLepSignalSel::MET
double MET() const
Definition: TtSemiLepSignalSel.h:22
TtSemiLepSignalSel::TtSemiLepSignalSel
TtSemiLepSignalSel()
Definition: TtSemiLepSignalSel.cc:4
TtSemiLepSignalSel::detajet2jet3
double detajet2jet3() const
Definition: TtSemiLepSignalSel.h:26
TtSemiLepSignalSel::detajet3jet4
double detajet3jet4() const
Definition: TtSemiLepSignalSel.h:27
TtSemiLepSignalSel::var_Et1
double var_Et1
Definition: TtSemiLepSignalSel.h:39
TtSemiLepSignalSel::var_MET
double var_MET
Definition: TtSemiLepSignalSel.h:41
TtSemiLepSignalSel::lepeta
double lepeta() const
Definition: TtSemiLepSignalSel.h:21
TtSemiLepSignalSel::var_detajet3jet4
double var_detajet3jet4
Definition: TtSemiLepSignalSel.h:46
TtSemiLepSignalSel::~TtSemiLepSignalSel
~TtSemiLepSignalSel()
Definition: TtSemiLepSignalSel.cc:88
TtSemiLepSignalSel::maxdijetmass
double maxdijetmass() const
Definition: TtSemiLepSignalSel.h:30
edm::View
Definition: CaloClusterFwd.h:14
TtSemiLepSignalSel::var_mindijetmass
double var_mindijetmass
Definition: TtSemiLepSignalSel.h:48
TtSemiLepSignalSel::mindRjetlepton
double mindRjetlepton() const
Definition: TtSemiLepSignalSel.h:32
MET.h
Jet.h
TtSemiLepSignalSel::var_dphiMETlepton
double var_dphiMETlepton
Definition: TtSemiLepSignalSel.h:43
math::XYZTLorentzVector
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
TtSemiLepSignalSel::dphiMETlepton
double dphiMETlepton() const
Definition: TtSemiLepSignalSel.h:24
TtSemiLepSignalSel::sumEt
double sumEt() const
Definition: TtSemiLepSignalSel.h:19
TtSemiLepSignalSel::mindijetmass
double mindijetmass() const
Definition: TtSemiLepSignalSel.h:29
TtSemiLepSignalSel::DeltaR
double DeltaR(const math::XYZTLorentzVector &, const math::XYZTLorentzVector &)
Definition: TtSemiLepSignalSel.cc:82
TtSemiLepSignalSel::var_detajet2jet3
double var_detajet2jet3
Definition: TtSemiLepSignalSel.h:45
TtSemiLepSignalSel::var_sumEt
double var_sumEt
Definition: TtSemiLepSignalSel.h:38
TtSemiLepSignalSel
Definition: TtSemiLepSignalSel.h:11
TtSemiLepSignalSel::DeltaPhi
double DeltaPhi(const math::XYZTLorentzVector &, const math::XYZTLorentzVector &)
Definition: TtSemiLepSignalSel.cc:75
TtSemiLepSignalSel::var_mindRjetlepton
double var_mindRjetlepton
Definition: TtSemiLepSignalSel.h:51