[][src]Struct lhapdf::Pdf

pub struct Pdf { /* fields omitted */ }

Wrapper to an LHAPDF object of the type LHAPDF::PDF.

Implementations

impl Pdf[src]

#[must_use]pub fn with_setname_and_member(setname: &str, member: i32) -> Self[src]

Constructor. Create a new PDF with the given PDF setname and member ID.

#[must_use]pub fn with_lhaid(lhaid: i32) -> Self[src]

Constructor. Create a new PDF with the given lhaid ID code.

#[must_use]pub fn xfx_q2(&self, id: i32, x: f64, q2: f64) -> f64[src]

Get the PDF x * f(x) value at x and q2 for the given PDG ID.

#[must_use]pub fn alphas_q2(&self, q2: f64) -> f64[src]

Value of of the strong coupling at q2 used by this PDF.

Trait Implementations

impl Drop for Pdf[src]

impl Send for Pdf[src]

impl Sync for Pdf[src]

Auto Trait Implementations

impl RefUnwindSafe for Pdf

impl Unpin for Pdf

impl UnwindSafe for Pdf

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.