52#include "fastjet/ClusterSequence.hh"
63 vector<fastjet::PseudoJet> input_particles;
65 double px, py , pz, E;
66 while (cin >> px >> py >> pz >> E) {
85 vector<fastjet::PseudoJet> exclusive_jets = clust_seq.
exclusive_jets(n);
97 printf(
"%5s %15s\n",
"jet #",
"E");
100 for (
unsigned int i = 0; i < exclusive_jets.size(); i++) {
101 printf(
"%5u %15.8f\n",
102 i, exclusive_jets[i].perp());
int main()
an example program showing how to use fastjet
std::vector< PseudoJet > exclusive_jets(const double dcut) const
return a vector of all jets (in the sense of the exclusive algorithm) that would be obtained when run...
class that is intended to hold a full definition of the jet clusterer
std::string description() const
return a textual description of the current jet definition
Class to contain pseudojets, including minimal information of use to jet-clustering routines.
@ ee_kt_algorithm
the e+e- kt algorithm