#include "run_jet_finder.hh"
#include "fastjet/config.h"
#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) |
int main | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 57 of file siscone_example.cc.
References read_input_particles(), and run_jet_finder().
00057 { 00058 00059 00060 // define a plugin point 00061 fastjet::JetDefinition::Plugin * plugin; 00062 00063 // allocate a new plugin 00064 double cone_radius = 0.7; 00065 double overlap_threshold = 0.5; 00066 plugin = new fastjet::SISConePlugin (cone_radius, overlap_threshold); 00067 00068 // create a jet-definition based on the plugin 00069 fastjet::JetDefinition jet_def(plugin); 00070 00071 // call the example routine that runs with arbitrary jet definitions 00072 vector<fastjet::PseudoJet> particles; 00073 read_input_particles(cin, particles); 00074 run_jet_finder(particles, jet_def); 00075 00076 // clean up plugin memory. 00077 delete plugin; 00078 }