ROOTPWA
Macros | Functions | Variables
pputil.cc File Reference
#include <cstdlib>
#include "pputil.h"

Go to the source code of this file.

Macros

#define Pr   0.1973

Functions

complex< double > D (const double alpha, const double beta, const double gamma, const int j, const int m, const int n)
double d_jmn_b (int J, int M, int N, double beta)
double clebsch (const int j1, const int j2, const int j3, const int m1, const int m2, const int m3)
double dfact (const double i)
double F (const int n, const double p)
double lambda (const double a, const double b, const double c)
complex< double > q (const double M, const double m1, const double m2)
int fact (int i)
void addtab ()
void subtab ()
void ptab ()
void settab (const int nchar)
string id2name (const Geant_ID type)
Geant_ID name2id (const string &name, const int q)
string itos (const int i)
string chargetos (int charge)

Variables

int ntab = 0
int tabsize = 8

Macro Definition Documentation

#define Pr   0.1973

Referenced by F().

Function Documentation

void addtab ( )

Definition at line 227 of file pputil.cc.

References ntab.

Referenced by decay::amp(), decay::expt_amp(), particle::print(), and particle::printFrames().

string chargetos ( int  charge)

Definition at line 418 of file pputil.cc.

Referenced by particle::sprint().

double clebsch ( const int  j1,
const int  j2,
const int  j3,
const int  m1,
const int  m2,
const int  m3 
)
complex<double> D ( const double  alpha,
const double  beta,
const double  gamma,
const int  j,
const int  m,
const int  n 
)

Definition at line 10 of file pputil.cc.

References d_jmn_b(), and i.

double d_jmn_b ( int  J,
int  M,
int  N,
double  beta 
)

Definition at line 24 of file pputil.cc.

References d, exit, fact(), M, MAX, and MIN.

Referenced by D().

double dfact ( const double  i)

Definition at line 138 of file pputil.cc.

References dfact().

Referenced by clebsch(), and dfact().

double F ( const int  n,
const double  p 
)
int fact ( int  i)

Definition at line 207 of file pputil.cc.

References i.

Referenced by d_jmn_b(), and rpwa::nBodyPhaseSpaceGen::setDecay().

string id2name ( const Geant_ID  type)
string itos ( const int  i)

Definition at line 406 of file pputil.cc.

References i, and int.

double lambda ( const double  a,
const double  b,
const double  c 
)

Definition at line 185 of file pputil.cc.

References a.

Geant_ID name2id ( const string &  name,
const int  q 
)
void ptab ( )
complex<double> q ( const double  M,
const double  m1,
const double  m2 
)

Definition at line 194 of file pputil.cc.

References lambda().

void settab ( const int  nchar)

Definition at line 252 of file pputil.cc.

References tabsize.

void subtab ( )

Definition at line 234 of file pputil.cc.

References ntab.

Referenced by decay::amp(), decay::expt_amp(), particle::print(), and particle::printFrames().

Variable Documentation

int ntab = 0

Definition at line 222 of file pputil.cc.

Referenced by addtab(), ptab(), and subtab().

int tabsize = 8

Definition at line 223 of file pputil.cc.

Referenced by ptab(), and settab().