fastjet 2.4.5
Classes | Namespaces | Functions | Variables
PseudoJet.hh File Reference
#include <valarray>
#include <vector>
#include <cassert>
#include <cmath>
#include <iostream>
#include "fastjet/internal/numconsts.hh"
Include dependency graph for PseudoJet.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fastjet::PseudoJet
 Class to contain pseudojets, including minimal information of use to to jet-clustering routines. More...
class  fastjet::IndexedSortHelper
 a class that helps us carry out indexed sorting. More...

Namespaces

namespace  fastjet

Functions

PseudoJet fastjet::operator+ (const PseudoJet &jet1, const PseudoJet &jet2)
PseudoJet fastjet::operator- (const PseudoJet &jet1, const PseudoJet &jet2)
PseudoJet fastjet::operator* (double coeff, const PseudoJet &jet)
PseudoJet fastjet::operator* (const PseudoJet &jet, double coeff)
PseudoJet fastjet::operator/ (const PseudoJet &jet, double coeff)
double fastjet::dot_product (const PseudoJet &a, const PseudoJet &b)
bool fastjet::have_same_momentum (const PseudoJet &jeta, const PseudoJet &jetb)
 returns true if the momenta of the two input jets are identical
PseudoJet fastjet::PtYPhiM (double pt, double y, double phi, double m)
 return a pseudojet with the given pt, y, phi and mass
std::vector< PseudoJet > fastjet::sorted_by_pt (const std::vector< PseudoJet > &jets)
 return a vector of jets sorted into decreasing transverse momentum
std::vector< PseudoJet > fastjet::sorted_by_rapidity (const std::vector< PseudoJet > &jets)
 return a vector of jets sorted into increasing rapidity
std::vector< PseudoJet > fastjet::sorted_by_E (const std::vector< PseudoJet > &jets)
 return a vector of jets sorted into decreasing energy
std::vector< PseudoJet > fastjet::sorted_by_pz (const std::vector< PseudoJet > &jets)
 return a vector of jets sorted into increasing pz
void fastjet::sort_indices (std::vector< int > &indices, const std::vector< double > &values)
 sort the indices so that values[indices[0->n-1]] is sorted into increasing order
template<class T >
std::vector< T > fastjet::objects_sorted_by_values (const std::vector< T > &objects, const std::vector< double > &values)
 given a vector of values with a one-to-one correspondence with the vector of objects, sort objects into an order such that the associated values would be in increasing order (but don't actually touch the values vector in the process).

Variables

const double fastjet::MaxRap = 1e5
 Used to protect against parton-level events where pt can be zero for some partons, giving rapidity=infinity.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines