detmap

package
v0.0.0-...-6df0fc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2020 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DetectorConfig_ImageConfig_Convolution_name = map[int32]string{
	0: "NONE",
	1: "DIFFUSION",
}
View Source
var DetectorConfig_ImageConfig_Convolution_value = map[string]int32{
	"NONE":      0,
	"DIFFUSION": 1,
}
View Source
var HpsConfig_Mode_name = map[int32]string{
	0: "CURRENT",
	1: "PULSED",
}
View Source
var HpsConfig_Mode_value = map[string]int32{
	"CURRENT": 0,
	"PULSED":  1,
}

Functions

This section is empty.

Types

type DetectorConfig

type DetectorConfig struct {
	Name                 string                        `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ImageConfig          []*DetectorConfig_ImageConfig `protobuf:"bytes,2,rep,name=image_config,json=imageConfig,proto3" json:"image_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

func (*DetectorConfig) Descriptor

func (*DetectorConfig) Descriptor() ([]byte, []int)

func (*DetectorConfig) GetImageConfig

func (m *DetectorConfig) GetImageConfig() []*DetectorConfig_ImageConfig

func (*DetectorConfig) GetName

func (m *DetectorConfig) GetName() string

func (*DetectorConfig) ProtoMessage

func (*DetectorConfig) ProtoMessage()

func (*DetectorConfig) Reset

func (m *DetectorConfig) Reset()

func (*DetectorConfig) String

func (m *DetectorConfig) String() string

func (*DetectorConfig) XXX_DiscardUnknown

func (m *DetectorConfig) XXX_DiscardUnknown()

func (*DetectorConfig) XXX_Marshal

func (m *DetectorConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DetectorConfig) XXX_Merge

func (m *DetectorConfig) XXX_Merge(src proto.Message)

func (*DetectorConfig) XXX_Size

func (m *DetectorConfig) XXX_Size() int

func (*DetectorConfig) XXX_Unmarshal

func (m *DetectorConfig) XXX_Unmarshal(b []byte) error

type DetectorConfig_ImageConfig

type DetectorConfig_ImageConfig struct {
	Geometry    []*DetectorConfig_ImageConfig_Geometry    `protobuf:"bytes,1,rep,name=geometry,proto3" json:"geometry,omitempty"`
	ChannelList []*DetectorConfig_ImageConfig_ChannelDesc `protobuf:"bytes,2,rep,name=channel_list,json=channelList,proto3" json:"channel_list,omitempty"`
	G           []*DetectorConfig_ImageConfig_MatrixRow   `protobuf:"bytes,3,rep,name=g,proto3" json:"g,omitempty"`
	LinEstT     []*DetectorConfig_ImageConfig_MatrixRow   `protobuf:"bytes,4,rep,name=lin_est_t,json=linEstT,proto3" json:"lin_est_t,omitempty"`
	XPos        []float32                                 `protobuf:"fixed32,5,rep,packed,name=x_pos,json=xPos,proto3" json:"x_pos,omitempty"`
	YPos        []float32                                 `protobuf:"fixed32,6,rep,packed,name=y_pos,json=yPos,proto3" json:"y_pos,omitempty"`
	Conv        DetectorConfig_ImageConfig_Convolution    `protobuf:"varint,7,opt,name=conv,proto3,enum=rdi.detmap.DetectorConfig_ImageConfig_Convolution" json:"conv,omitempty"`
	// max diffusion sigma for diffusion convolution
	MaxDiffSigma         float32  `protobuf:"fixed32,8,opt,name=max_diff_sigma,json=maxDiffSigma,proto3" json:"max_diff_sigma,omitempty"`
	SigmaL2              float32  `protobuf:"fixed32,9,opt,name=sigma_l2,json=sigmaL2,proto3" json:"sigma_l2,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DetectorConfig_ImageConfig) Descriptor

func (*DetectorConfig_ImageConfig) Descriptor() ([]byte, []int)

func (*DetectorConfig_ImageConfig) GetChannelList

func (*DetectorConfig_ImageConfig) GetConv

func (*DetectorConfig_ImageConfig) GetG

func (*DetectorConfig_ImageConfig) GetGeometry

func (*DetectorConfig_ImageConfig) GetLinEstT

func (*DetectorConfig_ImageConfig) GetMaxDiffSigma

func (m *DetectorConfig_ImageConfig) GetMaxDiffSigma() float32

func (*DetectorConfig_ImageConfig) GetSigmaL2

func (m *DetectorConfig_ImageConfig) GetSigmaL2() float32

func (*DetectorConfig_ImageConfig) GetXPos

func (m *DetectorConfig_ImageConfig) GetXPos() []float32

func (*DetectorConfig_ImageConfig) GetYPos

func (m *DetectorConfig_ImageConfig) GetYPos() []float32

func (*DetectorConfig_ImageConfig) ProtoMessage

func (*DetectorConfig_ImageConfig) ProtoMessage()

func (*DetectorConfig_ImageConfig) Reset

func (m *DetectorConfig_ImageConfig) Reset()

func (*DetectorConfig_ImageConfig) String

func (m *DetectorConfig_ImageConfig) String() string

func (*DetectorConfig_ImageConfig) XXX_DiscardUnknown

func (m *DetectorConfig_ImageConfig) XXX_DiscardUnknown()

func (*DetectorConfig_ImageConfig) XXX_Marshal

func (m *DetectorConfig_ImageConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DetectorConfig_ImageConfig) XXX_Merge

func (m *DetectorConfig_ImageConfig) XXX_Merge(src proto.Message)

func (*DetectorConfig_ImageConfig) XXX_Size

func (m *DetectorConfig_ImageConfig) XXX_Size() int

func (*DetectorConfig_ImageConfig) XXX_Unmarshal

func (m *DetectorConfig_ImageConfig) XXX_Unmarshal(b []byte) error

type DetectorConfig_ImageConfig_ChannelDesc

type DetectorConfig_ImageConfig_ChannelDesc struct {
	Hps                  uint32   `protobuf:"varint,1,opt,name=hps,proto3" json:"hps,omitempty"`
	Chan                 uint32   `protobuf:"varint,2,opt,name=chan,proto3" json:"chan,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DetectorConfig_ImageConfig_ChannelDesc) Descriptor

func (*DetectorConfig_ImageConfig_ChannelDesc) Descriptor() ([]byte, []int)

func (*DetectorConfig_ImageConfig_ChannelDesc) GetChan

func (*DetectorConfig_ImageConfig_ChannelDesc) GetHps

func (*DetectorConfig_ImageConfig_ChannelDesc) ProtoMessage

func (*DetectorConfig_ImageConfig_ChannelDesc) Reset

func (*DetectorConfig_ImageConfig_ChannelDesc) String

func (*DetectorConfig_ImageConfig_ChannelDesc) XXX_DiscardUnknown

func (m *DetectorConfig_ImageConfig_ChannelDesc) XXX_DiscardUnknown()

func (*DetectorConfig_ImageConfig_ChannelDesc) XXX_Marshal

func (m *DetectorConfig_ImageConfig_ChannelDesc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DetectorConfig_ImageConfig_ChannelDesc) XXX_Merge

func (*DetectorConfig_ImageConfig_ChannelDesc) XXX_Size

func (*DetectorConfig_ImageConfig_ChannelDesc) XXX_Unmarshal

func (m *DetectorConfig_ImageConfig_ChannelDesc) XXX_Unmarshal(b []byte) error

type DetectorConfig_ImageConfig_Convolution

type DetectorConfig_ImageConfig_Convolution int32
const (
	DetectorConfig_ImageConfig_NONE      DetectorConfig_ImageConfig_Convolution = 0
	DetectorConfig_ImageConfig_DIFFUSION DetectorConfig_ImageConfig_Convolution = 1
)

func (DetectorConfig_ImageConfig_Convolution) EnumDescriptor

func (DetectorConfig_ImageConfig_Convolution) EnumDescriptor() ([]byte, []int)

func (DetectorConfig_ImageConfig_Convolution) String

type DetectorConfig_ImageConfig_Geometry

type DetectorConfig_ImageConfig_Geometry struct {
	N                    uint32   `protobuf:"varint,1,opt,name=n,proto3" json:"n,omitempty"`
	M                    uint32   `protobuf:"varint,2,opt,name=m,proto3" json:"m,omitempty"`
	Pitch                float32  `protobuf:"fixed32,3,opt,name=pitch,proto3" json:"pitch,omitempty"`
	XOffset              float32  `protobuf:"fixed32,4,opt,name=x_offset,json=xOffset,proto3" json:"x_offset,omitempty"`
	YOffset              float32  `protobuf:"fixed32,5,opt,name=y_offset,json=yOffset,proto3" json:"y_offset,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DetectorConfig_ImageConfig_Geometry) Descriptor

func (*DetectorConfig_ImageConfig_Geometry) Descriptor() ([]byte, []int)

func (*DetectorConfig_ImageConfig_Geometry) GetM

func (*DetectorConfig_ImageConfig_Geometry) GetN

func (*DetectorConfig_ImageConfig_Geometry) GetPitch

func (*DetectorConfig_ImageConfig_Geometry) GetXOffset

func (*DetectorConfig_ImageConfig_Geometry) GetYOffset

func (*DetectorConfig_ImageConfig_Geometry) ProtoMessage

func (*DetectorConfig_ImageConfig_Geometry) ProtoMessage()

func (*DetectorConfig_ImageConfig_Geometry) Reset

func (*DetectorConfig_ImageConfig_Geometry) String

func (*DetectorConfig_ImageConfig_Geometry) XXX_DiscardUnknown

func (m *DetectorConfig_ImageConfig_Geometry) XXX_DiscardUnknown()

func (*DetectorConfig_ImageConfig_Geometry) XXX_Marshal

func (m *DetectorConfig_ImageConfig_Geometry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DetectorConfig_ImageConfig_Geometry) XXX_Merge

func (*DetectorConfig_ImageConfig_Geometry) XXX_Size

func (*DetectorConfig_ImageConfig_Geometry) XXX_Unmarshal

func (m *DetectorConfig_ImageConfig_Geometry) XXX_Unmarshal(b []byte) error

type DetectorConfig_ImageConfig_MatrixRow

type DetectorConfig_ImageConfig_MatrixRow struct {
	Array                []float32 `protobuf:"fixed32,1,rep,packed,name=array,proto3" json:"array,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*DetectorConfig_ImageConfig_MatrixRow) Descriptor

func (*DetectorConfig_ImageConfig_MatrixRow) Descriptor() ([]byte, []int)

func (*DetectorConfig_ImageConfig_MatrixRow) GetArray

func (*DetectorConfig_ImageConfig_MatrixRow) ProtoMessage

func (*DetectorConfig_ImageConfig_MatrixRow) ProtoMessage()

func (*DetectorConfig_ImageConfig_MatrixRow) Reset

func (*DetectorConfig_ImageConfig_MatrixRow) String

func (*DetectorConfig_ImageConfig_MatrixRow) XXX_DiscardUnknown

func (m *DetectorConfig_ImageConfig_MatrixRow) XXX_DiscardUnknown()

func (*DetectorConfig_ImageConfig_MatrixRow) XXX_Marshal

func (m *DetectorConfig_ImageConfig_MatrixRow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DetectorConfig_ImageConfig_MatrixRow) XXX_Merge

func (*DetectorConfig_ImageConfig_MatrixRow) XXX_Size

func (*DetectorConfig_ImageConfig_MatrixRow) XXX_Unmarshal

func (m *DetectorConfig_ImageConfig_MatrixRow) XXX_Unmarshal(b []byte) error

type HpsCalibration

type HpsCalibration struct {
	CurrentConv          []float32 `protobuf:"fixed32,1,rep,packed,name=current_conv,json=currentConv,proto3" json:"current_conv,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*HpsCalibration) Descriptor

func (*HpsCalibration) Descriptor() ([]byte, []int)

func (*HpsCalibration) GetCurrentConv

func (m *HpsCalibration) GetCurrentConv() []float32

func (*HpsCalibration) ProtoMessage

func (*HpsCalibration) ProtoMessage()

func (*HpsCalibration) Reset

func (m *HpsCalibration) Reset()

func (*HpsCalibration) String

func (m *HpsCalibration) String() string

func (*HpsCalibration) XXX_DiscardUnknown

func (m *HpsCalibration) XXX_DiscardUnknown()

func (*HpsCalibration) XXX_Marshal

func (m *HpsCalibration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HpsCalibration) XXX_Merge

func (m *HpsCalibration) XXX_Merge(src proto.Message)

func (*HpsCalibration) XXX_Size

func (m *HpsCalibration) XXX_Size() int

func (*HpsCalibration) XXX_Unmarshal

func (m *HpsCalibration) XXX_Unmarshal(b []byte) error

type HpsConfig

type HpsConfig struct {
	NChannels            uint32                              `protobuf:"varint,1,opt,name=n_channels,json=nChannels,proto3" json:"n_channels,omitempty"`
	Channel              map[uint32]*HpsConfig_ChannelConfig `` /* 156-byte string literal not displayed */
	CurrentConv          float32                             `protobuf:"fixed32,3,opt,name=current_conv,json=currentConv,proto3" json:"current_conv,omitempty"`
	Mode                 HpsConfig_Mode                      `protobuf:"varint,4,opt,name=mode,proto3,enum=rdi.detmap.HpsConfig_Mode" json:"mode,omitempty"`
	DetConfig            uint32                              `protobuf:"varint,5,opt,name=det_config,json=detConfig,proto3" json:"det_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                            `json:"-"`
	XXX_unrecognized     []byte                              `json:"-"`
	XXX_sizecache        int32                               `json:"-"`
}

func (*HpsConfig) Descriptor

func (*HpsConfig) Descriptor() ([]byte, []int)

func (*HpsConfig) GetChannel

func (m *HpsConfig) GetChannel() map[uint32]*HpsConfig_ChannelConfig

func (*HpsConfig) GetCurrentConv

func (m *HpsConfig) GetCurrentConv() float32

func (*HpsConfig) GetDetConfig

func (m *HpsConfig) GetDetConfig() uint32

func (*HpsConfig) GetMode

func (m *HpsConfig) GetMode() HpsConfig_Mode

func (*HpsConfig) GetNChannels

func (m *HpsConfig) GetNChannels() uint32

func (*HpsConfig) ProtoMessage

func (*HpsConfig) ProtoMessage()

func (*HpsConfig) Reset

func (m *HpsConfig) Reset()

func (*HpsConfig) String

func (m *HpsConfig) String() string

func (*HpsConfig) XXX_DiscardUnknown

func (m *HpsConfig) XXX_DiscardUnknown()

func (*HpsConfig) XXX_Marshal

func (m *HpsConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HpsConfig) XXX_Merge

func (m *HpsConfig) XXX_Merge(src proto.Message)

func (*HpsConfig) XXX_Size

func (m *HpsConfig) XXX_Size() int

func (*HpsConfig) XXX_Unmarshal

func (m *HpsConfig) XXX_Unmarshal(b []byte) error

type HpsConfig_ChannelConfig

type HpsConfig_ChannelConfig struct {
	Axis        uint32 `protobuf:"varint,1,opt,name=axis,proto3" json:"axis,omitempty"`
	AxisChannel uint32 `protobuf:"varint,2,opt,name=axis_channel,json=axisChannel,proto3" json:"axis_channel,omitempty"`
	// list of pad coordinates connected to this channel
	PadX                 []float32 `protobuf:"fixed32,3,rep,packed,name=pad_x,json=padX,proto3" json:"pad_x,omitempty"`
	PadY                 []float32 `protobuf:"fixed32,4,rep,packed,name=pad_y,json=padY,proto3" json:"pad_y,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*HpsConfig_ChannelConfig) Descriptor

func (*HpsConfig_ChannelConfig) Descriptor() ([]byte, []int)

func (*HpsConfig_ChannelConfig) GetAxis

func (m *HpsConfig_ChannelConfig) GetAxis() uint32

func (*HpsConfig_ChannelConfig) GetAxisChannel

func (m *HpsConfig_ChannelConfig) GetAxisChannel() uint32

func (*HpsConfig_ChannelConfig) GetPadX

func (m *HpsConfig_ChannelConfig) GetPadX() []float32

func (*HpsConfig_ChannelConfig) GetPadY

func (m *HpsConfig_ChannelConfig) GetPadY() []float32

func (*HpsConfig_ChannelConfig) ProtoMessage

func (*HpsConfig_ChannelConfig) ProtoMessage()

func (*HpsConfig_ChannelConfig) Reset

func (m *HpsConfig_ChannelConfig) Reset()

func (*HpsConfig_ChannelConfig) String

func (m *HpsConfig_ChannelConfig) String() string

func (*HpsConfig_ChannelConfig) XXX_DiscardUnknown

func (m *HpsConfig_ChannelConfig) XXX_DiscardUnknown()

func (*HpsConfig_ChannelConfig) XXX_Marshal

func (m *HpsConfig_ChannelConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HpsConfig_ChannelConfig) XXX_Merge

func (m *HpsConfig_ChannelConfig) XXX_Merge(src proto.Message)

func (*HpsConfig_ChannelConfig) XXX_Size

func (m *HpsConfig_ChannelConfig) XXX_Size() int

func (*HpsConfig_ChannelConfig) XXX_Unmarshal

func (m *HpsConfig_ChannelConfig) XXX_Unmarshal(b []byte) error

type HpsConfig_Mode

type HpsConfig_Mode int32
const (
	HpsConfig_CURRENT HpsConfig_Mode = 0
	HpsConfig_PULSED  HpsConfig_Mode = 1
)

func (HpsConfig_Mode) EnumDescriptor

func (HpsConfig_Mode) EnumDescriptor() ([]byte, []int)

func (HpsConfig_Mode) String

func (x HpsConfig_Mode) String() string

type Map

type Map struct {
	// hps_config maps a 32-bit HPS configuration id number to a description of
	// the configuration.  An HPS configuration is common to HPSs in the same
	// slot in multiple detectors of the same design.
	HpsConfig            map[uint32]*HpsConfig      `` /* 177-byte string literal not displayed */
	HpsCalibration       map[uint32]*HpsCalibration `` /* 192-byte string literal not displayed */
	DetConfig            map[uint32]*DetectorConfig `` /* 177-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (*Map) Descriptor

func (*Map) Descriptor() ([]byte, []int)

func (*Map) GetDetConfig

func (m *Map) GetDetConfig() map[uint32]*DetectorConfig

func (*Map) GetHpsCalibration

func (m *Map) GetHpsCalibration() map[uint32]*HpsCalibration

func (*Map) GetHpsConfig

func (m *Map) GetHpsConfig() map[uint32]*HpsConfig

func (*Map) ProtoMessage

func (*Map) ProtoMessage()

func (*Map) Reset

func (m *Map) Reset()

func (*Map) String

func (m *Map) String() string

func (*Map) XXX_DiscardUnknown

func (m *Map) XXX_DiscardUnknown()

func (*Map) XXX_Marshal

func (m *Map) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Map) XXX_Merge

func (m *Map) XXX_Merge(src proto.Message)

func (*Map) XXX_Size

func (m *Map) XXX_Size() int

func (*Map) XXX_Unmarshal

func (m *Map) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL