MINT2
Public Member Functions | List of all members
ZTgperp Class Reference

#include <ZTgperp.h>

Inheritance diagram for ZTgperp:
SymmLorentzMatrix LorentzMatrix

Public Member Functions

 ZTgperp (const TLorentzVector &p, double mR_in=-9999)
 
ZTgperpoperator= (const SymmLorentzMatrix &other)
 
- Public Member Functions inherited from SymmLorentzMatrix
 SymmLorentzMatrix ()
 
 SymmLorentzMatrix (const TLorentzVector p[4])
 
 SymmLorentzMatrix (const TLorentzVector p)
 
 SymmLorentzMatrix (const SymmLorentzMatrix &other)
 
SymmLorentzMatrixadd (const SymmLorentzMatrix &other)
 
SymmLorentzMatrixsubtract (const SymmLorentzMatrix &other)
 
SymmLorentzMatrixmult (double s)
 
SymmLorentzMatrixdiv (double s)
 
TLorentzVector Contract (const TLorentzVector &vec)
 
LorentzMatrix Contract_1 (const SymmLorentzMatrix &M)
 
double Contract_2 (const SymmLorentzMatrix &M)
 
SymmLorentzMatrixoperator+= (const SymmLorentzMatrix &rhs)
 
SymmLorentzMatrixoperator *= (double rhs)
 
SymmLorentzMatrixoperator-= (const SymmLorentzMatrix &rhs)
 
SymmLorentzMatrixoperator/= (double rhs)
 
SymmLorentzMatrixoperator= (const SymmLorentzMatrix &other)
 
SymmLorentzMatrix operator+ (const SymmLorentzMatrix &rhs) const
 
SymmLorentzMatrix operator- (const SymmLorentzMatrix &rhs) const
 
SymmLorentzMatrix operator * (double rhs) const
 
SymmLorentzMatrix operator/ (double rhs) const
 
- Public Member Functions inherited from LorentzMatrix
const TLorentzVector & v (int i) const
 
 LorentzMatrix ()
 
 LorentzMatrix (const TLorentzVector p[4])
 
 LorentzMatrix (const LorentzMatrix &other)
 
const TLorentzVector & X () const
 
const TLorentzVector & Y () const
 
const TLorentzVector & Z () const
 
const TLorentzVector & T () const
 
TLorentzVector & X ()
 
TLorentzVector & Y ()
 
TLorentzVector & Z ()
 
TLorentzVector & T ()
 
const TLorentzVector & operator[] (int i) const
 
TLorentzVector & operator[] (int i)
 
LorentzMatrixadd (const LorentzMatrix &other)
 
LorentzMatrixsubtract (const LorentzMatrix &other)
 
LorentzMatrixmult (double s)
 
LorentzMatrixdiv (double s)
 
LorentzMatrixoperator+= (const LorentzMatrix &rhs)
 
LorentzMatrixoperator *= (double rhs)
 
LorentzMatrixoperator-= (const LorentzMatrix &rhs)
 
LorentzMatrixoperator/= (double rhs)
 
LorentzMatrixoperator= (const LorentzMatrix &other)
 
LorentzMatrix operator+ (const LorentzMatrix &rhs) const
 
LorentzMatrix operator- (const LorentzMatrix &rhs) const
 
LorentzMatrix operator * (double rhs) const
 
LorentzMatrix operator/ (double rhs) const
 

Additional Inherited Members

- Static Public Member Functions inherited from SymmLorentzMatrix
static const SymmLorentzMatrixgmunu ()
 
- Protected Member Functions inherited from SymmLorentzMatrix
bool symmetrize ()
 
bool makeZero ()
 
- Protected Member Functions inherited from LorentzMatrix
bool makeZero ()
 
- Static Protected Member Functions inherited from SymmLorentzMatrix
static void makeGmunu ()
 
- Protected Attributes inherited from LorentzMatrix
TLorentzVector _v [4]
 
- Static Protected Attributes inherited from SymmLorentzMatrix
static SymmLorentzMatrix__gmunu = 0
 

Detailed Description

Definition at line 10 of file ZTgperp.h.

Constructor & Destructor Documentation

◆ ZTgperp()

ZTgperp::ZTgperp ( const TLorentzVector &  p,
double  mR_in = -9999 
)
inline

Definition at line 12 of file ZTgperp.h.

12  {
13  // the "true" gmunu_perp should be with u = p/sqrt(p^2)
14  // however, often we use instead u = p/m_R where m_R is
15  // the "nominal" mass (at the peak) rather than
16  // the (off-shell) mass of the resonance.
17  // m_R < 0 uses sqrt(p^2), otherwise it's m_R
18 
19  double mR2 = (mR_in < 0 ? p.M2() : mR_in*mR_in);
20  SymmLorentzMatrix uu(p);
21  uu /= mR2;
22 
23  *this = (SymmLorentzMatrix::gmunu() - uu);
24  }
static const SymmLorentzMatrix & gmunu()

Member Function Documentation

◆ operator=()

ZTgperp& ZTgperp::operator= ( const SymmLorentzMatrix other)
inline

Definition at line 26 of file ZTgperp.h.

26  {
27  for(int i=0; i<4; i++) _v[i] = other.v(i);
28  return *this;
29  }
TLorentzVector _v[4]
Definition: LorentzMatrix.h:9
const TLorentzVector & v(int i) const
Definition: LorentzMatrix.h:19

The documentation for this class was generated from the following file: