[−][src]Struct lhapdf::Pdf
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
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,