fastjet 3.0alpha2
Namespaces | Classes | Enumerations | Functions | Variables

fastjet Namespace Reference

the FastJet namespace More...

Namespaces

namespace  gas
 

namespace to hold default parameters for the active area spec


Classes

class  VoronoiAreaSpec
 Specification for the computation of the Voronoi jet area. More...
class  AreaDefinition
 class that holds a generic area definition More...
class  GhostedAreaSpec
 Parameters to configure the computation of jet areas using ghosts. More...
class  PseudoJet
 Class to contain pseudojets, including minimal information of use to to jet-clustering routines. More...

Enumerations

enum  AreaType {
  invalid_area = -1, active_area = 0, active_area_explicit_ghosts = 1, one_ghost_passive_area = 10,
  passive_area = 11, voronoi_area = 20
}
 

the different types of area that are supported


Functions

PseudoJet operator+ (const PseudoJet &, const PseudoJet &)
PseudoJet operator- (const PseudoJet &, const PseudoJet &)
PseudoJet operator* (double, const PseudoJet &)
PseudoJet operator* (const PseudoJet &, double)
PseudoJet operator/ (const PseudoJet &, double)
double dot_product (const PseudoJet &a, const PseudoJet &b)
bool have_same_momentum (const PseudoJet &, const PseudoJet &)
 returns true if the momenta of the two input jets are identical
PseudoJet PtYPhiM (double pt, double y, double phi, double m=0.0)
 return a pseudojet with the given pt, y, phi and mass
std::vector< PseudoJetsorted_by_pt (const std::vector< PseudoJet > &jets)
 return a vector of jets sorted into decreasing transverse momentum
std::vector< PseudoJetsorted_by_rapidity (const std::vector< PseudoJet > &jets)
 return a vector of jets sorted into increasing rapidity
std::vector< PseudoJetsorted_by_E (const std::vector< PseudoJet > &jets)
 return a vector of jets sorted into decreasing energy
std::vector< PseudoJetsorted_by_pz (const std::vector< PseudoJet > &jets)
 return a vector of jets sorted into increasing pz
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).
PseudoJet join (const std::vector< PseudoJet > &pieces)
 build a "CompositeJet" from the vector of its pieces
PseudoJet join (const PseudoJet &j1)
 build a MergedJet from a single PseudoJet
PseudoJet join (const PseudoJet &j1, const PseudoJet &j2)
 build a MergedJet from 2 PseudoJet
PseudoJet join (const PseudoJet &j1, const PseudoJet &j2, const PseudoJet &j3)
 build a MergedJet from 3 PseudoJet
PseudoJet join (const PseudoJet &j1, const PseudoJet &j2, const PseudoJet &j3, const PseudoJet &j4)
 build a MergedJet from 4 PseudoJet

Variables

const double MaxRap = 1e5
 Used to protect against parton-level events where pt can be zero for some partons, giving rapidity=infinity.
const double pseudojet_invalid_phi = -100.0
 default value for phi, meaning it (and rapidity) have yet to be calculated)
const double pi = 3.141592653589793238462643383279502884197
const double twopi = 6.283185307179586476925286766559005768394
const double pisq = 9.869604401089358618834490999876151135314
const double zeta2 = 1.644934066848226436472415166646025189219
const double zeta3 = 1.202056903159594285399738161511449990765
const double eulergamma = 0.577215664901532860606512090082402431042
const double ln2 = 0.693147180559945309417232121458176568076

Detailed Description

the FastJet namespace

all the fastjet-related material is put under that namespace


Function Documentation

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).

PseudoJet fastjet::join ( const std::vector< PseudoJet > &  pieces)

build a "CompositeJet" from the vector of its pieces

In this case, E-scheme recombination is assumed to compute the total momentum

Referenced by main().


Variable Documentation

const double fastjet::MaxRap = 1e5

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 53 of file PseudoJet.hh.

Referenced by fastjet::PseudoJet::pseudorapidity().