fastjet 2.4.5
Functions
siscone_example.cc File Reference
#include "run_jet_finder.hh"
#include "fastjet/config.h"
#include "fastjet/SISConePlugin.hh"
#include <vector>
#include <iostream>
Include dependency graph for siscone_example.cc:

Go to the source code of this file.

Functions

int main (int argc, char **argv)

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 57 of file siscone_example.cc.

References read_input_particles(), and run_jet_finder().

                                {

  
  // define a plugin point
  fastjet::JetDefinition::Plugin * plugin;

  // allocate a new plugin
  double cone_radius = 0.7;
  double overlap_threshold = 0.5;
  plugin = new fastjet::SISConePlugin (cone_radius, overlap_threshold);

  // create a jet-definition based on the plugin
  fastjet::JetDefinition jet_def(plugin);

  // call the example routine that runs with arbitrary jet definitions
  vector<fastjet::PseudoJet> particles;
  read_input_particles(cin, particles);
  run_jet_finder(particles, jet_def);

  // clean up plugin memory.
  delete plugin;
}
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines