hep.physics.jets
Class EventShape
java.lang.Object
|
+--hep.physics.jets.EventShape
- public class EventShape
- extends java.lang.Object
Event Shape and Thrust utilities
This is a transcription of the Jetset thrust and event shape
finders into Java. To facilitate comparison with the Jetset
fortran routines and to follow standard physics conventions
arrays that represent the x, y and z components of momentum and
the x, y and z axes are indexed from 1 to 3 instead of 0 to 2.
Arrays of particles, workspace, etc are indexed from 0 following
normal Java conventions.
Constructor Summary |
EventShape()
Call this to input a new event to the event shape routines. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventShape
public EventShape()
- Call this to input a new event to the event shape routines.
- Parameters:
e
- An Enumeration of either HepLorentzVectors (HepLorentzVectors) or Hep3Vectors
setEvent
public void setEvent(java.util.Enumeration e)
setEvent
public void setEvent(java.util.Enumeration e,
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:
e
- 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()
oblateness
public double oblateness()