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

Go to the source code of this file.
Functions | |
| int | main (int argc, char **argv) |
|
||||||||||||
|
Definition at line 48 of file pxcone_example.cc. References read_input_particles(), and run_jet_finder(). 00048 {
00049
00050
00051 // define a plugin point
00052 fastjet::JetDefinition::Plugin * plugin;
00053
00054 // allocate a new plugin
00055 double cone_radius = 0.7;
00056 double min_jet_energy = 5.0;
00057 double overlap_threshold = 0.5;
00058 bool E_scheme_jets = false;
00059 plugin = new fastjet::PxConePlugin (cone_radius, min_jet_energy,
00060 overlap_threshold, E_scheme_jets);
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