siscone is hosted by Hepforge, IPPP Durham

The SISCone Jet Algorithm

Version 3.0.6



SISCone 3.0.6
siscone::Ctwovect Class Reference

class for holding a two-vector More...

#include <geom_2d.h>

Public Member Functions

 Ctwovect ()
 default ctor More...
 
 Ctwovect (double _x, double _y)
 ctor with initialisation More...
 
double mod2 () const
 norm (modulud square) of the vector More...
 
double modulus () const
 modulus of the vector More...
 

Public Attributes

double x
 vector coordinates More...
 
double y
 

Detailed Description

class for holding a two-vector

Definition at line 73 of file geom_2d.h.

Constructor & Destructor Documentation

◆ Ctwovect() [1/2]

siscone::Ctwovect::Ctwovect ( )
inline

default ctor

Definition at line 76 of file geom_2d.h.

◆ Ctwovect() [2/2]

siscone::Ctwovect::Ctwovect ( double  _x,
double  _y 
)
inline

ctor with initialisation

Parameters
_xfirst coordinate
_ysecond coordinate

Definition at line 81 of file geom_2d.h.

Member Function Documentation

◆ mod2()

double siscone::Ctwovect::mod2 ( ) const
inline

norm (modulud square) of the vector

Definition at line 87 of file geom_2d.h.

References x.

Referenced by modulus().

◆ modulus()

double siscone::Ctwovect::modulus ( ) const
inline

modulus of the vector

Definition at line 90 of file geom_2d.h.

References mod2().

Member Data Documentation

◆ x

double siscone::Ctwovect::x

vector coordinates

Definition at line 84 of file geom_2d.h.

Referenced by mod2().

◆ y

double siscone::Ctwovect::y

Definition at line 84 of file geom_2d.h.


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

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