Truth.hh
Go to the documentation of this file.
1 
4 #pragma once
5 
6 #include "boca/units/Prefixes.hh"
7 #include "boca/branch/Result.hh"
8 
9 namespace standardmodel
10 {
11 
12 using namespace boca;
13 
14 namespace branch {
15 
22 {
23 public:
24  Truth();
25  float top_pt;
26  float bottom_pt;
27  float w_pt;
28  float quark_1_pt;
29  float quark_2_pt;
30  float delta_r_top;
31  float delta_r_w;
32  float rho_top;
33  float rhow_w;
34 
35  template<typename Multiplet>
36  void Fill(Multiplet const& multiplet) {
37  top_pt = multiplet.TopPt() / GeV;
38  bottom_pt = multiplet.BottomPt() / GeV;
39  w_pt = multiplet.WPt() / GeV;
40  quark_1_pt = multiplet.Quark1Pt() / GeV;
41  quark_2_pt = multiplet.Quark2Pt() / GeV;
42  delta_r_top = multiplet.DeltaRTop() / rad;
43  delta_r_w = multiplet.DeltaRW() / rad;
44  rho_top = multiplet.RhoTop();
45  rhow_w = multiplet.RhoW();
46  }
47 
48  boca::Observables Variables();
49 
50  boca::Observables Spectators();
51 
52 private:
53 
54  ClassDef(Truth, 1)
55 
56 };
57 
58 
59 }
60 
61 }
float delta_r_top
Definition: Truth.hh:30
Result tree branch
Definition: Result.hh:19
float delta_r_w
Definition: Truth.hh:31
Truth tagger tree branch
Definition: Truth.hh:21
float rho_top
Definition: Truth.hh:32
float top_pt
Definition: Truth.hh:25
float quark_2_pt
Definition: Truth.hh:29
Boosted Collider Analysis.
Definition: Analysis.hh:15
float bottom_pt
Definition: Truth.hh:26
Standard Model.
Definition: StandardModel.cpp:4
float quark_1_pt
Definition: Truth.hh:28
float w_pt
Definition: Truth.hh:27
Multiplet base class
Definition: Multiplet.hh:21
float rhow_w
Definition: Truth.hh:33
Container for Observable.
Definition: Observables.hh:17
void Fill(Multiplet const &multiplet)
Definition: Truth.hh:36