CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TtFullHadSignalSel.h
Go to the documentation of this file.
1 #ifndef TtFullHadSignalSel_h
2 #define TtFullHadSignalSel_h
3 
4 #include <vector>
5 #include "TMath.h"
6 #include "Math/VectorUtil.h"
7 
9 
11 
13  // common calculator class for likelihood
14  // variables in fully hadronic ttbar decays
15 public:
16 
18  TtFullHadSignalSel(const std::vector<pat::Jet>&);
20 
21  double H() const { return H_; }
22  double Ht() const { return Ht_; }
23  double Ht123() const { return Ht123_; }
24  double Ht3jet() const { return Ht3jet_; }
25  double sqrt_s() const { return sqrt_s_; }
26  double Et56() const { return Et56_; }
27  double M3() const { return M3_; }
28 
29  double TCHP_Bjets() const { return TCHP_Bjets_; }
30  double SSV_Bjets() const { return SSV_Bjets_; }
31  double CSV_Bjets() const { return CSV_Bjets_; }
32  double SM_Bjets() const { return SM_Bjets_; }
33 
34  double TCHP_Bjet1() const { return TCHP_Bjet1_; }
35  double TCHP_Bjet2() const { return TCHP_Bjet2_; }
36  double TCHP_Bjet3() const { return TCHP_Bjet3_; }
37  double TCHP_Bjet4() const { return TCHP_Bjet4_; }
38  double TCHP_Bjet5() const { return TCHP_Bjet5_; }
39  double TCHP_Bjet6() const { return TCHP_Bjet6_; }
40  double SSV_Bjet1() const { return SSV_Bjet1_; }
41  double SSV_Bjet2() const { return SSV_Bjet2_; }
42  double SSV_Bjet3() const { return SSV_Bjet3_; }
43  double SSV_Bjet4() const { return SSV_Bjet4_; }
44  double SSV_Bjet5() const { return SSV_Bjet5_; }
45  double SSV_Bjet6() const { return SSV_Bjet6_; }
46  double CSV_Bjet1() const { return CSV_Bjet1_; }
47  double CSV_Bjet2() const { return CSV_Bjet2_; }
48  double CSV_Bjet3() const { return CSV_Bjet3_; }
49  double CSV_Bjet4() const { return CSV_Bjet4_; }
50  double CSV_Bjet5() const { return CSV_Bjet5_; }
51  double CSV_Bjet6() const { return CSV_Bjet6_; }
52  double SM_Bjet1() const { return SM_Bjet1_; }
53  double SM_Bjet2() const { return SM_Bjet2_; }
54  double SM_Bjet3() const { return SM_Bjet3_; }
55  double SM_Bjet4() const { return SM_Bjet4_; }
56  double SM_Bjet5() const { return SM_Bjet5_; }
57  double SM_Bjet6() const { return SM_Bjet6_; }
58 
59  double pt1() const { return pt1_; }
60  double pt2() const { return pt2_; }
61  double pt3() const { return pt3_; }
62  double pt4() const { return pt4_; }
63  double pt5() const { return pt5_; }
64  double pt6() const { return pt6_; }
65 
66  double pt1_pt2() const { return (pt1_ - pt2_); }
67  double pt1_pt3() const { return (pt1_ - pt3_); }
68  double pt1_pt4() const { return (pt1_ - pt4_); }
69  double pt1_pt5() const { return (pt1_ - pt5_); }
70  double pt1_pt6() const { return (pt1_ - pt6_); }
71  double pt2_pt3() const { return (pt2_ - pt3_); }
72  double pt2_pt4() const { return (pt2_ - pt4_); }
73  double pt2_pt5() const { return (pt2_ - pt5_); }
74  double pt2_pt6() const { return (pt2_ - pt6_); }
75  double pt3_pt4() const { return (pt3_ - pt4_); }
76  double pt3_pt5() const { return (pt3_ - pt5_); }
77  double pt3_pt6() const { return (pt3_ - pt6_); }
78  double pt4_pt5() const { return (pt4_ - pt5_); }
79  double pt4_pt6() const { return (pt4_ - pt6_); }
80  double pt5_pt6() const { return (pt5_ - pt6_); }
81 
82  double pt1_pt2_norm() const { return ((pt1_ - pt2_)/(pt1_ + pt2_)); }
83  double pt1_pt3_norm() const { return ((pt1_ - pt3_)/(pt1_ + pt3_)); }
84  double pt1_pt4_norm() const { return ((pt1_ - pt4_)/(pt1_ + pt4_)); }
85  double pt1_pt5_norm() const { return ((pt1_ - pt5_)/(pt1_ + pt5_)); }
86  double pt1_pt6_norm() const { return ((pt1_ - pt6_)/(pt1_ + pt6_)); }
87  double pt2_pt3_norm() const { return ((pt2_ - pt3_)/(pt2_ + pt3_)); }
88  double pt2_pt4_norm() const { return ((pt2_ - pt4_)/(pt2_ + pt4_)); }
89  double pt2_pt5_norm() const { return ((pt2_ - pt5_)/(pt2_ + pt5_)); }
90  double pt2_pt6_norm() const { return ((pt2_ - pt6_)/(pt2_ + pt6_)); }
91  double pt3_pt4_norm() const { return ((pt3_ - pt4_)/(pt3_ + pt4_)); }
92  double pt3_pt5_norm() const { return ((pt3_ - pt5_)/(pt3_ + pt5_)); }
93  double pt3_pt6_norm() const { return ((pt3_ - pt6_)/(pt3_ + pt6_)); }
94  double pt4_pt5_norm() const { return ((pt4_ - pt5_)/(pt4_ + pt5_)); }
95  double pt4_pt6_norm() const { return ((pt4_ - pt6_)/(pt4_ + pt6_)); }
96  double pt5_pt6_norm() const { return ((pt5_ - pt6_)/(pt5_ + pt6_)); }
97 
98  double jet1_etaetaMoment() const { return jet1_etaetaMoment_; }
99  double jet2_etaetaMoment() const { return jet2_etaetaMoment_; }
100  double jet3_etaetaMoment() const { return jet3_etaetaMoment_; }
101  double jet4_etaetaMoment() const { return jet4_etaetaMoment_; }
102  double jet5_etaetaMoment() const { return jet5_etaetaMoment_; }
103  double jet6_etaetaMoment() const { return jet6_etaetaMoment_; }
104  double jet1_etaphiMoment() const { return jet1_etaphiMoment_; }
105  double jet2_etaphiMoment() const { return jet2_etaphiMoment_; }
106  double jet3_etaphiMoment() const { return jet3_etaphiMoment_; }
107  double jet4_etaphiMoment() const { return jet4_etaphiMoment_; }
108  double jet5_etaphiMoment() const { return jet5_etaphiMoment_; }
109  double jet6_etaphiMoment() const { return jet6_etaphiMoment_; }
110  double jet1_phiphiMoment() const { return jet1_phiphiMoment_; }
111  double jet2_phiphiMoment() const { return jet2_phiphiMoment_; }
112  double jet3_phiphiMoment() const { return jet3_phiphiMoment_; }
113  double jet4_phiphiMoment() const { return jet4_phiphiMoment_; }
114  double jet5_phiphiMoment() const { return jet5_phiphiMoment_; }
115  double jet6_phiphiMoment() const { return jet6_phiphiMoment_; }
116 
120 
121  double aplanarity() const { return aplanarity_; }
122  double sphericity() const { return sphericity_; }
123  double circularity() const { return circularity_; }
124  double isotropy() const { return isotropy_; }
125  double C() const { return C_; }
126  double D() const { return D_; }
127  double centrality() const { return (Ht_/H_); }
128 
129  double dRMin1() const { return dRMin1_; }
130  double dRMin2() const { return dRMin2_; }
131  double sumDR3JetMin1() const { return sumDR3JetMin1_; }
132  double sumDR3JetMin2() const { return sumDR3JetMin2_; }
133 
134  double dRMin1Mass() const { return dRMin1Mass_; }
135  double dRMin2Mass() const { return dRMin2Mass_; }
136  double sumDR3JetMin1Mass() const { return sumDR3JetMin1Mass_; }
137  double sumDR3JetMin2Mass() const { return sumDR3JetMin2Mass_; }
138 
139 private:
140 
141  double H_;
142  double Ht_;
143  double Ht123_;
144  double Ht3jet_;
145  double sqrt_s_;
146  double Et56_;
147  double M3_;
148 
149  double TCHP_Bjets_;
150  double SSV_Bjets_;
151  double CSV_Bjets_;
152  double SM_Bjets_;
153 
154  double TCHP_Bjet1_;
155  double TCHP_Bjet2_;
156  double TCHP_Bjet3_;
157  double TCHP_Bjet4_;
158  double TCHP_Bjet5_;
159  double TCHP_Bjet6_;
160  double SSV_Bjet1_;
161  double SSV_Bjet2_;
162  double SSV_Bjet3_;
163  double SSV_Bjet4_;
164  double SSV_Bjet5_;
165  double SSV_Bjet6_;
166  double CSV_Bjet1_;
167  double CSV_Bjet2_;
168  double CSV_Bjet3_;
169  double CSV_Bjet4_;
170  double CSV_Bjet5_;
171  double CSV_Bjet6_;
172  double SM_Bjet1_;
173  double SM_Bjet2_;
174  double SM_Bjet3_;
175  double SM_Bjet4_;
176  double SM_Bjet5_;
177  double SM_Bjet6_;
178 
179  double pt1_;
180  double pt2_;
181  double pt3_;
182  double pt4_;
183  double pt5_;
184  double pt6_;
185 
204 
205  double aplanarity_;
206  double sphericity_;
207  double circularity_;
208  double isotropy_;
209  double C_;
210  double D_;
211 
212  double dRMin1_;
213  double dRMin2_;
216 
217  double dRMin1Mass_;
218  double dRMin2Mass_;
221 };
222 
223 #endif
double pt2_pt5_norm() const
double TCHP_Bjets() const
double SSV_Bjet4() const
double jet1_etaetaMoment() const
double pt2_pt5() const
double pt2() const
double pt3_pt6_norm() const
double SM_Bjet6() const
double pt1_pt2() const
double TCHP_Bjet6() const
double jet6_etaetaMoment() const
double jet3_etaphiMoment() const
double SSV_Bjet1() const
double TCHP_Bjet3() const
double TCHP_Bjet4() const
double pt1_pt5_norm() const
double dRMin1Mass() const
double CSV_Bjet4() const
double pt2_pt3_norm() const
double pt3_pt5_norm() const
double circularity() const
double pt3_pt6() const
double isotropy() const
double sumDR3JetMin2Mass() const
double pt1_pt2_norm() const
double pt2_pt6() const
double pt3_pt5() const
double pt1_pt3_norm() const
double centrality() const
double pt4_pt5() const
double SM_Bjet1() const
double pt3_pt4_norm() const
double sumDR3JetMin1() const
double sumDR3JetMin1Mass() const
double jet2_etaphiMoment() const
double jet1_etaphiMoment() const
double SSV_Bjet2() const
double jet6_phiphiMoment() const
double pt2_pt6_norm() const
double aplanarity() const
double jet2_etaetaMoment() const
double jet2_phiphiMoment() const
double pt3() const
double SM_Bjets() const
double pt1_pt6_norm() const
double jets_etaetaMoment() const
double Et56() const
double SM_Bjet5() const
double pt1_pt6() const
double SSV_Bjet3() const
double SM_Bjet2() const
double pt1_pt5() const
double jet5_phiphiMoment() const
double pt2_pt4_norm() const
double TCHP_Bjet1() const
double jets_etaphiMoment() const
double pt5_pt6() const
double Ht() const
double pt4_pt5_norm() const
double sqrt_s() const
double pt2_pt4() const
double sphericity() const
double jet5_etaphiMoment() const
double pt4_pt6() const
double CSV_Bjet2() const
double pt3_pt4() const
double SSV_Bjets() const
double pt1_pt4_norm() const
double M3() const
double TCHP_Bjet2() const
double pt1_pt3() const
double jet3_phiphiMoment() const
double jet3_etaetaMoment() const
double pt5_pt6_norm() const
double dRMin2Mass() const
double pt1() const
double SM_Bjet3() const
double jet4_etaphiMoment() const
double jet4_phiphiMoment() const
double Ht3jet() const
double jet4_etaetaMoment() const
double SM_Bjet4() const
double dRMin2() const
double sumDR3JetMin2() const
double TCHP_Bjet5() const
double CSV_Bjet5() const
double CSV_Bjet6() const
double Ht123() const
double jet6_etaphiMoment() const
double pt2_pt3() const
double CSV_Bjet1() const
double jets_phiphiMoment() const
double dRMin1() const
double SSV_Bjet5() const
double pt1_pt4() const
double pt5() const
double jet1_phiphiMoment() const
double CSV_Bjet3() const
double SSV_Bjet6() const
double CSV_Bjets() const
double pt4_pt6_norm() const
double pt6() const
double jet5_etaetaMoment() const
double pt4() const