fastjet 2.4.5
|
#include "run_jet_finder.hh"
#include "fastjet/config.h"
#include "fastjet/CDFMidPointPlugin.hh"
#include <vector>
#include <iostream>
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 55 of file cdfmidpoint_example.cc.
References read_input_particles(), and run_jet_finder().
{ // define a plugin pointer fastjet::JetDefinition::Plugin * plugin; // allocate a new plugin double seed_threshold = 1.0; double cone_radius = 0.7; double cone_area_fraction = 1.0; int max_pair_size = 2; int max_iterations = 100; double overlap_threshold = 0.5; plugin = new fastjet::CDFMidPointPlugin (seed_threshold, cone_radius, cone_area_fraction, max_pair_size, max_iterations, 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; }