MINT2
Public Member Functions | Protected Attributes | List of all members
SpinSumT Class Reference

#include <SpinSumT.h>

Public Member Functions

 SpinSumT (const TLorentzVector &p, double mR)
 
double Sandwich (const TLorentzVector &lm, const TLorentzVector &ln, const TLorentzVector &ra, const TLorentzVector &rb)
 

Protected Attributes

SpinSumV _sv
 

Detailed Description

Definition at line 12 of file SpinSumT.h.

Constructor & Destructor Documentation

◆ SpinSumT()

SpinSumT::SpinSumT ( const TLorentzVector &  p,
double  mR 
)
inline

Definition at line 16 of file SpinSumT.h.

17  : _sv(p, mR)
18  {}
SpinSumV _sv
Definition: SpinSumT.h:14

Member Function Documentation

◆ Sandwich()

double SpinSumT::Sandwich ( const TLorentzVector &  lm,
const TLorentzVector &  ln,
const TLorentzVector &  ra,
const TLorentzVector &  rb 
)
inline

Definition at line 19 of file SpinSumT.h.

23  {
24 
25  double manb = _sv.Sandwich(lm, ra) * _sv.Sandwich(ln, rb);
26  double mbna = _sv.Sandwich(lm, rb) * _sv.Sandwich(ln, ra);
27  double mnab = _sv.Sandwich(lm, ln) * _sv.Sandwich(ra, rb);
28 
29  /*
30  std::cout << "manb " << manb
31  << ", mbna " << mbna
32  << ", mban " << mnab
33  << std::endl;
34  */
35  return (1./2.)*(manb + mbna) - (1./3.)*mnab;
36 
37 
38 
39  }
double Sandwich(const TLorentzVector &lhs, const TLorentzVector &rhs) const
Definition: SpinSumV.h:32
SpinSumV _sv
Definition: SpinSumT.h:14

Member Data Documentation

◆ _sv

SpinSumV SpinSumT::_sv
protected

Definition at line 14 of file SpinSumT.h.


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