Struct malice::Track [−][src]
A Track
is a reconstruction of the trajectory of a particle traversing the detector.
Fields
flags: Flags
its_chi2: f32
its_ncls: i8
its_clustermap: ItsClusters
tpc_ncls: u16
pid_probabilities: PidProbabilities
Implementations
impl Track
[src]
pub fn theta(&self) -> f32
[src]
Longitudinal (not boosted) angle of the Track
pub fn eta(&self) -> f32
[src]
Direction of a track in pseudorapidity eta
pub fn phi(&self) -> f32
[src]
Azimuthal direction of the Track
pub fn pt(&self) -> f32
[src]
Transverse momentum of the Track
pub fn px(&self) -> f32
[src]
pub fn py(&self) -> f32
[src]
pub fn pz(&self) -> f32
[src]
pub fn dca_to_point_xy(&self, x: f32, y: f32) -> f32
[src]
Estimate the distance of closest approach of this track to a given point neglecting the track curvature. This returns the closest approach in the xy plane
pub fn dca_to_point_z(&self, z: f32) -> f32
[src]
Distance of closes approch of this track in z
pub fn tpc_chi2_per_cluster(&self) -> f32
[src]
Chi2 normalized to the number of clusters. This is a measure of how well the reconstruction fit the observed clusters
pub fn its_chi2_per_cluster(&self) -> f32
[src]
Chi2 normalized to the number of clusters. This is a measure of how well the reconstruction fit the observed clusters
Trait Implementations
impl FromWasmAbi for Track
[src]
type Abi = u32
The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more
unsafe fn from_abi(js: u32) -> Self
[src]
impl IntoWasmAbi for Track
[src]
type Abi = u32
The wasm ABI type that this converts into when crossing the ABI boundary. Read more
fn into_abi(self) -> u32
[src]
impl OptionFromWasmAbi for Track
[src]
impl OptionIntoWasmAbi for Track
[src]
impl RefFromWasmAbi for Track
[src]
type Abi = u32
The wasm ABI type references to Self
are recovered from.
type Anchor = Ref<'static, Track>
The type that holds the reference to Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don't persist beyond one function
call, and so that they remain anonymous. Read more
unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor
[src]
impl RefMutFromWasmAbi for Track
[src]
type Abi = u32
Same as RefFromWasmAbi::Abi
type Anchor = RefMut<'static, Track>
Same as RefFromWasmAbi::Anchor
unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
[src]
impl WasmDescribe for Track
[src]
Auto Trait Implementations
impl RefUnwindSafe for Track
[src]
impl Send for Track
[src]
impl Sync for Track
[src]
impl Unpin for Track
[src]
impl UnwindSafe for Track
[src]
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
[src]
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
pub fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
[src]
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.
pub 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>,