fastjet 2.4.5
|
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 57 of file pxcone_example.cc.
References read_input_particles(), and run_jet_finder().
{ // define a plugin point fastjet::JetDefinition::Plugin * plugin; // allocate a new plugin double cone_radius = 0.7; double min_jet_energy = 5.0; double overlap_threshold = 0.5; bool E_scheme_jets = false; plugin = new fastjet::PxConePlugin (cone_radius, min_jet_energy, overlap_threshold, E_scheme_jets); // 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; }