Struct DataSource

Source
pub struct DataSource<T>{
    pub kind: DataSourceKind,
    pub paddles: HashMap<u8, TofPaddle>,
    pub strips: HashMap<u32, TrackerStrip>,
    pub rb_calibrations: HashMap<u8, RBCalibrations>,
    pub reader: dyn DataReader<T>,
}
Expand description

A generic data source which can digest all kinds of GAPS input data

The Datasource can combine all necessary meta information, such as information about paddles as well as calibration data for tracker and TOF.

Fields§

§kind: DataSourceKind§paddles: HashMap<u8, TofPaddle>§strips: HashMap<u32, TrackerStrip>§rb_calibrations: HashMap<u8, RBCalibrations>§reader: dyn DataReader<T>

Auto Trait Implementations§

§

impl<T> !Freeze for DataSource<T>

§

impl<T> !RefUnwindSafe for DataSource<T>

§

impl<T> !Send for DataSource<T>

§

impl<T> !Sized for DataSource<T>

§

impl<T> !Sync for DataSource<T>

§

impl<T> !Unpin for DataSource<T>

§

impl<T> !UnwindSafe for DataSource<T>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more