org.lcsim.reconstructedParticle
Class EMIdentifier

java.lang.Object
  extended byorg.lcsim.reconstructedParticle.EMIdentifier
All Implemented Interfaces:
ParticleTypeIdentifier

public class EMIdentifier
extends java.lang.Object
implements ParticleTypeIdentifier


Constructor Summary
EMIdentifier(java.lang.String s)
          Single String argument Constructor
EMIdentifier(java.lang.String hmatrixName, double chiSquareCut, double trackCut)
          Fully qualified constructor\
 
Method Summary
 java.lang.String createIdentifierString()
          Creates a String which can be used to uniquely recreate the concrete class implementing ParticleTypeIdentifier.
 ParticleId identify(ReconstructedParticle part)
          The input ReconstructedParticle is analyzed by the concrete ParticleTypeIdentifier class.
 java.lang.String toString()
          String representation of this class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EMIdentifier

public EMIdentifier(java.lang.String hmatrixName,
                    double chiSquareCut,
                    double trackCut)
Fully qualified constructor\


EMIdentifier

public EMIdentifier(java.lang.String s)
Single String argument Constructor

Parameters:
s - String returned by createIdentifierString()
Method Detail

toString

public java.lang.String toString()
String representation of this class

Returns:
String description of this class.

createIdentifierString

public java.lang.String createIdentifierString()
Creates a String which can be used to uniquely recreate the concrete class implementing ParticleTypeIdentifier.

Specified by:
createIdentifierString in interface ParticleTypeIdentifier
Returns:
String to be used in the class constructor.

identify

public ParticleId identify(ReconstructedParticle part)
The input ReconstructedParticle is analyzed by the concrete ParticleTypeIdentifier class. If a ParticleType can be associated with this particle it will be added to the ReconstructedParticle.

Specified by:
identify in interface ParticleTypeIdentifier
Parameters:
part - Input ReconstructedParticle
Returns:
ParticleId for this ReconstructedParticle using this ParticleTypeIdentifier