public final class EcalConditions extends Object
Unlike most conditions data types, it does not extend ConditionsObject
, because it is
a composite object containing data assembled from many other ConditionsObject
and has a
special data converter EcalConditionsConverter
.
Modifier and Type | Field and Description |
---|---|
private EcalChannel.EcalChannelCollection |
channelCollection
The collection of
EcalChannel objects. |
private Map<EcalChannel,EcalChannelConstants> |
channelConstants
Map between channels and their conditions constants.
|
private static int |
DIVIDER_SIZE
This is just used for a divider length in print output.
|
private org.lcsim.geometry.Subdetector |
subdetector
The current ECAL subdetector in the geometry.
|
Constructor and Description |
---|
EcalConditions(org.lcsim.geometry.Subdetector subdetector)
Class constructor.
|
Modifier and Type | Method and Description |
---|---|
EcalChannel.EcalChannelCollection |
getChannelCollection()
Get the map between database IDs and
EcalChannel objects. |
EcalChannelConstants |
getChannelConstants(EcalChannel channel)
Get the conditions constants for a specific channel.
|
(package private) void |
setChannelCollection(EcalChannel.EcalChannelCollection channelCollection)
Set the channel map.
|
String |
toString()
Convert this object to a string.
|
private static final int DIVIDER_SIZE
private EcalChannel.EcalChannelCollection channelCollection
EcalChannel
objects.private final Map<EcalChannel,EcalChannelConstants> channelConstants
private final org.lcsim.geometry.Subdetector subdetector
EcalConditions(org.lcsim.geometry.Subdetector subdetector)
subdetector
- the ECAL subdetector objectpublic EcalChannel.EcalChannelCollection getChannelCollection()
EcalChannel
objects.public EcalChannelConstants getChannelConstants(EcalChannel channel)
channel
- the ECAL channelIllegalArgumentException
- if channel does not exist in the channel mapvoid setChannelCollection(EcalChannel.EcalChannelCollection channelCollection)
channelCollection
- the channel mapCopyright © 2019. All rights reserved.