public class Kpix extends Object implements ReadoutChip
Modifier and Type | Class and Description |
---|---|
private static class |
Kpix.ControlRegisters |
private static class |
Kpix.KpixChannel |
ReadoutChip.ReadoutChannel
Modifier and Type | Field and Description |
---|---|
private static org.apache.commons.math.distribution.BinomialDistribution |
_binomial |
(package private) Kpix.KpixChannel |
_channel |
(package private) Kpix.ControlRegisters |
_control_registers |
private static org.apache.commons.math.distribution.NormalDistribution |
_gaussian |
private double |
_neighbor_threshold |
private double |
_noise_threshold |
private static Random |
_random |
private static int |
VERSION_NUMBER |
Constructor and Description |
---|
Kpix()
Creates a new instance of Kpix
|
Modifier and Type | Method and Description |
---|---|
private void |
addNoise(SiElectrodeDataCollection data,
SiSensorElectrodes electrodes) |
double |
decodeCharge(RawTrackerHit hit) |
int |
decodeTime(RawTrackerHit hit) |
private SortedMap<Integer,List<Integer>> |
digitize(SiElectrodeDataCollection data,
SiSensorElectrodes electrodes) |
static int |
drawBinomial(int ntrials,
double probability) |
static double |
drawGaussianAboveThreshold(double prob_above_threshold)
Return a random variable following normal distribution, but beyond
threshold provided during initialization.
|
Kpix.KpixChannel |
getChannel(int channel_number) |
private Kpix.ControlRegisters |
getControlRegisters() |
static double |
normalCDF(double normalized_integration_limit) |
SortedMap<Integer,List<Integer>> |
readout(SiElectrodeDataCollection data,
SiSensorElectrodes electrodes) |
void |
setNeighborThreshold(double neighbor_threshold)
Set the threshold for reading a channel if it's neighbor is
above the noise threshold.
|
void |
setNoiseThreshold(double noise_threshold)
Set noise threshold for creating noise hits.
|
private static final int VERSION_NUMBER
private static Random _random
private static org.apache.commons.math.distribution.NormalDistribution _gaussian
private static org.apache.commons.math.distribution.BinomialDistribution _binomial
private double _noise_threshold
private double _neighbor_threshold
Kpix.ControlRegisters _control_registers
Kpix.KpixChannel _channel
public Kpix.KpixChannel getChannel(int channel_number)
getChannel
in interface ReadoutChip
public void setNoiseThreshold(double noise_threshold)
noise_threshold
- public void setNeighborThreshold(double neighbor_threshold)
neighbor_threshold
- public SortedMap<Integer,List<Integer>> readout(SiElectrodeDataCollection data, SiSensorElectrodes electrodes)
readout
in interface ReadoutChip
public double decodeCharge(RawTrackerHit hit)
decodeCharge
in interface ReadoutChip
public int decodeTime(RawTrackerHit hit)
decodeTime
in interface ReadoutChip
private Kpix.ControlRegisters getControlRegisters()
private void addNoise(SiElectrodeDataCollection data, SiSensorElectrodes electrodes)
private SortedMap<Integer,List<Integer>> digitize(SiElectrodeDataCollection data, SiSensorElectrodes electrodes)
public static double normalCDF(double normalized_integration_limit)
public static int drawBinomial(int ntrials, double probability)
public static double drawGaussianAboveThreshold(double prob_above_threshold)
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.