Struct malice::Track[][src]

pub struct Track {
    pub flags: Flags,
    pub its_chi2: f32,
    pub its_ncls: i8,
    pub its_clustermap: ItsClusters,
    pub tpc_ncls: u16,
    pub pid_probabilities: PidProbabilities,
    // some fields omitted
}

A Track is a reconstruction of the trajectory of a particle traversing the detector.

Fields

flags: Flagsits_chi2: f32its_ncls: i8its_clustermap: ItsClusterstpc_ncls: u16pid_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

impl IntoWasmAbi for Track[src]

type Abi = u32

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

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

impl RefMutFromWasmAbi for Track[src]

type Abi = u32

Same as RefFromWasmAbi::Abi

type Anchor = RefMut<'static, Track>

Same as RefFromWasmAbi::Anchor

impl WasmDescribe for Track[src]

Auto Trait Implementations

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> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi

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.