public interface SensorType
Modifier and Type | Method and Description |
---|---|
Hep3Vector |
getChannelDimensions(int channelID)
Returns dimensions of a given channel along U, V, W.
|
int |
getChannelID(Hep3Vector point)
Converts a point in local sensor coordinates to channel ID.
|
Hep3Vector |
getChannelPosition(int channelID)
Returns position of the center of a given channel, in local sensor coordinates.
|
int |
getHitDimension()
Returns the dimension of a measurement by this type of sensor
(1 for strips, 2 for pixels, etc).
|
int |
getMaxChannelID()
Returns maximum channel ID on this sensor.
|
int |
getNeighbor(int channelID,
int shiftU,
int shiftV)
Returns ID of a channel obtained by shifting the given channel by the given
number of channels in the given direction along the local reference frame axis.
|
List<Integer> |
getNeighbors(int channelID)
Returns a list of IDs of all immediate neighbor channels.
|
boolean |
isValidChannelID(int channelID)
Returns true if channel with this ID exists on this sensor.
|
int getChannelID(Hep3Vector point)
Hep3Vector getChannelPosition(int channelID)
int getMaxChannelID()
boolean isValidChannelID(int channelID)
Hep3Vector getChannelDimensions(int channelID)
int getHitDimension()
getChannelDimensions(int)
to decide how to treat measurements
by the given sensor. However, getNeighbors(int)
should only look for
neighbors in U direction if this method returns 1.int getNeighbor(int channelID, int shiftU, int shiftV)
channelID
- ID of the original channelshiftV
- move in V direction by shiftV channelsshiftU
- move in U direction by shiftU channelsCopyright © 2016 Linear Collider Detector (LCD). All rights reserved.