50#include "fastjet/ClusterSequence.hh" 
   55#include "fastjet/config.h" 
   56#ifdef FASTJET_ENABLE_PLUGIN_SISCONE 
   57#include "fastjet/SISConePlugin.hh" 
   59#warning "SISCone plugin not enabled. Skipping the example" 
   67#ifdef FASTJET_ENABLE_PLUGIN_SISCONE 
   71  vector<fastjet::PseudoJet> input_particles;
 
   73  double px, py , pz, E;
 
   74  while (cin >> px >> py >> pz >> E) {
 
   97  double cone_radius = 0.7;
 
   98  double overlap_threshold = 0.75;
 
  111  vector<fastjet::PseudoJet> inclusive_jets = 
sorted_by_pt(clust_seq.inclusive_jets(ptmin));
 
  120  cout << 
"Ran " << jet_def.description() << endl;
 
  123  printf(
"%5s %15s %15s %15s\n",
"jet #", 
"rapidity", 
"phi", 
"pt");
 
  126  for (
unsigned int i = 0; i < inclusive_jets.size(); i++) {
 
  127    printf(
"%5u %15.8f %15.8f %15.8f\n",
 
  128           i, inclusive_jets[i].rap(), inclusive_jets[i].phi(),
 
  129           inclusive_jets[i].perp());
 
int main()
an example program showing how to use fastjet
 
class that is intended to hold a full definition of the jet clusterer
 
Class to contain pseudojets, including minimal information of use to jet-clustering routines.
 
Implementation of the SISCone algorithm (plugin for fastjet v2.1 upwards)
 
vector< PseudoJet > sorted_by_pt(const vector< PseudoJet > &jets)
return a vector of jets sorted into decreasing kt2