pxcone_example.cc File Reference

#include "run_jet_finder.hh"
#include "fastjet/config.h"
#include <vector>
#include <iostream>

Include dependency graph for pxcone_example.cc:

run_jet_finder.hhfastjet/config.hfastjet/JetDefinition.hhfastjet/PseudoJet.hhfastjet/internal/numconsts.hhfastjet/internal/base.hh

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 pxcone_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 min_jet_energy = 5.0;
00066   double overlap_threshold = 0.5;
00067   bool   E_scheme_jets = false;
00068   plugin = new fastjet::PxConePlugin (cone_radius, min_jet_energy, 
00069                                       overlap_threshold, E_scheme_jets);
00070 
00071   // create a jet-definition based on the plugin
00072   fastjet::JetDefinition jet_def(plugin);
00073 
00074   // call the example routine that runs with arbitrary jet definitions
00075   vector<fastjet::PseudoJet> particles;
00076   read_input_particles(cin, particles);
00077   run_jet_finder(particles, jet_def);
00078 
00079   // clean up plugin memory.
00080   delete plugin;
00081 }


Generated on Thu Jan 3 19:04:56 2008 for fastjet by  doxygen 1.5.2