class SystemIDMap extends Object
Modifier and Type | Field and Description |
---|---|
private Map<Integer,Subdetector> |
_subdetectors |
Constructor and Description |
---|
SystemIDMap() |
Modifier and Type | Method and Description |
---|---|
protected void |
add(int sysid,
Subdetector subdetector)
Add an entry mapping system id to a Subdetector.
|
protected Subdetector |
get(int sysid)
Retrieve a Subdetector by system ID.
|
private Map<Integer,Subdetector> _subdetectors
protected void add(int sysid, Subdetector subdetector)
sysid
- System ID which must be > 0subdetector
- Subdetector with this sysidprotected Subdetector get(int sysid)
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.