pub struct SampleInfo {
pub generators: Vec<String>,
pub nevents: Option<usize>,
pub beam: [Beam; 2],
pub pdf: [Option<i32>; 2],
pub cross_sections: Vec<CrossSection>,
pub process_ids: Vec<i32>,
pub weight_type: Option<i32>,
pub info: String,
pub attr: HashMap<String, String>,
}Expand description
Global information about an event sample
Fields§
§generators: Vec<String>Generators used to produce the sample
nevents: Option<usize>Number of events
beam: [Beam; 2]Collider beam information
pdf: [Option<i32>; 2]Parton Distribution Functions used
cross_sections: Vec<CrossSection>Cross sections for the various subprocesses
process_ids: Vec<i32>Subprocess IDs
weight_type: Option<i32>How to interprete the event weights
info: StringOptional run information
attr: HashMap<String, String>Optional additional structured information
Trait Implementations§
Source§impl Clone for SampleInfo
impl Clone for SampleInfo
Source§fn clone(&self) -> SampleInfo
fn clone(&self) -> SampleInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SampleInfo
impl Debug for SampleInfo
Source§impl Default for SampleInfo
impl Default for SampleInfo
Source§fn default() -> SampleInfo
fn default() -> SampleInfo
Returns the “default value” for a type. Read more
Source§impl From<HEPRUP> for SampleInfo
impl From<HEPRUP> for SampleInfo
Source§impl From<SampleInfo> for HEPRUP
impl From<SampleInfo> for HEPRUP
Source§fn from(source: SampleInfo) -> Self
fn from(source: SampleInfo) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SampleInfo
impl PartialEq for SampleInfo
impl StructuralPartialEq for SampleInfo
Auto Trait Implementations§
impl Freeze for SampleInfo
impl RefUnwindSafe for SampleInfo
impl Send for SampleInfo
impl Sync for SampleInfo
impl Unpin for SampleInfo
impl UnwindSafe for SampleInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more