Global.hh
Go to the documentation of this file.
1 
4 #pragma once
5 
6 #include "boca/units/Prefixes.hh"
7 #include "boca/branch/Bdt.hh"
9 
14 namespace tthh {
15 
16 namespace branch {
17 
18 class Global : public boca::branch::Bdt
19 {
20 
21 public:
22 
23  Global();
24 
25  float jet_number;
27  float missing_et;
28  float scalar_ht;
29  float jet_1_pt;
30  float jet_2_pt;
31  float jet_3_pt;
32  float jet_4_pt;
33  float photon_1_pt;
34  float photon_2_pt;
36 
37  template<typename Multiplet>
38  void Fill(Multiplet const &multiplet)
39  {
40  boca::branch::Bdt::Fill(multiplet);
41  jet_number = multiplet.JetNumber();
42  bottom_number = multiplet.BottomNumber();
43  missing_et = multiplet.MissingEt() / boca::GeV;
44  scalar_ht = multiplet.ScalarHt() / boca::GeV;
45  jet_1_pt = multiplet.JetPt(0) / boca::GeV;
46  jet_2_pt = multiplet.JetPt(1) / boca::GeV;
47  jet_3_pt = multiplet.JetPt(2) / boca::GeV;
48  jet_4_pt = multiplet.JetPt(3) / boca::GeV;
49  photon_1_pt = multiplet.PhotonPt(0) / boca::GeV;
50  photon_2_pt = multiplet.PhotonPt(1) / boca::GeV;
51  photon12_mass = multiplet.PhotonPM() / boca::GeV;
52  }
53 
54  boca::Observables Variables() override;
55 
56  boca::Observables Spectators() override;
57 
58 private:
59  ClassDef(Global, 1)
60 };
61 
62 }
63 
64 }
float photon_2_pt
Definition: Global.hh:34
float photon_1_pt
Definition: Global.hh:33
float bottom_number
Definition: Global.hh:26
Global()
Definition: Global.cpp:12
float photon12_mass
Definition: Global.hh:35
float scalar_ht
Definition: Global.hh:28
float jet_1_pt
Definition: Global.hh:29
Definition: Global.hh:18
void Fill(Multiplet_ const &multiplet)
Definition: Bdt.hh:28
float jet_number
Definition: Global.hh:25
boca::Observables Spectators() override
Definition: Global.cpp:32
Higgs coupling.
Definition: Global.cpp:8
boca::Observables Variables() override
Definition: Global.cpp:27
Multiplet base class
Definition: Multiplet.hh:21
void Fill(Multiplet const &multiplet)
Definition: Global.hh:38
float jet_3_pt
Definition: Global.hh:31
float jet_2_pt
Definition: Global.hh:30
Container for Observable.
Definition: Observables.hh:17
float missing_et
Definition: Global.hh:27
Bdt base tree branch
Definition: Bdt.hh:18
float jet_4_pt
Definition: Global.hh:32