ktjet is hosted by Hepforge, IPPP Durham

KtJet::KtJetTable Class Reference

#include <KtJetTable.h>

List of all members.


Public Member Functions

 KtJetTable (const std::vector< KtLorentzVector > &, KtDistance *, KtRecom *recom)
 ~KtJetTable ()
int getNJets () const
const KtLorentzVectorgetJet (int i) const
KtFloat getD (int i, int j) const
KtFloat getD (int i) const
std::pair< int, int > getMinDPair () const
int getMinDJet () const
void mergeJets (int i, int j)
void killJet (int i)

Detailed Description

Class KtJetTable encapsulates the jet four-momenta and Kt's in one object. Does merging and deletion of jets and returns jets, Kt's etc. Uses a KtDistance object to calculate Kt's.

Usage example: CLHEPNAMESPACE HepLorentzVector eScheme(const CLHEPNAMESPACE HepLorentzVector &, const CLHEPNAMESPACE HepLorentzVector &); // function to merge jets std::vector<KtLorentzVector> jets; // [Put some particles in "jets".] KtDistanceDeltaR ktPP(4); // 4 = pp collision KtJetTable jt(jets, ktPP, eScheme);

Author:
J.Butterworth J.Couchman B.Cox B.Waugh


Constructor & Destructor Documentation

KtJet::KtJetTable::KtJetTable const std::vector< KtLorentzVector > &  ,
KtDistance ,
KtRecom recom
 

KtJet::KtJetTable::~KtJetTable  ) 
 


Member Function Documentation

KtFloat KtJet::KtJetTable::getD int  i  )  const
 

Kt of jet (i) with respect to beam

KtFloat KtJet::KtJetTable::getD int  i,
int  j
const
 

Kt for jet pair (i,j)

const KtLorentzVector & KtJet::KtJetTable::getJet int  i  )  const
 

Get jet from table

int KtJet::KtJetTable::getMinDJet  )  const
 

Get index of jet with min Kt with respect to beam

std::pair< int, int > KtJet::KtJetTable::getMinDPair  )  const
 

Get indices of jet pair with min Kt

int KtJet::KtJetTable::getNJets  )  const [inline]
 

void KtJet::KtJetTable::killJet int  i  ) 
 

Delete jet (i) from table

void KtJet::KtJetTable::mergeJets int  i,
int  j
 

Combine jets (i,j) (E-scheme only so far)


The documentation for this class was generated from the following files:
Generated on Fri Jul 22 18:08:08 2005 for KtJet by  doxygen 1.3.9.1