siscone is hosted by Hepforge, IPPP Durham

The SISCone Jet Algorithm

Version 3.0.6



SISCone 3.0.6

Computes the list of stable comes from a particle list. More...

#include <protocones.h>

Inheritance diagram for siscone::Cstable_cones:
Collaboration diagram for siscone::Cstable_cones:

Public Member Functions

 Cstable_cones ()
 default ctor More...
 
 Cstable_cones (std::vector< Cmomentum > &_particle_list)
 ctor with initialisation (sse init for details)
 
 ~Cstable_cones ()
 default dtor More...
 
void init (std::vector< Cmomentum > &_particle_list)
 initialisation More...
 
int get_stable_cones (double _radius)
 compute stable cones. More...
 
- Public Member Functions inherited from siscone::Cvicinity
 Cvicinity ()
 default constructor More...
 
 Cvicinity (std::vector< Cmomentum > &_particle_list)
 constructor with initialisation (see set_particle_list)
 
 ~Cvicinity ()
 default destructor More...
 
void set_particle_list (std::vector< Cmomentum > &_particle_list)
 set the particle_list More...
 
void build (Cmomentum *_parent, double _VR)
 build the vicinity list from the list of points. More...
 

Public Attributes

std::vector< Cmomentumprotocones
 list of stable cones More...
 
hash_coneshc
 list of candidates More...
 
int nb_tot
 total number of tested cones More...
 
- Public Attributes inherited from siscone::Cvicinity
Cmomentumparent
 parent vector More...
 
double VR
 radius of the vicinity More...
 
double VR2
 squared radius of the vicinity More...
 
double R
 normal radius More...
 
double R2
 squared normal radius More...
 
double inv_R_EPS_COCIRC
 R / EPSILON_COCIRCULAR. More...
 
double inv_R_2EPS_COCIRC
 R / (2*EPSILON_COCIRCULAR) More...
 
int n_part
 number of particles More...
 
std::vector< Cmomentumplist
 the list of particles More...
 
std::vector< Cvicinity_inclusionpincluded
 the inclusion state of particles More...
 
Cvicinity_elmve_list
 list of vicinity elements built from particle list (size=2*n) More...
 
std::vector< Cvicinity_elm * > vicinity
 list of points in parent's vicinity More...
 
unsigned int vicinity_size
 number of elements in vicinity More...
 

Protected Attributes

double R
 cone radius More...
 
double R2
 cone radius SQUARED More...
 
- Protected Attributes inherited from siscone::Cvicinity
double pcx
 parent centre (eta) More...
 
double pcy
 parent centre (phi) More...
 

Additional Inherited Members

- Protected Member Functions inherited from siscone::Cvicinity
void append_to_vicinity (Cmomentum *v)
 append a particle to the 'vicinity' list after having tested it and computed the angular-ordering quantities More...
 

Detailed Description

Computes the list of stable comes from a particle list.

This class does the first fundamental task of te cone algorithm: it is used to compute the list of stable cones given a list of particles.

Definition at line 82 of file protocones.h.

Constructor & Destructor Documentation

◆ Cstable_cones()

siscone::Cstable_cones::Cstable_cones ( )

default ctor

Definition at line 89 of file protocones.cpp.

References hc, and nb_tot.

◆ ~Cstable_cones()

siscone::Cstable_cones::~Cstable_cones ( )

default dtor

Definition at line 105 of file protocones.cpp.

References hc.

Member Function Documentation

◆ get_stable_cones()

int siscone::Cstable_cones::get_stable_cones ( double  _radius)

compute stable cones.

This function really does the job i.e. computes the list of stable cones (in a seedless way)

Parameters
_radiusradius of the cones
Returns
The number of stable cones found is returned

Definition at line 141 of file protocones.cpp.

References siscone::Cvicinity::build(), hc, siscone::Cvicinity::n_part, siscone::Cvicinity::parent, siscone::Cvicinity::plist, protocones, R, R2, and siscone::Cvicinity::vicinity_size.

Referenced by siscone::Csiscone::compute_jets(), and siscone::Csiscone::compute_jets_progressive_removal().

◆ init()

void siscone::Cstable_cones::init ( std::vector< Cmomentum > &  _particle_list)

initialisation

Parameters
_particle_listlist of particles

Definition at line 114 of file protocones.cpp.

References hc, protocones, and siscone::Cvicinity::set_particle_list().

Referenced by siscone::Csiscone::compute_jets(), and siscone::Csiscone::compute_jets_progressive_removal().

Member Data Documentation

◆ hc

hash_cones* siscone::Cstable_cones::hc

list of candidates

Definition at line 112 of file protocones.h.

Referenced by Cstable_cones(), get_stable_cones(), init(), and ~Cstable_cones().

◆ nb_tot

int siscone::Cstable_cones::nb_tot

total number of tested cones

Definition at line 115 of file protocones.h.

Referenced by Cstable_cones().

◆ protocones

std::vector<Cmomentum> siscone::Cstable_cones::protocones

◆ R

double siscone::Cstable_cones::R
protected

cone radius

Definition at line 122 of file protocones.h.

Referenced by get_stable_cones().

◆ R2

double siscone::Cstable_cones::R2
protected

The documentation for this class was generated from the following files:

The SISCone project has been developed by Gavin Salam and Gregory Soyez
Documentation generated on Tue Jun 20 2023 18:08:37 for SISCone by  Doxygen 1.9.4