#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.
Namespaces | |
namespace | fastjet |
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... | |
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) |
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 | |
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. |