hep.physics.jet
Interface JetFinder
-
- All Known Implementing Classes:
- AbstractJetFinder, DurhamJetFinder, FixNumberOfJetsFinder, GenevaJetFinder, JadeE0JetFinder, JadeEJetFinder, JadeJetFinder, JadeP0JetFinder, JadePJetFinder
public interface JetFinderInterface to be implemented by all jet finders
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description intfewestTracks()Find the jet with the fewest particlesHepLorentzVectorjet(int index)calculate 4 vector sum for a jetintnjets()The number of jets foundintnParticlesPerJet(int index)Find out many particles are in a particular jetjava.util.ListparticlesInJet(int index)Find out which particles are in a paricular jetvoidsetEvent(java.util.Collection data)Set the current event datavoidsetEvent(java.util.Collection data, Predicate cut)Set the current event data
-
-
-
Method Detail
-
njets
int njets()
The number of jets found- Returns:
- The number of jets found
-
jet
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
java.util.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
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
int fewestTracks()
Find the jet with the fewest particles- Returns:
- Returns the number of tracks in the jet with the fewest tracks
-
setEvent
void setEvent(java.util.Collection data)
Set the current event data- Parameters:
data- An List of 3- or 4-vectors
-
setEvent
void setEvent(java.util.Collection data, Predicate cut)Set the current event data- Parameters:
data- An List of 3- or 4-vectorscut- Only elements of e that are accepted by this predicate will be used in the jet finding
-
-
DMelt 3.0 © DataMelt by jWork.ORG