Documentation
¶
Overview ¶
Package common contains model for base component used in simulation and results model.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Distribution ¶
type Distribution int64
Distribution ...
const ( // NoDistribution ... NoDistribution Distribution = iota // FlatDistribution ... FlatDistribution // GaussianDistribution ... GaussianDistribution )
func (Distribution) MarshalJSON ¶
func (d Distribution) MarshalJSON() ([]byte, error)
MarshalJSON json.Marshaller implementation.
func (*Distribution) UnmarshalJSON ¶
func (d *Distribution) UnmarshalJSON(b []byte) error
UnmarshalJSON json.Unmarshaller implementation.
type HeavyIon ¶
HeavyIon ...
func (HeavyIon) MarshalJSON ¶
MarshalJSON json.Marshaller implementation.
type Particle ¶
Particle is interface for particle scored in detectors.
func UnmarshalParticle ¶
func UnmarshalParticle(b json.RawMessage) (Particle, error)
UnmarshalParticle ...
type PredefinedParticle ¶
type PredefinedParticle string
PredefinedParticle ...
func (PredefinedParticle) MarshalJSON ¶
func (g PredefinedParticle) MarshalJSON() ([]byte, error)
MarshalJSON json.Marshaller implementation.
type Vec3DCylindricalInt ¶
type Vec3DCylindricalInt struct {
Radius int64 `json:"radius"`
Angle int64 `json:"angle"`
Z int64 `json:"z"`
}
Vec3DCylindricalInt 3-dimensional vector of integers in cylindrical cordinates.
Click to show internal directories.
Click to hide internal directories.