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