#include "fastjet/JetDefinition.hh"#include "fastjet/PseudoJet.hh"#include <iostream>Include dependency graph for run_jet_finder.hh:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Functions | |
| void | run_jet_finder (const std::vector< fastjet::PseudoJet > &input_particles, const fastjet::JetDefinition &jet_def) |
| void | read_input_particles (std::istream &input, std::vector< fastjet::PseudoJet > &input_particles) |
| a function that reads particles from the supplied istream | |
|
||||||||||||
|
a function that reads particles from the supplied istream
Definition at line 73 of file run_jet_finder.cc. Referenced by main().
00074 {
00075
00076 // read in input particles
00077 double px, py , pz, E;
00078 string line;
00079 while (getline(input, line)) {
00080 if (line.substr(0,1) == "#") {continue;}
00081 istringstream linestream(line);
00082 linestream >> px >> py >> pz >> E;
00083 // create a fastjet::PseudoJet with these components and put it onto
00084 // back of the input_particles vector
00085 input_particles.push_back(fastjet::PseudoJet(px,py,pz,E));
00086 }
00087
00088 }
|
|
||||||||||||
|
Referenced by main(). |
1.3.4