MINT2
ZTspin2.h
Go to the documentation of this file.
1 #ifndef ZEMACH_SPIN_2_HH
2 #define ZEMACH_SPIN_2_HH
3 // author: Jonas Rademacker (Jonas.Rademacker@bristol.ac.uk)
4 // status: Mon 9 Feb 2009 19:18:13 GMT
5 
6 #include "TLorentzVector.h"
8 #include "Mint/ZTspin1.h"
9 #include <iostream>
10 
11 class ZTspin2 : public SymmLorentzMatrix{
12  public:
13  // in decay D -> AB: q = p(A) - p(B), p = p(A) + p(B)
14  ZTspin2(const TLorentzVector& q, const TLorentzVector& p, double mR){
15  ZTspin1 t(q, p, mR);
16  SymmLorentzMatrix tt(t);
17  SymmLorentzMatrix uu(p);
18  uu /= (mR * mR);
19 
20  *this = tt - (1./3.) * t.Mag2()*(SymmLorentzMatrix::gmunu() - uu);
21  // eq 6 in PhysRevD.51.2247
22  }
23 
25  for(int i=0; i<4; i++) _v[i] = other.v(i);
26  return *this;
27  }
28 
29 };
30 
31 #endif
32 //
ZTspin2 & operator=(const SymmLorentzMatrix &other)
Definition: ZTspin2.h:24
ZTspin2(const TLorentzVector &q, const TLorentzVector &p, double mR)
Definition: ZTspin2.h:14
TLorentzVector _v[4]
Definition: LorentzMatrix.h:9
static const SymmLorentzMatrix & gmunu()
Definition: ZTspin1.h:9
const TLorentzVector & v(int i) const
Definition: LorentzMatrix.h:19