Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

siscone_example.cc File Reference

#include "run_jet_finder.hh"
#include "SISConePlugin.hh"
#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)


Function Documentation

int main int  argc,
char **  argv
 

Definition at line 48 of file siscone_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 overlap_threshold = 0.5;
00057   plugin = new fastjet::SISConePlugin (cone_radius, overlap_threshold);
00058 
00059   // create a jet-definition based on the plugin
00060   fastjet::JetDefinition jet_def(plugin);
00061 
00062   // call the example routine that runs with arbitrary jet definitions
00063   vector<fastjet::PseudoJet> particles;
00064   read_input_particles(cin, particles);
00065   run_jet_finder(particles, jet_def);
00066 
00067   // clean up plugin memory.
00068   delete plugin;
00069 }


Generated on Mon Apr 2 20:58:08 2007 for fastjet by  doxygen 1.4.2