#include <valarray>
#include <vector>
#include <cassert>
#include <cmath>
#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 |
Functions | |
std::vector< PseudoJet > | sorted_by_pt (const std::vector< PseudoJet > &jets) |
return a vector of jets sorted into decreasing transverse momentum | |
std::vector< PseudoJet > | sorted_by_rapidity (const std::vector< PseudoJet > &jets) |
return a vector of jets sorted into increasing rapidity | |
std::vector< PseudoJet > | sorted_by_E (const std::vector< PseudoJet > &jets) |
return a vector of jets sorted into decreasing energy | |
void | 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 > | 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 | MaxRap = 1e5 |
Used to protect against parton-level events where pt can be zero for some partons, giving rapidity=infinity. |
|
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).
|
|
sort the indices so that values[indices[0->n-1]] is sorted into increasing order
|
|
return a vector of jets sorted into decreasing energy
|
|
return a vector of jets sorted into decreasing transverse momentum
|
|
return a vector of jets sorted into increasing rapidity
|
|
Used to protect against parton-level events where pt can be zero for some partons, giving rapidity=infinity. KtJet fails in those cases. Definition at line 50 of file PseudoJet.hh. Referenced by fastjet::PseudoJet::_finish_init(). |