public class EcalReadoutToTriggerConverterDriver
extends org.lcsim.util.Driver
Modifier and Type | Field and Description |
---|---|
private boolean |
applyBadCrystalMap |
private boolean |
dropBadFADC |
private String |
ecalCollectionName |
private EcalConditions |
ecalConditions |
private String |
ecalReadoutName |
private int |
integralWindow |
private static boolean |
isBadChannelLoaded |
private String |
rawCollectionName |
private double |
readoutPeriod |
private int |
readoutThreshold |
private double |
threshold |
private double |
timeShift |
private double |
tp |
private int |
triggerThreshold |
private int |
truncateScale |
Constructor and Description |
---|
EcalReadoutToTriggerConverterDriver() |
Modifier and Type | Method and Description |
---|---|
void |
detectorChanged(org.lcsim.geometry.Detector detector) |
private EcalChannelConstants |
findChannel(long cellID)
Convert physical ID to gain value.
|
private int |
getCrate(long cellID)
Return crate number from cellID
|
private int |
getSlot(long cellID)
Return slot number from cellID
|
org.lcsim.event.CalorimeterHit |
HitDtoA(org.lcsim.event.base.BaseRawCalorimeterHit hit,
int window) |
boolean |
isBadCrystal(org.lcsim.event.CalorimeterHit hit) |
boolean |
isBadFADC(org.lcsim.event.CalorimeterHit hit) |
void |
process(org.lcsim.event.EventHeader event) |
private double |
pulseAmplitude(double time) |
void |
setApplyBadCrystalMap(boolean apply) |
void |
setDropBadFADC(boolean dropBadFADC) |
void |
setEcalCollectionName(String ecalCollectionName) |
void |
setIntegralWindow(int integralWindow) |
void |
setRawCollectionName(String rawCollectionName) |
void |
setThreshold(double threshold) |
void |
setTp(double tp) |
void |
setTruncateScale(int truncateScale) |
void |
startOfData() |
private EcalConditions ecalConditions
private String rawCollectionName
private final String ecalReadoutName
private String ecalCollectionName
private int integralWindow
private double threshold
private boolean applyBadCrystalMap
private boolean dropBadFADC
private double tp
private final double readoutPeriod
private final int readoutThreshold
private final int triggerThreshold
private double timeShift
private int truncateScale
private static final boolean isBadChannelLoaded
public void setTp(double tp)
public void setDropBadFADC(boolean dropBadFADC)
public void setThreshold(double threshold)
public void setIntegralWindow(int integralWindow)
public void setEcalCollectionName(String ecalCollectionName)
public void setRawCollectionName(String rawCollectionName)
public void setApplyBadCrystalMap(boolean apply)
public void setTruncateScale(int truncateScale)
public void startOfData()
startOfData
in class org.lcsim.util.Driver
public void detectorChanged(org.lcsim.geometry.Detector detector)
detectorChanged
in class org.lcsim.util.Driver
public boolean isBadCrystal(org.lcsim.event.CalorimeterHit hit)
public boolean isBadFADC(org.lcsim.event.CalorimeterHit hit)
public void process(org.lcsim.event.EventHeader event)
process
in class org.lcsim.util.Driver
public org.lcsim.event.CalorimeterHit HitDtoA(org.lcsim.event.base.BaseRawCalorimeterHit hit, int window)
private double pulseAmplitude(double time)
private EcalChannelConstants findChannel(long cellID)
cellID
- (long)private int getCrate(long cellID)
cellID
- (long)private int getSlot(long cellID)
cellID
- (long)Copyright © 2019. All rights reserved.