checkmate is hosted by Hepforge, IPPP Durham
AnalysisBase Documentation  1.2.0
units Namespace Reference

Numerical implementation of cross section and luminosity units. More...

Functions

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

Variables

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

Detailed Description

Numerical implementation of cross section and luminosity units.

Function Documentation

double units::strToUnit ( std::string  unit)

Returns the factor that corresponds to a given unit.

Definition at line 4 of file Units.cc.

Variable Documentation

const double units::KB = 1.E18

Definition at line 11 of file Units.h.

const double units::B = 1.E15

Definition at line 11 of file Units.h.

const double units::MB = 1.E12

Definition at line 11 of file Units.h.

const double units::MUB = 1.E9

Definition at line 11 of file Units.h.

const double units::NB = 1.E6

Definition at line 11 of file Units.h.

const double units::PB = 1.E3

Definition at line 11 of file Units.h.

const double units::FB = 1.0

Definition at line 11 of file Units.h.

const double units::AB = 1.E-3

Definition at line 11 of file Units.h.

const double units::ZB = 1.E-6

Definition at line 11 of file Units.h.

const double units::INVKB = 1./KB

Definition at line 12 of file Units.h.

const double units::INVB = 1./B

Definition at line 12 of file Units.h.

const double units::INVMB = 1./MB

Definition at line 12 of file Units.h.

const double units::INVMUB = 1./MUB

Definition at line 12 of file Units.h.

const double units::INVNB = 1./NB

Definition at line 12 of file Units.h.

const double units::INVPB = 1./PB

Definition at line 12 of file Units.h.

const double units::INVFB = 1./FB

Definition at line 12 of file Units.h.

const double units::INVAB = 1./AB

Definition at line 12 of file Units.h.

const double units::INVZB = 1./ZB

Definition at line 12 of file Units.h.