public class JetN2 extends Object
ParticleD
class.
This class uses double values for calculations, caching and requires more
memory, compared to the light-weight KTjet
class that
uses floats and pseudo-rapidity to define the distance parameter. This
implementation can access jet constituents.
This algorithm is similar to the N2 FastJet http://fastjet.fr/ implementation that uses rapidity. The method uses E-scheme to combine particles (p1+p2). More details is in http://arxiv.org/pdf/hep-ph/0210022v1.pdf.
Constructor and Description |
---|
JetN2(double R)
Initialize calculations of the kT algorithm.
|
JetN2(double R,
double minpt)
Initialize calculations of the antikT algorithm.
|
JetN2(double R,
int recom,
String type,
double minpt)
Initialize calculations of the longitudinally invariant kT algorithm in
inclusive mode.
|
JetN2(double R,
String type,
double minpt)
Initialize calculations of the longitudinally invariant kT algorithm in
inclusive mode.
|
Modifier and Type | Method and Description |
---|---|
List<ParticleD> |
buildJets(List<ParticleD> list)
Run the jet algorithm using the list of particles.
|
ArrayList<ParticleD> |
getJetsSorted()
Get jets after sorting in jet pT.
|
String |
info()
Return information about the jet setting.
|
static void |
main(String[] args)
Main class for testing.
|
void |
printJets()
Print the kT jets for debugging.
|
void |
setDebug(boolean debug)
Print debugging information.
|
String |
toString()
Print the kT jets for debugging to a string.
|
public JetN2(double R, int recom, String type, double minpt)
R
- distance measurerecom
- recombination scheme.type
- [kt,antikt,ca] minpt
- min pT for final jets.public JetN2(double R, String type, double minpt)
R
- distance measuretype
- [kt,antikt,ca] minpt
- min pT for final jets.public JetN2(double R, double minpt)
R
- distance measureminpt
- min pT for final jets.public JetN2(double R)
R
- distance measurepublic List<ParticleD> buildJets(List<ParticleD> list)
list
- list with particlespublic ArrayList<ParticleD> getJetsSorted()
public void printJets()
public String toString()
public void setDebug(boolean debug)
debug
- true if printing benchmark information.public String info()
info
- Information on the current settings.public static void main(String[] args)
args
- Jas4pp 1.5 © Java Analysis Studio for Particle Physics