hep.lcd.recon.cluster.simple
Class SimpleClusterBuilder
java.lang.Object
|
+--hep.lcd.util.driver.AbstractProcessor
|
+--hep.lcd.recon.cluster.simple.SimpleClusterBuilder
- public class SimpleClusterBuilder
- extends AbstractProcessor
SimpleClusterBuilder implements a brute force clustering algorithm that
simply assigns all neighbouring hits to the same cluster.
- Source Code:
- SimpleClusterBuilder.java
Method Summary |
double |
getEMThreshold()
|
double |
getHADThreshold()
|
void |
process(LCDEvent event)
Called by the driver when this processor should process an event. |
void |
setEMThreshold(double threshold)
Sets the minimum energy needed by a hit in the EM calorimeter for it
to form a cluster nucleus |
void |
setHADThreshold(double threshold)
Sets the minimum energy needed by a hit in the HAD calorimeter for it
to form a cluster nucleus |
Methods inherited from class hep.lcd.util.driver.AbstractProcessor |
clearContext, getDebugLevel, getDebugStream, getHistogramLevel, getName, getParameterFile, getParameters, getParameters, getRandom, histogram, init, setContext, setDetector, start, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleClusterBuilder
public SimpleClusterBuilder()
process
public void process(LCDEvent event)
- Description copied from interface:
Processor
- Called by the driver when this processor should process an event.
If the processor produces new output it should add it to the event.
- Following copied from interface:
hep.lcd.util.driver.Processor
- Parameters:
event
- The event to process
setEMThreshold
public void setEMThreshold(double threshold)
- Sets the minimum energy needed by a hit in the EM calorimeter for it
to form a cluster nucleus
- Parameters:
threshold
- The new energy threshold
setHADThreshold
public void setHADThreshold(double threshold)
- Sets the minimum energy needed by a hit in the HAD calorimeter for it
to form a cluster nucleus
- Parameters:
threshold
- The new energy threshold
getEMThreshold
public double getEMThreshold()
getHADThreshold
public double getHADThreshold()
The LCD Group