siscone is hosted by Hepforge, IPPP Durham

The SISCone Jet Algorithm

Version 3.0.6



SISCone 3.0.6
siscone::Creference Class Reference

references used for checksums. More...

#include <reference.h>

Public Member Functions

 Creference ()
 default constructor More...
 
void randomize ()
 create a random reference More...
 
bool is_empty ()
 test emptyness More...
 
bool not_empty ()
 test non-emptyness More...
 
Creferenceoperator= (const Creference &r)
 assignment of reference More...
 
Creference operator+ (const Creference &r)
 addition of reference More...
 
Creferenceoperator+= (const Creference &r)
 incrementation of reference More...
 
Creferenceoperator-= (const Creference &r)
 decrementation of reference More...
 
unsigned int operator[] (int i)
 accessing the reference More...
 

Public Attributes

unsigned int ref [3]
 actual data for the reference More...
 

Detailed Description

references used for checksums.

This class implements some reference variable that can be used for checksums. Those checksums are useful to disentengle between contents of two cones without looking into their explicit particle contents.

Definition at line 43 of file reference.h.

Constructor & Destructor Documentation

◆ Creference()

siscone::Creference::Creference ( )

default constructor

Definition at line 46 of file reference.cpp.

References ref.

Member Function Documentation

◆ is_empty()

bool siscone::Creference::is_empty ( )

test emptyness

Definition at line 75 of file reference.cpp.

References ref.

Referenced by randomize().

◆ not_empty()

bool siscone::Creference::not_empty ( )

test non-emptyness

Definition at line 81 of file reference.cpp.

References ref.

◆ operator+()

Creference siscone::Creference::operator+ ( const Creference r)

addition of reference

Definition at line 96 of file reference.cpp.

◆ operator+=()

Creference & siscone::Creference::operator+= ( const Creference r)

incrementation of reference

Definition at line 103 of file reference.cpp.

References ref.

◆ operator-=()

Creference & siscone::Creference::operator-= ( const Creference r)

decrementation of reference

Definition at line 112 of file reference.cpp.

References ref.

◆ operator=()

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

assignment of reference

Definition at line 87 of file reference.cpp.

References ref.

◆ operator[]()

unsigned int siscone::Creference::operator[] ( int  i)
inline

accessing the reference

Definition at line 70 of file reference.h.

References ref.

◆ randomize()

void siscone::Creference::randomize ( )

create a random reference

Definition at line 54 of file reference.cpp.

References is_empty(), randomize(), and ref.

Referenced by randomize().

Member Data Documentation

◆ ref

unsigned int siscone::Creference::ref[3]

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