pub struct Process<'a> { /* private fields */ }Expand description
One Combine process column inside a channel.
Implementations§
Source§impl<'a> Process<'a>
impl<'a> Process<'a>
Sourcepub fn new(name: impl Into<String>, index: i32, nominal: &'a Hist1D) -> Self
pub fn new(name: impl Into<String>, index: i32, nominal: &'a Hist1D) -> Self
Create one process column. Combine uses indices <= 0 for signal and
positive indices for backgrounds.
Sourcepub fn with_shape_systematic(
self,
name: impl Into<String>,
up: &'a Hist1D,
down: &'a Hist1D,
) -> Self
pub fn with_shape_systematic( self, name: impl Into<String>, up: &'a Hist1D, down: &'a Hist1D, ) -> Self
Attach one shape/JES-style systematic with per-bin up/down histograms.
Sourcepub fn with_flat_weight_systematic(
self,
systematic: FlatWeightSystematic,
) -> Self
pub fn with_flat_weight_systematic( self, systematic: FlatWeightSystematic, ) -> Self
Attach one flat normalization-only weight systematic emitted as lnN.
pub fn name(&self) -> &str
pub fn index(&self) -> i32
pub fn nominal(&self) -> &Hist1D
pub fn shape_variations(&self) -> &BTreeMap<String, ShapeVariation<'a>>
pub fn flat_weight_systematics(&self) -> &BTreeMap<String, FlatWeightSystematic>
Trait Implementations§
impl<'a> StructuralPartialEq for Process<'a>
Auto Trait Implementations§
impl<'a> Freeze for Process<'a>
impl<'a> RefUnwindSafe for Process<'a>
impl<'a> Send for Process<'a>
impl<'a> Sync for Process<'a>
impl<'a> Unpin for Process<'a>
impl<'a> UnsafeUnpin for Process<'a>
impl<'a> UnwindSafe for Process<'a>
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