public final class EcalChannelConstants extends Object
EcalGain
,
EcalCalibration
,
EcalTimeShift
,
EcalBadChannel
Modifier and Type | Field and Description |
---|---|
private boolean |
badChannel
true if channel is bad and should not be used for reconstruction. |
private EcalCalibration |
calibration
The channel's
EcalCalibration conditions (pedestal and noise). |
private EcalGain |
gain
The channel
EcalGain conditions (per channel gain value). |
private EcalPulseWidth |
pulseWidth
The channel's
EcalPulseWidth conditions. |
private EcalTimeShift |
timeShift
The channel
EcalTimeShift conditions. |
Constructor and Description |
---|
EcalChannelConstants()
Class constructor, which is package protected.
|
Modifier and Type | Method and Description |
---|---|
EcalCalibration |
getCalibration()
Get the channel calibration.
|
EcalGain |
getGain()
Get the channel gain.
|
EcalPulseWidth |
getPulseWidth()
Get the pulse width or
null if it does not exist. |
EcalTimeShift |
getTimeShift()
Get the time shift.
|
boolean |
isBadChannel()
true if this is a bad channel. |
(package private) void |
setBadChannel(boolean badChannel)
Set whether this is a bad channel.
|
(package private) void |
setCalibration(EcalCalibration calibration)
Set the calibration.
|
(package private) void |
setGain(EcalGain gain)
Set the gain.
|
(package private) void |
setPulseWidth(EcalPulseWidth pulseWidth)
Set the pulse width.
|
(package private) void |
setTimeShift(EcalTimeShift timeShift)
Set the time shift.
|
private boolean badChannel
true
if channel is bad and should not be used for reconstruction.private EcalCalibration calibration
EcalCalibration
conditions (pedestal and noise).private EcalTimeShift timeShift
EcalTimeShift
conditions.private EcalPulseWidth pulseWidth
EcalPulseWidth
conditions.EcalChannelConstants()
public EcalCalibration getCalibration()
public EcalGain getGain()
public EcalPulseWidth getPulseWidth()
null
if it does not exist.public EcalTimeShift getTimeShift()
public boolean isBadChannel()
true
if this is a bad channel.true
if channel is badvoid setBadChannel(boolean badChannel)
badChannel
- set to true to flag channel as badvoid setCalibration(EcalCalibration calibration)
calibration
- the new calibration objectvoid setGain(EcalGain gain)
gain
- the channel gainvoid setTimeShift(EcalTimeShift timeShift)
timeShift
- the time shiftvoid setPulseWidth(EcalPulseWidth pulseWidth)
pulseWidth
- the pulse widthCopyright © 2019. All rights reserved.