-
Notifications
You must be signed in to change notification settings - Fork 0
/
TTCS_kine.hh
73 lines (60 loc) · 1.85 KB
/
TTCS_kine.hh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#ifndef TTCS_KINE_ifndef
#define TTCS_KINE_ifndef
#include <TVector3.h>
#include <TLorentzVector.h>
class TTCS_kine : public TObject
{
public:
TTCS_kine(double m = 0.938, double E = 5.76);
TTCS_kine( TLorentzVector, TLorentzVector, TLorentzVector,
double m = 0.938, double E = 5.76 ); // e-,e+,p, mp, Eg
double GetPhi_cm() const;
double GetTheta_cm() const;
double Get_tM() const;
double GetMinv() const;
double GetMM2() const;
double GetEg() const;
double GetMis_mom() const;
double GetPx_mis() const;
double GetPy_mis() const;
double GetPz_mis() const;
double Get_L() const;
double Get_L0() const;
double GetQ2()const; // Q2 of the quasi-real photon
void SetLemLepLp( TLorentzVector, TLorentzVector, TLorentzVector);
void Define_kinematic();
// ClassDef(TTCS_kine,1);
private:
TLorentzVector Lp; TLorentzVector Lp_cm;
TLorentzVector Lp1; TLorentzVector Lp1_cm;
TLorentzVector Lem; TLorentzVector Lem_cm;
TLorentzVector Lep; TLorentzVector Lep_cm;
TLorentzVector Lg; TLorentzVector Lg_cm;
TLorentzVector Lemep; TLorentzVector Lemep_cm;
TLorentzVector Lgemep; TLorentzVector Lgemep_cm;
TLorentzVector Lem_eep_cm;
TLorentzVector Lep_eep_cm;
TLorentzVector Lp1_eep_cm;
TLorentzVector Lcm;
TLorentzVector Lbeam;
TLorentzVector L_mis;
double mprot;
double Egamma;
double Eb;
double Minv, tM;
double MM2;
double mis_mom;
double px_mis;
double py_mis;
double pz_mis;
double L, L0;
double Q2; // Q2 of the quasi-real photon
const static double radian = 57.2957795130823229;
const static double PI = 3.14159265358979312;
// Lp.SetPxPyPzE(0., 0., 0., mprot);
// Lbeam.SetPxPyPzE(0, 0, Eb, Eb);
TVector3 TV3_em, TV3_ep, TV3_p, TV3_p1;
TVector3 TV3_emep_crs, TV3_pp1_crs; //cross products of (em X ep) and (p X p1)
double phi_cm, theta_cm;
};
#endif