public class KTjet extends Object
ParticleF
with float definitions. The algorithm uses phi-pseudorapidity to define distances, similar to the Tevatron approach. To speed-up calculations and to have a low memory footprint, it uses ParticleF
with float definitions. Use slower SCJet
class for with double types and rapidity, similar to the LHC approach. This class uses E-scheme to combine particles (p1+p2).
More details in http://arxiv.org/pdf/hep-ph/0210022v1.pdf.Constructor and Description |
---|
KTjet(double R,
double minpt)
Initialize calculations of the KT algorithm.
|
KTjet(double R,
int recom,
double minpt)
Initialize calculations of the KT algorithm.
|
KTjet(double R,
int recom,
int mode,
double minpt)
Initialize calculations of the longitudinally invariant kT algorithm in inclusive mode.
|
Modifier and Type | Method and Description |
---|---|
ArrayList<ParticleF> |
buildJets(ArrayList<ParticleF> list)
Run the jet algorithm using the list of particles
|
float |
getDistance(ParticleF a,
ParticleF b)
Calculate R distance in eta-phi.
|
ArrayList<ParticleF> |
getJetsSorted()
Get jets after sorting in jet pT.
|
float |
getKtDistance1(ParticleF a)
This is the KT distance to the beam (assuming Z=Y=0).
|
float |
getKtDistance12(ParticleF a,
ParticleF 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 KTjet(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 KTjet(double R, int recom, double minpt)
R
- distance measurerecom
- recombination scheme.minpt
- min pT for final jets.public KTjet(double R, double minpt)
R
- distance measureminpt
- min pT for final jets.public ArrayList<ParticleF> buildJets(ArrayList<ParticleF> list)
list
- list with particlespublic ArrayList<ParticleF> getJetsSorted()
public void printJets()
public String toString()
public float getKtDistance12(ParticleF a, ParticleF b)
a
- input particleb
- input particlep
- power parameterpublic float getDistance(ParticleF a, ParticleF b)
a
- input particleb
- input particlepublic float getKtDistance1(ParticleF 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