group Charge functions

Charge functions

Functions

Name
intcharge3(int pid)
Three times the EM charge (as integer)
intthreeCharge(int pid)
intabscharge3(int pid)
Return the absolute value of 3 times the EM charge.
doublecharge(int pid)
Return the EM charge (as floating point)
doubleabscharge(int pid)
Return the EM charge (as floating point)

Functions Documentation

function charge3

inline int charge3(
    int pid
)

Three times the EM charge (as integer)

TodoIs this sufficiently general? Why only gluino in g+q+qbar? Better to recurse to the related SM hadron code?

function threeCharge

inline int threeCharge(
    int pid
)

Deprecated:

Prefer charge3

Alias for charge3

function abscharge3

inline int abscharge3(
    int pid
)

Return the absolute value of 3 times the EM charge.

function charge

inline double charge(
    int pid
)

Return the EM charge (as floating point)

function abscharge

inline double abscharge(
    int pid
)

Return the EM charge (as floating point)


Updated on 2022-08-07 at 20:17:17 +0100