TwoBody.hh
Go to the documentation of this file.
1 
4 #pragma once
5 
7 #include "boca/Settings.hh"
8 
9 namespace boca
10 {
11 
12 namespace branch
13 {
14 
19 class TwoBody : public Particle
20 {
21 
22 public:
23 
24  TwoBody();
25 
26  float ht;
27  float delta_pt;
28  float delta_m;
29  float delta_rap;
30  float delta_phi;
31  float delta_r;
32  float rho;
33  float bdt_1;
34  float bdt_2;
35  float pull_1;
36  float pull_2;
37  float dipolarity;
38 
39  template<typename Multiplet>
40  void Fill(Multiplet const &multiplet)
41  {
42  Particle::Fill(multiplet);
43  ht = multiplet.Ht() / GeV;
44  delta_pt = multiplet.DeltaPt() / GeV;
45  delta_m = multiplet.DeltaM() / GeV;
46  delta_rap = multiplet.DeltaRap() / rad;
47  delta_phi = multiplet.DeltaPhi() / rad;
48  delta_r = multiplet.DeltaR() / rad;
49  rho = multiplet.Rho();
50  bdt_1 = multiplet.Multiplet1().Bdt();
51  bdt_2 = multiplet.Multiplet2().Bdt();
52  if (Settings::SubStructure()) {
53  pull_1 = multiplet.Pull12() / rad;
54  pull_2 = multiplet.Pull21() / rad;
55  dipolarity = multiplet.Dipolarity();
56  }
57  }
58 
60 
62 
63 private:
64 
65  ClassDef(TwoBody, 1)
66 
67 };
68 
69 }
70 
71 }
Observables Variables()
Definition: TwoBody.cpp:32
float delta_rap
Definition: TwoBody.hh:29
float pull_2
Definition: TwoBody.hh:36
float ht
Definition: TwoBody.hh:26
void Fill(Multiplet const &multiplet)
Definition: TwoBody.hh:40
static bool SubStructure()
Definition: Settings.cpp:213
virtual double Bdt() const
Definition: Identification.cpp:27
float delta_pt
Definition: TwoBody.hh:27
Two body tree branch.
Definition: TwoBody.hh:19
float dipolarity
Definition: TwoBody.hh:37
float delta_r
Definition: TwoBody.hh:31
float delta_phi
Definition: TwoBody.hh:30
float delta_m
Definition: TwoBody.hh:28
float pull_1
Definition: TwoBody.hh:35
Boosted Collider Analysis.
Definition: Analysis.hh:15
void Fill(Multiplet const &multiplet)
Definition: Particle.hh:33
float rho
Definition: TwoBody.hh:32
Particle tree branch
Definition: Particle.hh:19
TwoBody()
Definition: TwoBody.cpp:16
float bdt_2
Definition: TwoBody.hh:34
Multiplet base class
Definition: Multiplet.hh:21
Observables Spectators()
Definition: TwoBody.cpp:51
Container for Observable.
Definition: Observables.hh:17
float bdt_1
Definition: TwoBody.hh:33