BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
TUtil.h File Reference
#include "TLorentzVector.h"
#include "TConstant.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 {
8 return y + x;
9}
double y[1000]
double x[1000]

◆ operator-()

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

Definition at line 11 of file TUtil.h.

11 {
12 return -(y - x);
13}