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

class to help run an e+e- Cambridge algorithm More...

List of all members.

Public Member Functions

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

Private Attributes

double nx
double ny
double nz

Detailed Description

class to help run an e+e- Cambridge algorithm

Definition at line 46 of file EECambridgePlugin.cc.


Member Function Documentation

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

Definition at line 62 of file EECambridgePlugin.cc.

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

Definition at line 55 of file EECambridgePlugin.cc.

References nx, ny, and nz.

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

Definition at line 48 of file EECambridgePlugin.cc.

References 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;
  }

Member Data Documentation

double fastjet::EECamBriefJet::nx [private]

Definition at line 67 of file EECambridgePlugin.cc.

Referenced by distance().

double fastjet::EECamBriefJet::ny [private]

Definition at line 67 of file EECambridgePlugin.cc.

Referenced by distance().

double fastjet::EECamBriefJet::nz [private]

Definition at line 67 of file EECambridgePlugin.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