checkmate is hosted by Hepforge, IPPP Durham
Units.h File Reference
#include <cstdlib>
#include <iostream>
#include <stdio.h>
#include <string>

Go to the source code of this file.

Namespaces

 units
 Numerical implementation of cross section and luminosity units.
 

Functions

double units::strToUnit (std::string unit)
 Returns the factor that corresponds to a given unit. More...
 

Variables

const double units::KB = 1.E18
 
const double units::B = 1.E15
 
const double units::MB = 1.E12
 
const double units::MUB = 1.E9
 
const double units::NB = 1.E6
 
const double units::PB = 1.E3
 
const double units::FB = 1.0
 
const double units::AB = 1.E-3
 
const double units::ZB = 1.E-6
 
const double units::INVKB = 1./KB
 
const double units::INVB = 1./B
 
const double units::INVMB = 1./MB
 
const double units::INVMUB = 1./MUB
 
const double units::INVNB = 1./NB
 
const double units::INVPB = 1./PB
 
const double units::INVFB = 1./FB
 
const double units::INVAB = 1./AB
 
const double units::INVZB = 1./ZB