/
constituent.go
42 lines (34 loc) · 1.01 KB
/
constituent.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// Copyright ©2017 The go-hep Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package heppdt
// Constituent holds a particle constituent
// (e.g. quark type and number of quarks of this type)
type Constituent struct {
ID PID // particle ID
Mul int // multiplicity
}
// IsUp returns whether this is an up-quark
func (c Constituent) IsUp() bool {
panic("not implemented")
}
// IsDown returns whether this is a down-quark
func (c Constituent) IsDown() bool {
return false
}
// IsStrange returns whether this is a strqnge-quark
func (c Constituent) IsStrange() bool {
panic("not implemented")
}
// IsCharm returns whether this is a charm-quark
func (c Constituent) IsCharm() bool {
panic("not implemented")
}
// IsBottom returns whether this is a bottom-quark
func (c Constituent) IsBottom() bool {
panic("not implemented")
}
// IsTop returns whether this is a top-quark
func (c Constituent) IsTop() bool {
panic("not implemented")
}