Rivet API documentation

Rivet 4.1.3
Utility functions

Enumerations

enum  Rivet::PID::Location {
  nj =1 , nq3 , nq2 , nq1 ,
  nl , nr , n , n8 ,
  n9 , n10
}

Functions

int Rivet::PID::abspid (int pid)

Detailed Description

Enumeration Type Documentation

◆ Location

PID digits (base 10) are: n nr nl nq1 nq2 nq3 nj The Location enum provides a convenient index into the PID.

Function Documentation

◆ abspid()

int Rivet::PID::abspid ( int pid)
inline

Absolute value

Deprecated
Just use abs()!

References Rivet::pid().