ktjet is hosted by Hepforge, IPPP Durham
next up previous
Next: Monotonicity Up: Practical implementation of the Previous: Practical implementation of the


KtEvent methods

For the inclusive case, the final state jets are now fully defined, and the jets can be recovered using the methods described below. In the exclusive case, the final state jets are defined by setting either the stopping parameter $d_\mathit{cut}$:

void findJetsD(float dcut);

or by forcing the final state to decompose into $N$ jets:

void findJetsN(int N);

The $d_{min}$ value at which the final state changes from $N+1$ to $N$ jets can be recovered using the method

float getDMerge(int N) const;
In the case of an ${e^+ e^-}~$analysis, the variable $y_\mathit{cut}$ may be used. The final state jets are defined by the method

void findJetsY(float yCut);

and the $y_\mathit{min}$ value at which the final state changes from $N+1$ to $N$ jets can be recovered using the method

float getYMerge(int N) const;

By default, $y_\mathit{cut}$ is defined as in equation 4, where $E_\mathit{cut}$ is taken to be the total energy in the event. The $E_\mathit{cut}$ value can be set by the user if required:

void setECut(float ECut);
The KtEvent object has the following methods for recovering its final state jets:

std::vector<KtLorentzVector> getJets() const;
Returns jets without sorting.

std::vector<KtLorentzVector> getJetsE() const;
Returns jets in order of decreasing energy.

std::vector<KtLorentzVector> getJetsEt() const;
Returns jets in order of decreasing transverse energy.

std::vector<KtLorentzVector> getJetsPt() const;
Returns jets in order of decreasing transverse momentum.

std::vector<KtLorentzVector> getJetsRapidity() const;
Returns jets in order of decreasing rapidity.

std::vector<KtLorentzVector> getJetsEta() const;
Returns jets in order of decreasing pseudorapidity.

KtLorentzVector getJet(const KtLorentzVector &) const;
Returns the final state jet which contained the input particle KtLorentzVector. Note that this method is only available if KtLorentzVectors were used as input in the KtEvent constructor.

std::vector<const KtLorentzVector*> & getConstituents() const;
Returns a vector of pointers to all the input objects in the KtEvent.

std::vector<KtLorentzVector> copyConstituents() const;
Returns a vector of copies of the input objects in the KtEvent.

int getNConstituents() const;
Returns the number of objects in the KtEvent.

The parameters of a particular KtEvent can be retrieved using the methods
float getETot() const;
int getType() const;
int getAngle() const;
int getRecom() const;
float getECut() const;
bool isInclusive() const;


Subsections
next up previous
Next: Monotonicity Up: Practical implementation of the Previous: Practical implementation of the
Jonathan Couchman 2002-10-02