public static final class EcalChannel.ChannelId extends AbstractIdentifier
ChannelId
is a unique number identifying the channel within its conditions collection. The
channels in the database are given sequential channel IDs from 1 to N in semi-arbitrary order. The channel ID is
generally the number used to connect other conditions objects such as EcalGain
or EcalCalibration
to the appropriate crystal in the calorimeter.Modifier and Type | Field and Description |
---|---|
private int |
id
The channel ID value.
|
Constructor and Description |
---|
ChannelId(int[] values)
Create a channel ID.
|
Modifier and Type | Method and Description |
---|---|
long |
encode()
Encode as long value (just returns the int value).
|
boolean |
isValid()
Return
true if ID is valid |
public ChannelId(int[] values)
values
- the values (size 0 with single int value)public long encode()
encode
in class AbstractIdentifier
long
public boolean isValid()
true
if ID is validisValid
in class AbstractIdentifier
true
if ID is validCopyright © 2019. All rights reserved.