Documentation ¶
Overview ¶
Package daq contains types and functions to build a simple DAQ system.
Index ¶
- Constants
- Variables
- func NewDetScanner(r io.Reader) *bufio.Scanner
- func NewEvtScanner(r io.Reader) *bufio.Scanner
- type Calorimeter
- type Decoder
- func (dec *Decoder) Err() error
- func (dec *Decoder) Read(p []byte) (int, error)
- func (dec *Decoder) ReadCalorimeter() Calorimeter
- func (dec *Decoder) ReadEnvSys() Env
- func (dec *Decoder) ReadF64() float64
- func (dec *Decoder) ReadHeader() Header
- func (dec *Decoder) ReadI64() int64
- func (dec *Decoder) ReadStr() string
- func (dec *Decoder) ReadStreamHeader() [4]byte
- func (dec *Decoder) ReadU32() uint32
- func (dec *Decoder) ReadU64() uint64
- func (dec *Decoder) ReadU8() uint8
- type DetKind
- type Encoder
- type Env
- type Header
Constants ¶
View Source
const ( EvtBeg = 0xdeadcafe EvtEnd = 0xdeadfeed DetEnd = 0xdecafeed )
Variables ¶
View Source
var (
MagicHdr = [4]byte{0, 'd', 'a', 'q'}
)
Functions ¶
Types ¶
type Calorimeter ¶
type Decoder ¶
type Decoder struct {
// contains filtered or unexported fields
}
func NewDecoder ¶
func (*Decoder) ReadCalorimeter ¶
func (dec *Decoder) ReadCalorimeter() Calorimeter
func (*Decoder) ReadEnvSys ¶
func (*Decoder) ReadHeader ¶
func (*Decoder) ReadStreamHeader ¶
Click to show internal directories.
Click to hide internal directories.