ant
A2 ant: class-based analysis framework
ant::math Namespace Reference

Classes

struct  AsymGaus
 Asymmetric Gaus Left and right side of mu have different sigmas. More...
 
struct  CrystalBall
 
struct  GaussExp
 
struct  LineFct
 
struct  SimpleCrystalBall
 
struct  voigtian
 Voigtian profile. More...
 

Functions

double W (const double Eg, const ParticleTypeDatabase::Type &target)
 Calculate the center of mass energy W = sqrt(s) from beam photon energy and fixed target particle type. More...
 

Function Documentation

◆ W()

double ant::math::W ( const double  Eg,
const ParticleTypeDatabase::Type target 
)
inline

Calculate the center of mass energy W = sqrt(s) from beam photon energy and fixed target particle type.

Parameters
EgPhoton beam energy
targetparticle type
Returns
W = sqrt(s)