public class SCJet 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 FastJet http://fastjet.fr/ implementation that uses rapidity. Use light-weight
KTjet class when
using pseudo-rapidity and phi to define distance parameters. 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 |
|---|
SCJet(double R,
double minpt)
Initialize calculations of the kT algorithm.
|
SCJet(double R,
int recom,
int mode,
double minpt)
Initialize calculations of the longitudinally invariant kT algorithm in
inclusive mode.
|
SCJet(double R,
int recom,
int mode,
double minpt,
boolean isfast)
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.
|
double |
getDistance(ParticleD a,
ParticleD b)
Calculate R distance in y-phi.
|
ArrayList<ParticleD> |
getJetsSorted()
Get jets after sorting in jet pT.
|
double |
getKtDistance1(ParticleD a)
This is the KT distance to the beam (assuming Z=Y=0).
|
double |
getKtDistance12(ParticleD a,
ParticleD b)
Calculate delta R distance.
|
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 SCJet(double R,
int recom,
int mode,
double minpt,
boolean isfast)
R - distance measurerecom - recombination scheme.mode - clustering mode dij=min(kT_i^{2* mode},kT_j^{2* mode})). minpt - min pT for final jets.isfast - if true, use a seeded anti-KT algorithm. This algorithm is faster, but some difference may exist with the original anti-KT (i.e. when true is set) for soft jets. If false, use the traditional that scales as N^3 (slow).public SCJet(double R,
int recom,
int mode,
double minpt)
R - distance measurerecom - recombination scheme.mode - clustering mode dij=min(kT_i^{2* mode},kT_j^{2* mode})). minpt - min pT for final jets.public SCJet(double R,
double minpt)
R - distance measureminpt - min pT for final jets.public List<ParticleD> buildJets(List<ParticleD> list)
list - list with particlespublic ArrayList<ParticleD> getJetsSorted()
public void printJets()
public String toString()
public double getKtDistance12(ParticleD a, ParticleD b)
a - input particleb - input particlep - power parameterpublic double getDistance(ParticleD a, ParticleD b)
a - input particleb - input particlepublic double getKtDistance1(ParticleD a)
a - particlepublic void setDebug(boolean debug)
debug - true if printing benchmark information.public static void main(String[] args)
args - Jas4pp 1.5 © Java Analysis Studio for Particle Physics