|
Next: Subjet analysis
Up: Practical implementation of the
Previous: Monotonicity
KtLorentzVector Methods
These methods would normally be used to investigate the structure and
constituents of final state jets defined in a particular KtEvent.
const std::vector<const KtLorentzVector*> & getConstituents() const;
Returns a reference to the vector of pointers to all the objects in the KtLorentzVector.
std::vector<KtLorentzVector> copyConstituents() const;
Returns a vector of copies of the objects in the KtLorentzVector.
int getNConstituents() const;
Returns the number of objects in the KtLorentzVector.
bool contains (const KtLorentzVector &) const;
Check if a jet contains a particular object. For example,
if (JET.contains(PARTICLE)) { /* do something */ }
where JET is the KtLorentzVector of a final state jet and
PARTICLE is the KtLorentzVector of an input object in the KtEvent.
KtLorentzVector & operator+= (const KtLorentzVector &);
Adds a KtLorentzVector constituent to a jet using the scheme (4-vector addition)
and maintains an internal record of constituents (so for example the
getConstituents method will work on the resulting KtLorentzVector).
void add (const KtLorentzVector &, int recom);
Adds a KtLorentzVector constituent to a jet using any of the available recombination schemes
and maintains an internal record of constituents.
Note that the momentum of a jet (KtLorentzVector) will be given according to the
recombination scheme used in its construction. If the user wishes to reconstruct the
momenta according to a different recombination scheme (for example, to
recover the mass for jets which were found using a massless recombination scheme) the
getConstituents() or copyConstituents() methods may be used.
The constituents can then be recombined in a new scheme using the add method.
Next: Subjet analysis
Up: Practical implementation of the
Previous: Monotonicity
Jonathan Couchman
2002-10-02
|