|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objecthep.lcd.util.driver.AbstractProcessor
org.lcsim.emcluster.EMConeClusterBuilder
EMConeClusterBuilder implements a q-f cone clustering algorithm that assigns all neighboring hits to the same cluster if they fall within a radius R of the cluster axis. The axis is originally defined by a seed cell, and is iteratively updated as cells are added. This version of the ClusterBuilder splits overlapping clusters by assigning cells in the overlap region to the nearest cluster axis.
| Field Summary |
| Fields inherited from class hep.lcd.util.driver.AbstractProcessor |
context |
| Constructor Summary | |
EMConeClusterBuilder(double radius,
double seed,
double minE)
Constructor |
|
| Method Summary | |
java.util.List |
cluster(hep.lcd.event.CalorimeterHits hits)
Takes a list of CalorimeterHits, clusters them, and returns a list of EMClusters |
java.util.List |
cluster(java.util.Vector in)
Takes a list of CalorimeterHits, clusters them, and returns a list of EMClusters |
double |
dTheta(EMCluster c1,
EMCluster c2)
Calculate the angle between two EMClusters |
void |
process(hep.lcd.event.LCDEvent event)
Processes an LCDEvent to find EMClusters |
void |
resolve(EMCluster c1,
EMCluster c2)
Given two overlapping clusters, assign cells to nearest axis. |
| Methods inherited from class hep.lcd.util.driver.AbstractProcessor |
clearContext, getDebugLevel, getDebugStream, getEventPrefix, getHistogramLevel, getName, getParameterFile, getParameters, getParameters, getRandom, histogram, init, setContext, setDebugLevel, setDetector, setEventPrefix, setHistogramLevel, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EMConeClusterBuilder(double radius,
double seed,
double minE)
radius - The cone radius in q-f spaceseed - The minimum energy for a cone seed cell (in GeV)minE - The minimum energy for a cluster (in GeV)| Method Detail |
public void process(hep.lcd.event.LCDEvent event)
event - The LCDEvent to processpublic java.util.List cluster(hep.lcd.event.CalorimeterHits hits)
hits - The CalorimeterHits collection of CalorimeterHits
public java.util.List cluster(java.util.Vector in)
public double dTheta(EMCluster c1,
EMCluster c2)
c1 - First EMClusterc2 - Second EMCluster
public void resolve(EMCluster c1,
EMCluster c2)
c1 - First EMClusterc2 - Second EMCluster
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||