BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
TUtil.h File Reference
#include "TConstant.h"
#include "TLorentzVector.h"
#include <complex>

Go to the source code of this file.

Namespaces

namespace  rb

Typedefs

typedef std::complex< double > complex_t

Functions

complex_t operator+ (const double &x, const complex_t &y)
complex_t operator- (const double &x, const complex_t &y)
double rb::Gamma (const double Q2, const double M2, const double G, const double mkpp2, const double mkmp2)
complex_t rb::R (double Q2, double M2, double G, double Mp2, double Mm2)
TLorentzVector rb::PseudoScalars3 (const TLorentzVector &qp, const TLorentzVector &qm, const TLorentzVector &q0)

Typedef Documentation

◆ complex_t

typedef std::complex<double> complex_t

Definition at line 5 of file TUtil.h.

Function Documentation

◆ operator+()

complex_t operator+ ( const double & x,
const complex_t & y )
inline

Definition at line 7 of file TUtil.h.

7{ return y + x; }

◆ operator-()

complex_t operator- ( const double & x,
const complex_t & y )
inline

Definition at line 9 of file TUtil.h.

9{ return -( y - x ); }