hep.physics.jet
Class EventShape
- java.lang.Object
-
- hep.physics.jet.EventShape
-
public class EventShape extends java.lang.ObjectEvent Shape and Thrust utilities.This is a transcription of the Jetset thrust and event shape finders into Java.
Event shape extracts from the input enumeration 3-momenta which are formed into a kind of (symmetric) momentum tensor similar to an inertia tensor. From this tensor the 3-principal axes are determined along with their associated eigenvalues.
Traditionally, the nomenclature for the three axes are:
- Thrust Axis is associated with the largest eigenvalue called the Thrust.
- Major Axis is associated with the middle eigenvalue called the Major Thrust.
- Minor Axis is associated with the smallest eigenvalue called the Minor Thrust.
-
-
Constructor Summary
Constructors Constructor and Description EventShape()Create a new instance of EventShape
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetFast()doublegetThMomPower()BasicHep3VectormajorAxis()BasicHep3VectorminorAxis()doubleoblateness()Oblateness = Major Thrust - Minor ThrustvoidsetEvent(java.util.Collection data)Call this to input a new event to the event shape routines.voidsetEvent(java.util.Collection data, Predicate cut)Call this to input a new event to the event shape routines.voidsetFast(int nf)voidsetThMomPower(double tp)BasicHep3Vectorthrust()Element x = Thrust Element y = Major Thrust Element z = Minor ThrustBasicHep3VectorthrustAxis()
-
-
-
Method Detail
-
setEvent
public void setEvent(java.util.Collection data)
Call this to input a new event to the event shape routines.- Parameters:
data- An Enumeration of either HepLorentzVectors (HepLorentzVectors) or Hep3Vectors
-
setEvent
public void setEvent(java.util.Collection data, Predicate cut)Call this to input a new event to the event shape routines. Only elements of the enumeration which are accepted by the predicate will be used for jet finding.- Parameters:
data- An Enumeration of either HepLorentzVectors (HepLorentzVectors) or Hep3Vectorscut- A predicate that is applied to each element of e, or null to accept all elements
-
setThMomPower
public void setThMomPower(double tp)
-
getThMomPower
public double getThMomPower()
-
setFast
public void setFast(int nf)
-
getFast
public int getFast()
-
thrustAxis
public BasicHep3Vector thrustAxis()
-
majorAxis
public BasicHep3Vector majorAxis()
-
minorAxis
public BasicHep3Vector minorAxis()
-
thrust
public BasicHep3Vector thrust()
Element x = Thrust Element y = Major Thrust Element z = Minor Thrust
-
oblateness
public double oblateness()
Oblateness = Major Thrust - Minor Thrust
-
-
DMelt 3.0 © DataMelt by jWork.ORG