public static final class EcalChannel.DaqId extends AbstractIdentifier
DaqId
is the combination of crate, slot and channel that specify the channel's DAQ
configuration.Modifier and Type | Field and Description |
---|---|
private int |
channel
The DAQ channel number.
|
private int |
crate
The DAQ crate number.
|
private int |
slot
The DAQ slot number.
|
Constructor and Description |
---|
DaqId(int[] values)
Create a DAQ ID from an array of values.
|
Modifier and Type | Method and Description |
---|---|
long |
encode()
Encode this ID into a long value.
|
boolean |
isValid()
Check if the values look valid.
|
private int channel
private int crate
private int slot
public DaqId(int[] values)
values
- The list of values (crate, slot, channel).public long encode()
encode
in class AbstractIdentifier
public boolean isValid()
isValid
in class AbstractIdentifier
Copyright © 2019. All rights reserved.