public abstract class AbstractJetFinder extends Object implements JetFinder
Modifier and Type | Method and Description |
---|---|
int |
fewestTracks()
Find the jet with the fewest particles
|
double |
getYCut()
Obtain the current ycut
|
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 |
setAssumedMassFor3Vectors(double mass)
Set the mass to use when converting 3-vectors to 4-vectors
This is a static method so the mass applies to all instances
of AbstractJetFinder.
|
void |
setEvent(Collection data)
Call this to input a new event to the jet finder.
|
void |
setEvent(Collection data,
Predicate cut)
Call this to input a new event to the jet finder.
|
void |
setYCut(double ycut)
Set the YCut value.
|
public int njets()
JetFinder
public HepLorentzVector jet(int index)
JetFinder
public List particlesInJet(int index)
JetFinder
particlesInJet
in interface JetFinder
index
- The index of the jet of interestpublic int nParticlesPerJet(int index)
JetFinder
nParticlesPerJet
in interface JetFinder
index
- The index of the jet of interestpublic int fewestTracks()
JetFinder
fewestTracks
in interface JetFinder
public double getYCut()
public void setYCut(double ycut)
ycut
- the new value to be set for ycutpublic void setEvent(Collection data)
public void setAssumedMassFor3Vectors(double mass)
mass
- The new value to usepublic void setEvent(Collection data, Predicate cut)
Jas4pp 1.5 © Java Analysis Studio for Particle Physics