checkmate is hosted by Hepforge, IPPP Durham
mctlib.h
Go to the documentation of this file.
1 #ifndef MCTLIB_H
2 #define MCTLIB_H
3 
4 #include <iostream>
5 #include <math.h>
6 
7 namespace mctlib
8 {
9 class mct
10 {
11 
12  public:
13 
14  mct();
15  double mctcorr(const double v1[4],const double v2[4]
16  ,const double vds[4],const double ptm[2]
17  ,const double ecm=14000.0,const double mxlo=0.0);
18  double mctnorm(const double v1[4],const double v2[4]);
19  double mt2(const double v1[4],const double v2[4]
20  ,const double vds[4],const double ptm[2]
21  ,const double ecm=14000.0,const double mxlo=0.0);
22  double mctminmt2(const double mctsqr,const double m1sqr,
23  const double m2sqr,const double chisqr=0.0);
24  double mt2neg(const double v1[4],const double v2[4]
25  ,const double ptm[2],const double mxlo=0.0);
26  double mcy(const double v1[4],const double v2[4]
27  ,const double vds[4],const double ptm[2]);
28  double mcx(const double v1[4],const double v2[4]
29  ,const double vds[4],const double ptm[2]);
30 
31  private:
32 
33  double m_mctecm, m_mctehat, m_pb;
34 
35 };
36 
37 }//end namespace mctlib
38 
39 #endif
40 
41 
42 
double mctminmt2(const double mctsqr, const double m1sqr, const double m2sqr, const double chisqr=0.0)
Definition: mctlib.cc:151
double mctnorm(const double v1[4], const double v2[4])
Definition: mctlib.cc:87
double mctcorr(const double v1[4], const double v2[4], const double vds[4], const double ptm[2], const double ecm=14000.0, const double mxlo=0.0)
Definition: mctlib.cc:10
double mt2(const double v1[4], const double v2[4], const double vds[4], const double ptm[2], const double ecm=14000.0, const double mxlo=0.0)
Definition: mctlib.cc:95
double mt2neg(const double v1[4], const double v2[4], const double ptm[2], const double mxlo=0.0)
Definition: mctlib.cc:159
double mcx(const double v1[4], const double v2[4], const double vds[4], const double ptm[2])
Definition: mctlib.cc:225
double mcy(const double v1[4], const double v2[4], const double vds[4], const double ptm[2])
Definition: mctlib.cc:196