#include "run_jet_finder.hh"#include "CDFMidPointPlugin.hh"#include <vector>#include <iostream>Include dependency graph for cdfmidpoint_example.cc:

Go to the source code of this file.
Functions | |
| int | main (int argc, char **argv) |
|
||||||||||||
|
Definition at line 45 of file cdfmidpoint_example.cc. References read_input_particles(), and run_jet_finder(). 00045 {
00046
00047
00048 // define a plugin pointer
00049 fastjet::JetDefinition::Plugin * plugin;
00050
00051 // allocate a new plugin
00052 double seed_threshold = 1.0;
00053 double cone_radius = 0.7;
00054 double cone_area_fraction = 1.0;
00055 int max_pair_size = 2;
00056 int max_iterations = 100;
00057 double overlap_threshold = 0.5;
00058 plugin = new fastjet::CDFMidPointPlugin (seed_threshold, cone_radius,
00059 cone_area_fraction, max_pair_size,
00060 max_iterations, overlap_threshold);
00061
00062 // create a jet-definition based on the plugin
00063 fastjet::JetDefinition jet_def(plugin);
00064
00065 // call the example routine that runs with arbitrary jet definitions
00066 vector<fastjet::PseudoJet> particles;
00067 read_input_particles(cin, particles);
00068 run_jet_finder(particles, jet_def);
00069
00070 // clean up plugin memory.
00071 delete plugin;
00072 }
|
1.4.2