Documentation of 'hep.physics.jet.AbstractJetFinder' Java class
AbstractJetFinder
hep.physics.jet

Class AbstractJetFinder

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int fewestTracks()
      Find the jet with the fewest particles
      double getYCut()
      Obtain the current ycut
      HepLorentzVector jet(int index)
      calculate 4 vector sum for a jet
      int njets()
      The number of jets found
      int nParticlesPerJet(int index)
      Find out many particles are in a particular jet
      java.util.List particlesInJet(int index)
      Find out which particles are in a paricular jet
      void setAssumedMassFor3Vectors(double mass)
      Set the mass to use when converting 3-vectors to 4-vectors This is a static method so the mass applies to all instances of AbstractJetFinder.
      void setEvent(java.util.Collection data)
      Call this to input a new event to the jet finder.
      void setEvent(java.util.Collection data, Predicate cut)
      Call this to input a new event to the jet finder.
      void setYCut(double ycut)
      Set the YCut value.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • njets

        public int njets()
        Description copied from interface: JetFinder
        The number of jets found
        Specified by:
        njets in interface JetFinder
        Returns:
        The number of jets found
      • jet

        public HepLorentzVector jet(int index)
        Description copied from interface: JetFinder
        calculate 4 vector sum for a jet
        Specified by:
        jet in interface JetFinder
        Parameters:
        index - The index of the jet of interest
        Returns:
        The 4 vector of the jet
      • particlesInJet

        public java.util.List particlesInJet(int index)
        Description copied from interface: JetFinder
        Find out which particles are in a paricular jet
        Specified by:
        particlesInJet in interface JetFinder
        Parameters:
        index - The index of the jet of interest
        Returns:
        An enumeration of the particles within the jet
      • nParticlesPerJet

        public int nParticlesPerJet(int index)
        Description copied from interface: JetFinder
        Find out many particles are in a particular jet
        Specified by:
        nParticlesPerJet in interface JetFinder
        Parameters:
        index - The index of the jet of interest
        Returns:
        The number of particles
      • fewestTracks

        public int fewestTracks()
        Description copied from interface: JetFinder
        Find the jet with the fewest particles
        Specified by:
        fewestTracks in interface JetFinder
        Returns:
        Returns the number of tracks in the jet with the fewest tracks
      • getYCut

        public double getYCut()
        Obtain the current ycut
        Returns:
        The current value of ycut
      • setYCut

        public void setYCut(double ycut)
        Set the YCut value. If the new value for ycut is not the same as the old ycut the jet finding will be rerun.
        Parameters:
        ycut - the new value to be set for ycut
      • setEvent

        public void setEvent(java.util.Collection data)
        Call this to input a new event to the jet finder.
        Specified by:
        setEvent in interface JetFinder
        Parameters:
        data - An Enumeration of either HepLorentzVectors (4Vectors) or Hep3Vectors
      • setAssumedMassFor3Vectors

        public void setAssumedMassFor3Vectors(double mass)
        Set the mass to use when converting 3-vectors to 4-vectors This is a static method so the mass applies to all instances of AbstractJetFinder. The default is 0.
        Parameters:
        mass - The new value to use
      • setEvent

        public void setEvent(java.util.Collection data,
                             Predicate cut)
        Call this to input a new event to the jet finder. Only elements of the enumeration which are accepted by the predicate will be used for jet finding.
        Specified by:
        setEvent in interface JetFinder
        Parameters:
        data - An Enumeration of either HepLorentzVectors (4Vectors) or Hep3Vectors
        cut - A predicate that is applied to each element of e

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.