fastjet 2.4.5
Namespaces | Functions
PseudoJet.cc File Reference
#include "fastjet/Error.hh"
#include "fastjet/PseudoJet.hh"
#include <valarray>
#include <iostream>
#include <sstream>
#include <cmath>
#include <algorithm>
Include dependency graph for PseudoJet.cc:

Go to the source code of this file.

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)
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
void fastjet::sort_indices (vector< int > &indices, const vector< double > &values)
template<class T >
vector< T > fastjet::objects_sorted_by_values (const vector< T > &objects, const 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
vector< PseudoJet > fastjet::sorted_by_pt (const vector< PseudoJet > &jets)
 return a vector of jets sorted into decreasing kt2
vector< PseudoJet > fastjet::sorted_by_rapidity (const vector< PseudoJet > &jets)
 return a vector of jets sorted into increasing rapidity
vector< PseudoJet > fastjet::sorted_by_E (const vector< PseudoJet > &jets)
 return a vector of jets sorted into decreasing energy
vector< PseudoJet > fastjet::sorted_by_pz (const vector< PseudoJet > &jets)
 return a vector of jets sorted into increasing pz
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines