Versions in this module Expand all Collapse all v0 v0.1.1 May 16, 2018 v0.1.0 May 16, 2018 Changes in this version + func Score(evt Event, trkIDs []int) float64 + type Cell struct + Ch0 int + Ch1 int + HitID int + Value float64 + type Dataset struct + func NewDataset(name string, beg, end int, reader EventReader) (Dataset, error) + func (ds *Dataset) Close() error + func (ds *Dataset) Err() error + func (ds *Dataset) Event() Event + func (ds *Dataset) Names() []string + func (ds *Dataset) Next() bool + type Event struct + Cells []Cell + Hits []Hit + ID int + Mcs []Truth + Ps []Particle + func ReadEvent(path, evtid string) (Event, error) + func ReadMcEvent(path, evtid string) (Event, error) + func (evt *Event) Delete() + type EventReader func(path, evtid string) (Event, error) + type Hit struct + HitID int + LayerID int + ModuleID int + VolumeID int + X float64 + Y float64 + Z float64 + type Particle struct + ID int + NHits int + Px float64 + Py float64 + Pz float64 + Q int + Vx float64 + Vy float64 + Vz float64 + type Submission struct + func NewSubmission(w *csv.Writer) (*Submission, error) + func (sub *Submission) Append(evt Event, trkIDs []int) error + func (sub *Submission) Close() error + type Truth struct + HitID int + PID int + Px float64 + Py float64 + Pz float64 + Tx float64 + Ty float64 + Tz float64 + Weight float64