public class SimpleSvtReadout extends TriggerableDriver
Modifier and Type | Class and Description |
---|---|
private class |
SimpleSvtReadout.StripHit |
Modifier and Type | Field and Description |
---|---|
private boolean |
addNoise |
private boolean |
dropBadChannels |
private boolean |
enablePileupCut |
private boolean |
enableThresholdCut |
private Map<org.lcsim.detector.tracker.silicon.SiSensor,PriorityQueue<SimpleSvtReadout.StripHit>[]> |
hitMap |
private double |
noiseThreshold |
private boolean |
noPileup |
private String |
outputCollection |
private double |
pileupCutoff |
private String |
readout |
private org.lcsim.recon.tracking.digitization.sisim.config.SimTrackerHitReadoutDriver |
readoutDriver |
private double |
readoutLatency |
private double |
readoutOffset |
private String |
relationCollection |
private int |
samplesAboveThreshold |
private List<HpsSiSensor> |
sensors |
private PulseShape |
shape |
private org.lcsim.recon.tracking.digitization.sisim.SiSensorSim |
siSimulation |
private static String |
SVT_SUBDETECTOR_NAME |
private double |
timeOffset |
private boolean |
useTimingConditions |
private int |
verbosity |
triggerDelay
Constructor and Description |
---|
SimpleSvtReadout() |
Modifier and Type | Method and Description |
---|---|
private void |
addNoise(org.lcsim.detector.tracker.silicon.SiSensor sensor,
int channel,
double[] signal) |
private boolean |
badChannelCut(org.lcsim.event.RawTrackerHit hit) |
void |
detectorChanged(org.lcsim.geometry.Detector detector) |
private List<SimpleSvtReadout.StripHit> |
doSiSimulation() |
int |
getTimestampType() |
private boolean |
pileupCut(org.lcsim.event.RawTrackerHit hit) |
void |
process(org.lcsim.event.EventHeader event) |
protected void |
processTrigger(org.lcsim.event.EventHeader event) |
private boolean |
readoutCuts(org.lcsim.event.RawTrackerHit hit) |
double |
readoutDeltaT() |
private boolean |
samplesAboveThreshold(org.lcsim.event.RawTrackerHit hit) |
void |
setAddNoise(boolean addNoise) |
void |
setDropBadChannels(boolean dropBadChannels) |
void |
setEnablePileupCut(boolean enablePileupCut) |
void |
setEnableThresholdCut(boolean enableThresholdCut) |
void |
setNoiseThreshold(double noiseThreshold) |
void |
setNoPileup(boolean noPileup) |
void |
setPulseShape(String pulseShape) |
void |
setReadoutLatency(double readoutLatency) |
void |
setSamplesAboveThreshold(int samplesAboveThreshold) |
void |
setUseTimingConditions(boolean useTimingConditions) |
void |
setVerbosity(int verbosity)
Set the amount of printouts generated by this driver.
|
addTrigger, checkTrigger, isLive, setTriggerDelay, startOfData
private static final String SVT_SUBDETECTOR_NAME
private PulseShape shape
private org.lcsim.recon.tracking.digitization.sisim.config.SimTrackerHitReadoutDriver readoutDriver
private org.lcsim.recon.tracking.digitization.sisim.SiSensorSim siSimulation
private Map<org.lcsim.detector.tracker.silicon.SiSensor,PriorityQueue<SimpleSvtReadout.StripHit>[]> hitMap
private List<HpsSiSensor> sensors
private double readoutOffset
private double readoutLatency
private double pileupCutoff
private String readout
private double timeOffset
private boolean noPileup
private boolean addNoise
private boolean useTimingConditions
private boolean enableThresholdCut
private int samplesAboveThreshold
private double noiseThreshold
private boolean enablePileupCut
private boolean dropBadChannels
private String outputCollection
private String relationCollection
private int verbosity
public void setAddNoise(boolean addNoise)
public void setEnablePileupCut(boolean enablePileupCut)
public void setEnableThresholdCut(boolean enableThresholdCut)
public void setNoiseThreshold(double noiseThreshold)
public void setSamplesAboveThreshold(int samplesAboveThreshold)
public void setNoPileup(boolean noPileup)
public void setDropBadChannels(boolean dropBadChannels)
public void setReadoutLatency(double readoutLatency)
public void setUseTimingConditions(boolean useTimingConditions)
public void setVerbosity(int verbosity)
verbosity
- public void setPulseShape(String pulseShape)
public void detectorChanged(org.lcsim.geometry.Detector detector)
detectorChanged
in class org.lcsim.util.Driver
public void process(org.lcsim.event.EventHeader event)
process
in class org.lcsim.util.Driver
private List<SimpleSvtReadout.StripHit> doSiSimulation()
private void addNoise(org.lcsim.detector.tracker.silicon.SiSensor sensor, int channel, double[] signal)
private boolean readoutCuts(org.lcsim.event.RawTrackerHit hit)
private boolean badChannelCut(org.lcsim.event.RawTrackerHit hit)
private boolean pileupCut(org.lcsim.event.RawTrackerHit hit)
private boolean samplesAboveThreshold(org.lcsim.event.RawTrackerHit hit)
protected void processTrigger(org.lcsim.event.EventHeader event)
processTrigger
in class TriggerableDriver
public double readoutDeltaT()
readoutDeltaT
in class TriggerableDriver
public int getTimestampType()
getTimestampType
in class TriggerableDriver
Copyright © 2019. All rights reserved.