Mt2.hh
Go to the documentation of this file.
1 #pragma once
2 
3 #include "boca/units/Units.hh"
4 #include "boca/fastjet/Jet.hh"
5 
10 namespace wimpmass
11 {
12 
13 class Mt2
14 {
15 public:
16 
17  Mt2(boca::Mass const& mass = boca::massless);
19 
20 protected:
21 
22  void SetMomenta ( double* pa0, double* pb0, double* pmiss0 );
23  void SetMass ( double mn );
24  double GetMt2();
25 
26 private:
27 
28  void GetMomentum(boca::LorentzVector<boca::Momentum> const& jet_1, double *momentum);
29  double Bisect();
30  double Massless();
31  void Print();
32 
33  int nevt;
34  bool solved = false;
35  bool momenta_set = false;
36  double mt2_b = 0.;
37  double scale = 1.;
38 
39  int nsols ( double Dsq );
40  int nsols_massless ( double Dsq );
41  int signchange_n ( double t1, double t2, double t3, double t4, double t5 );
42  int signchange_p ( double t1, double t2, double t3, double t4, double t5 );
43  int scan_high ( double& Deltasq_high );
44  int find_high ( double& Deltasq_high );
45 //data members
46  double pax, pay, ma, Ea;
47  double pmissx, pmissy;
48  double pbx, pby, mb, Eb;
49  double mn, mn_unscale;
50 
51 //auxiliary definitions
52  double masq, Easq;
53  double mbsq, Ebsq;
54  double pmissxsq, pmissysq;
55  double mnsq;
56 
57 //auxiliary coefficients
58  double a1, b1, c1, a2, b2, c2, d1, e1, f1, d2, e2, f2;
59  double d11, e11, f12, f10, d21, d20, e21, e20, f22, f21, f20;
60 
61  double precision;
62 };
63 
64 }
void SetMomenta(double *pa0, double *pb0, double *pmiss0)
Definition: Mt2.cpp:95
Mt2(boca::Mass const &mass=boca::massless)
Definition: Mt2.cpp:60
void SetMass(double mn)
Definition: Mt2.cpp:173
Definition: Mt2.hh:13
Wimpmass contains a few packages useful for determining the mass of the dark matter particle at the L...
Definition: Invisible2.cpp:51
boca::Mass Get(boca::LorentzVector< boca::Momentum > const &jet_1, boca::LorentzVector< boca::Momentum > const &jet_2, boca::LorentzVector< boca::Momentum > const &missing_et)
Definition: Mt2.cpp:65
Mass const massless
Definition: ElectronVolt.hh:72
Energy Mass
Mass measured in electronvolt.
Definition: ElectronVolt.hh:62
double GetMt2()
Definition: Mt2.cpp:85