#include <siscone_parton.h>
Public Member Functions | |
siscone_parton (int n_particles_max) | |
int | compute_jets (const std::vector< T > &particles, double R, double f, int n_pass_max=0, double ptmin=0.0) |
void | set_flag_total_pt_is_zero (bool flag) |
Public Attributes | |
std::vector< unsigned > | final_jets |
holds the final jets, the constructor reserves space for maximally n jets | |
std::vector< unsigned > | protojets |
internally used to hold the protojets, the constructor reserves space for maximally 2^n protojets | |
std::vector< T > | protojets_axis |
vector of dimension 2^n, internally used to hold the axis of the protojets | |
std::vector< double > | protojets_pt |
vector of dimension 2^n, internally used to hold the energy of the protojets | |
std::vector< double > | protojets_pttilde |
vector of dimension 2^n, internally used to hold the variable Etilde of the protojets | |
std::vector< double > | protojets_azimuthal_angle |
vector of dimension 2^n, internally used to hold the variable azimuthal_angle of the protojets | |
std::vector< double > | protojets_rapidity |
vector of dimension 2^n, internally used to hold the variable rapidity of the protojets | |
std::vector< bool > | flag_rapidity |
vector of dimension 2^n, internally used to hold a flag, if the rapidity has already been calculated | |
bool | flag_total_pt_is_zero |
flag, if the total pt of the event is zero |
The class siscone_parton.
This class is appropriate for hadronic collisions and uses the cylindrical geometry based on rapidity and azimuthal angle.
siscone_parton | ( | int | n | ) | [inline] |
Constructor.
Allocates memory for up to n final state particles.
int compute_jets | ( | const std::vector< T > & | p, | |
double | R, | |||
double | f, | |||
int | n_pass_max = 0 , |
|||
double | ptmin = 0.0 | |||
) | [inline] |
This method computes the jets. The input parameters are:
void set_flag_total_pt_is_zero | ( | bool | flag | ) | [inline] |
Sets the flag flag_total_pt_is_zero.