org.lcsim.analysis
Class EMClusterAnalyzer

java.lang.Object
  extended byhep.lcd.util.driver.AbstractProcessor
      extended byorg.lcsim.analysis.EMClusterAnalyzer
All Implemented Interfaces:
hep.lcd.util.driver.Processor

public class EMClusterAnalyzer
extends hep.lcd.util.driver.AbstractProcessor

A class to analyze EMClusters

Author:
Norman A. Graf

Field Summary
 boolean _initialized
           
 
Fields inherited from class hep.lcd.util.driver.AbstractProcessor
context
 
Constructor Summary
EMClusterAnalyzer(java.lang.String task, double emin)
          Constructor
 
Method Summary
 void match(hep.lcd.event.ClusterList clusters, java.util.List mcParticles)
           
 void process(hep.lcd.event.LCDEvent event)
          Process the LCDEvent
 void stop()
          Write out the HMatrix if in accumulate mode.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_initialized

public boolean _initialized
Constructor Detail

EMClusterAnalyzer

public EMClusterAnalyzer(java.lang.String task,
                         double emin)
Constructor

Parameters:
task - String determining what to do
  1. build : construct HMatrix
  2. analyze: analyze clusters
emin - Minimum cluster energy
Method Detail

process

public void process(hep.lcd.event.LCDEvent event)
Process the LCDEvent

Parameters:
event - The LCDEvent to process

stop

public void stop()
Write out the HMatrix if in accumulate mode.


match

public void match(hep.lcd.event.ClusterList clusters,
                  java.util.List mcParticles)