public class SimpleCosmicClusterer extends AbstractClusterer
This algorithm clusters an input list of CalorimeterHits using an iterative nearest neighbor algorithm.
There is a set of cuts applied on the initial cluster list that includes the following defaults:
This algorithm does not cluster across the beam gap. Separate clusters are made for the top and bottom sets of crystals.
Modifier and Type | Field and Description |
---|---|
protected int |
maxHitsPerRow |
protected int |
minClusterSize |
protected int |
minRows |
cuts, ecal, neighborMap
Constructor and Description |
---|
SimpleCosmicClusterer()
Default constructor that sets cut names and default values.
|
Modifier and Type | Method and Description |
---|---|
protected List<org.lcsim.event.Cluster> |
applyCuts(List<org.lcsim.event.Cluster> clusterList)
Apply selection cuts to cluster list and return filtered list.
|
List<org.lcsim.event.Cluster> |
createClusters(org.lcsim.event.EventHeader event,
List<org.lcsim.event.CalorimeterHit> hitList)
This method implements the cosmic clustering algorithm which uses a iterative
nearest neighbor algorithm.
|
ClusterType |
getClusterType()
Get the type code for the clusters produced by this algorithm.
|
void |
initialize()
Initialize some instance variables from cut settings.
|
conditionsChanged, createBasicCluster, getClusterTypeEncoding, getCuts, getIdentifierHelper
protected int minClusterSize
protected int minRows
protected int maxHitsPerRow
SimpleCosmicClusterer()
public void initialize()
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> hitList)
createClusters
in interface Clusterer
createClusters
in class AbstractClusterer
hitList
- The input hit list of hits.event
- The current LCSim event.protected List<org.lcsim.event.Cluster> applyCuts(List<org.lcsim.event.Cluster> clusterList)
clusterList
- The input hit lists.public ClusterType getClusterType()
AbstractClusterer
getClusterType
in interface Clusterer
getClusterType
in class AbstractClusterer
Copyright © 2019. All rights reserved.