FreeHEP API
Version current

hep.physics.jet
Interface JetFinder

All Known Implementing Classes:
AbstractJetFinder, FixNumberOfJetsFinder

public interface JetFinder

Interface to be implemented by all jet finders

Version:
12/16/98
Author:
Gary Bower
Source Code:
JetFinder.java

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
 List particlesInJet(int index)
          Find out which particles are in a paricular jet
 void setEvent(Collection data)
          Set the current event data
 void setEvent(Collection data, 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 List 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(Collection data)
Set the current event data


setEvent

public void setEvent(Collection data,
                     Predicate cut)
Set the current event data

Parameters:
cut - Only elements of e that are accepted by this predicate will be used in the jet finding

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.