siscone is hosted by Hepforge, IPPP Durham

The SISCone Jet Algorithm

Version 3.0.6



SISCone 3.0.6
siscone_spherical::CSphtheta_phi_range Class Reference

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

#include <geom_2d.h>

Public Member Functions

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

Public Attributes

unsigned int theta_range
 theta 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 theta_min = 0.0
 extremal value for theta More...
 
static double theta_max = M_PI
 maximal value for theta (set to pi) 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 52 of file geom_2d.h.

Constructor & Destructor Documentation

◆ CSphtheta_phi_range() [1/2]

siscone_spherical::CSphtheta_phi_range::CSphtheta_phi_range ( )

default ctor

Definition at line 54 of file geom_2d.cpp.

References phi_range, and theta_range.

◆ CSphtheta_phi_range() [2/2]

siscone_spherical::CSphtheta_phi_range::CSphtheta_phi_range ( double  c_theta,
double  c_phi,
double  R 
)

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

Parameters
c_thetatheta coordinate of the centre
c_phiphi coordinate of the centre
Rradius

Definition at line 65 of file geom_2d.cpp.

References phi_range, theta_max, theta_min, theta_range, and twopi.

Member Function Documentation

◆ add_particle()

int siscone_spherical::CSphtheta_phi_range::add_particle ( const double  theta,
const double  phi 
)

add a particle to the range

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

Definition at line 130 of file geom_2d.cpp.

References phi_range, and theta_range.

◆ operator=()

CSphtheta_phi_range & siscone_spherical::CSphtheta_phi_range::operator= ( const CSphtheta_phi_range r)

assignment of range

Parameters
rrange to assign to current one

Definition at line 118 of file geom_2d.cpp.

References phi_range, and theta_range.

Member Data Documentation

◆ phi_range

unsigned int siscone_spherical::CSphtheta_phi_range::phi_range

phi range as a binary coding of covered cells

Definition at line 78 of file geom_2d.h.

Referenced by add_particle(), siscone_spherical::CSphsplit_merge::add_protocones(), CSphtheta_phi_range(), operator=(), and siscone_spherical::CSphsplit_merge::show().

◆ theta_max

double siscone_spherical::CSphtheta_phi_range::theta_max = M_PI
static

maximal value for theta (set to pi)

Definition at line 82 of file geom_2d.h.

Referenced by CSphtheta_phi_range().

◆ theta_min

double siscone_spherical::CSphtheta_phi_range::theta_min = 0.0
static

extremal value for theta

minimal value for theta (set to 0)

Definition at line 81 of file geom_2d.h.

Referenced by CSphtheta_phi_range().

◆ theta_range

unsigned int siscone_spherical::CSphtheta_phi_range::theta_range

theta range as a binary coding of covered cells

Definition at line 75 of file geom_2d.h.

Referenced by add_particle(), siscone_spherical::CSphsplit_merge::add_protocones(), CSphtheta_phi_range(), operator=(), and siscone_spherical::CSphsplit_merge::show().


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