siscone is hosted by Hepforge, IPPP Durham

The SISCone Jet Algorithm

Version 3.0.6



SISCone 3.0.6

class for holding a covering range in eta-phi More...

#include <geom_2d.h>

Public Member Functions

 Ceta_phi_range ()
 default ctor More...
 
 Ceta_phi_range (double c_eta, double c_phi, double R)
 ctor with initialisation we initialise with a centre (in eta,phi) and a radius More...
 
Ceta_phi_rangeoperator= (const Ceta_phi_range &r)
 assignment of range More...
 
int add_particle (const double eta, const double phi)
 add a particle to the range More...
 

Public Attributes

unsigned int eta_range
 eta range as a binary coding of covered cells More...
 
unsigned int phi_range
 phi range as a binary coding of covered cells More...
 

Static Public Attributes

static double eta_min = -100.0
 minimal value for eta More...
 
static double eta_max = 100.0
 maximal value for eta More...
 

Detailed Description

class for holding a covering range in eta-phi

This class deals with ranges in the eta-phi plane. It implements methods to test if two ranges overlap and to take the union of two overlapping intervals.

Definition at line 120 of file geom_2d.h.

Constructor & Destructor Documentation

◆ Ceta_phi_range() [1/2]

siscone::Ceta_phi_range::Ceta_phi_range ( )

default ctor

Definition at line 52 of file geom_2d.cpp.

References eta_range, and phi_range.

◆ Ceta_phi_range() [2/2]

siscone::Ceta_phi_range::Ceta_phi_range ( double  c_eta,
double  c_phi,
double  R 
)

ctor with initialisation we initialise with a centre (in eta,phi) and a radius

Parameters
c_etaeta coordinate of the centre
c_phiphi coordinate of the centre
Rradius

Definition at line 63 of file geom_2d.cpp.

References eta_max, eta_min, eta_range, and phi_range.

Member Function Documentation

◆ add_particle()

int siscone::Ceta_phi_range::add_particle ( const double  eta,
const double  phi 
)

add a particle to the range

Parameters
etaeta coordinate of the particle
phiphi coordinate of the particle
Returns
0 on success, 1 on error

Definition at line 111 of file geom_2d.cpp.

References eta_range, and phi_range.

◆ operator=()

Ceta_phi_range & siscone::Ceta_phi_range::operator= ( const Ceta_phi_range r)

assignment of range

Parameters
rrange to assign to current one

Definition at line 99 of file geom_2d.cpp.

References eta_range, and phi_range.

Member Data Documentation

◆ eta_max

double siscone::Ceta_phi_range::eta_max = 100.0
static

maximal value for eta

Definition at line 150 of file geom_2d.h.

Referenced by Ceta_phi_range(), and siscone::Csplit_merge::init_pleft().

◆ eta_min

double siscone::Ceta_phi_range::eta_min = -100.0
static

minimal value for eta

Definition at line 149 of file geom_2d.h.

Referenced by Ceta_phi_range(), and siscone::Csplit_merge::init_pleft().

◆ eta_range

unsigned int siscone::Ceta_phi_range::eta_range

eta range as a binary coding of covered cells

Definition at line 143 of file geom_2d.h.

Referenced by add_particle(), Ceta_phi_range(), and operator=().

◆ phi_range

unsigned int siscone::Ceta_phi_range::phi_range

phi range as a binary coding of covered cells

Definition at line 146 of file geom_2d.h.

Referenced by add_particle(), Ceta_phi_range(), and operator=().


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