fastjet 2.4.3
Namespaces | Classes | Enumerations | Functions | Variables

fastjet Namespace Reference

Namespaces

namespace  gas
 

namespace to hold default parameters for the active area spec


Classes

class  VoronoiAreaSpec
 class for holding a "Voronoi area" specification; an area will be assigned to each particle, which is the area of the intersection of the particle's Voronoi cell with a circle of radius R*effective_Rfact. More...
class  AreaDefinition
 class that holds a generic area definition More...
class  GhostedAreaSpec
 Class that defines the parameters that go into the measurement of active jet areas. More...
class  PseudoJet
 Class to contain pseudojets, including minimal information of use to to jet-clustering routines. More...
class  IndexedSortHelper
 a class that helps us carry out indexed sorting. 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

More...

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

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

Enumeration Type Documentation

the different types of area that are supported

Enumerator:
invalid_area 
active_area 
active_area_explicit_ghosts 
one_ghost_passive_area 
passive_area 
voronoi_area 

Definition at line 68 of file AreaDefinition.hh.


Function Documentation

double fastjet::dot_product ( const PseudoJet &  a,
const PseudoJet &  b 
) [inline]

Definition at line 228 of file PseudoJet.hh.

References fastjet::PseudoJet::E(), fastjet::PseudoJet::px(), fastjet::PseudoJet::py(), and fastjet::PseudoJet::pz().

                                                                    {
  return a.E()*b.E() - a.px()*b.px() - a.py()*b.py() - a.pz()*b.pz();
}
bool fastjet::have_same_momentum ( const PseudoJet &  ,
const PseudoJet &   
)

returns true if the momenta of the two input jets are identical

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::operator* ( const PseudoJet &  ,
double   
)
PseudoJet fastjet::operator* ( double  ,
const PseudoJet &   
)
PseudoJet fastjet::operator+ ( const PseudoJet &  ,
const PseudoJet &   
)
PseudoJet fastjet::operator- ( const PseudoJet &  ,
const PseudoJet &   
)
PseudoJet fastjet::operator/ ( const PseudoJet &  ,
double   
)
PseudoJet fastjet::PtYPhiM ( double  pt,
double  y,
double  phi,
double  m = 0.0 
)

return a pseudojet with the given pt, y, phi and mass

Definition at line 294 of file PseudoJet.cc.

                                                             {
  double ptm = sqrt(pt*pt+m*m);
  return PseudoJet(pt*cos(phi), pt*sin(phi), ptm*sinh(y), ptm*cosh(y));
}
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

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_pt ( const std::vector< PseudoJet > &  jets)

return a vector of jets sorted into decreasing transverse momentum

std::vector<PseudoJet> fastjet::sorted_by_pz ( const std::vector< PseudoJet > &  jets)

return a vector of jets sorted into increasing pz

std::vector<PseudoJet> fastjet::sorted_by_rapidity ( const std::vector< PseudoJet > &  jets)

return a vector of jets sorted into increasing rapidity


Variable Documentation

const double fastjet::eulergamma = 0.577215664901532860606512090082402431042

Definition at line 47 of file numconsts.hh.

const double fastjet::ln2 = 0.693147180559945309417232121458176568076

Definition at line 48 of file numconsts.hh.

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

Referenced by fastjet::PseudoJet::_finish_init(), and fastjet::PseudoJet::pseudorapidity().

const double fastjet::pi = 3.141592653589793238462643383279502884197
const double fastjet::pisq = 9.869604401089358618834490999876151135314

Definition at line 44 of file numconsts.hh.

const double fastjet::twopi = 6.283185307179586476925286766559005768394

Definition at line 43 of file numconsts.hh.

const double fastjet::zeta2 = 1.644934066848226436472415166646025189219

Definition at line 45 of file numconsts.hh.

const double fastjet::zeta3 = 1.202056903159594285399738161511449990765

Definition at line 46 of file numconsts.hh.