hep.physics.jets
Interface JetFinder

All Known Implementing Classes:
AbstractJetFinder

public interface JetFinder

Interface to be implemented by all jet finders


Method Summary
 int fewestTracks()
          Find the jet with the fewest particles
 HepLorentzVector jet(int index)
          calculate 4 vector sum for a jet
 int njets()
          The number of jets found
 int nParticlesPerJet(int index)
          Find out many particles are in a particular jet
 java.util.Enumeration particlesInJet(int index)
          Find out which particles are in a paricular jet
 void setEvent(java.util.Enumeration e)
          Set the current event data
 void setEvent(java.util.Enumeration e, Predicate cut)
          Set the current event data
 

Method Detail

njets

public int njets()
The number of jets found
Returns:
The number of jets found

jet

public HepLorentzVector jet(int index)
calculate 4 vector sum for a jet
Parameters:
index - The index of the jet of interest
Returns:
The 4 vector of the jet

particlesInJet

public java.util.Enumeration particlesInJet(int index)
Find out which particles are in a paricular jet
Parameters:
index - The index of the jet of interest
Returns:
An enumeration of the particles within the jet

nParticlesPerJet

public int nParticlesPerJet(int index)
Find out many particles are in a particular jet
Parameters:
index - The index of the jet of interest
Returns:
The number of particles

fewestTracks

public int fewestTracks()
Find the jet with the fewest particles
Returns:
Returns the number of tracks in the jet with the fewest tracks

setEvent

public void setEvent(java.util.Enumeration e)
Set the current event data
Parameters:
e - An Enumeration of 3- or 4-vectors

setEvent

public void setEvent(java.util.Enumeration e,
                     Predicate cut)
Set the current event data
Parameters:
e - An Enumeration of 3- or 4-vectors
cut - Only elements of e that are accepted by this predicate will be used in the jet finding