public class LegacyClusterer extends AbstractClusterer
This Driver creates clusters from a CalorimeterHit input collection.
The clustering algorithm is implemented according to the description on pages 83 and 84 of the HPS Proposal document.
Modifier and Type | Field and Description |
---|---|
(package private) double |
minClusterSeedEnergy |
(package private) double |
minHitEnergy |
cuts, ecal, neighborMap
Constructor and Description |
---|
LegacyClusterer() |
Modifier and Type | Method and Description |
---|---|
List<org.lcsim.event.Cluster> |
createClusters(org.lcsim.event.EventHeader event,
List<org.lcsim.event.CalorimeterHit> hits)
This is the primary method for sub-classes to implement their clustering algorithm.
|
ClusterType |
getClusterType()
Get the type code for the clusters produced by this algorithm.
|
void |
initialize()
By default nothing is done in this method, but start of job initialization can happen here like reading
cut settings into instance variables for convenience.
|
conditionsChanged, createBasicCluster, getClusterTypeEncoding, getCuts, getIdentifierHelper
public void initialize()
AbstractClusterer
startOfData
method of ClusterDriver
.initialize
in interface Clusterer
initialize
in class AbstractClusterer
public List<org.lcsim.event.Cluster> createClusters(org.lcsim.event.EventHeader event, List<org.lcsim.event.CalorimeterHit> hits)
AbstractClusterer
createClusters
in interface Clusterer
createClusters
in class AbstractClusterer
event
- The current LCSim event.hits
- the list of hitspublic ClusterType getClusterType()
AbstractClusterer
getClusterType
in interface Clusterer
getClusterType
in class AbstractClusterer
Copyright © 2019. All rights reserved.