fastjet 2.4.5
Public Member Functions | Private Attributes
fastjet::JadeBriefJet Class Reference

class to help run a JADE algorithm More...

List of all members.

Public Member Functions

void init (const PseudoJet &jet)
double distance (const JadeBriefJet *jet) const
double beam_distance () const

Private Attributes

double rt2E
double nx
double ny
double nz

Detailed Description

class to help run a JADE algorithm

Definition at line 53 of file JadePlugin.cc.


Member Function Documentation

double fastjet::JadeBriefJet::beam_distance ( ) const [inline]

Definition at line 71 of file JadePlugin.cc.

                               {
    return numeric_limits<double>::max();
  }
double fastjet::JadeBriefJet::distance ( const JadeBriefJet jet) const [inline]

Definition at line 63 of file JadePlugin.cc.

References nx, ny, nz, and rt2E.

                                                  {
    double dij = 1 - nx*jet->nx
                   - ny*jet->ny
                   - nz*jet->nz;
    dij *= rt2E*jet->rt2E;
    return dij;
  }
void fastjet::JadeBriefJet::init ( const PseudoJet jet) [inline]

Definition at line 55 of file JadePlugin.cc.

References fastjet::PseudoJet::E(), fastjet::PseudoJet::modp2(), fastjet::norm(), fastjet::PseudoJet::px(), fastjet::PseudoJet::py(), and fastjet::PseudoJet::pz().

                                   {
    double norm = 1.0/sqrt(jet.modp2());
    nx = jet.px() * norm;
    ny = jet.py() * norm;
    nz = jet.pz() * norm;
    rt2E = sqrt(2.0)*jet.E();
  }

Member Data Documentation

double fastjet::JadeBriefJet::nx [private]

Definition at line 76 of file JadePlugin.cc.

Referenced by distance().

double fastjet::JadeBriefJet::ny [private]

Definition at line 76 of file JadePlugin.cc.

Referenced by distance().

double fastjet::JadeBriefJet::nz [private]

Definition at line 76 of file JadePlugin.cc.

Referenced by distance().

double fastjet::JadeBriefJet::rt2E [private]

Definition at line 76 of file JadePlugin.cc.

Referenced by distance().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines