SISCone  2.0.5
Public Member Functions | Public Attributes
siscone_spherical::CSphmomentum Class Reference

base class for dynamic coordinates management More...

#include <momentum.h>

Inheritance diagram for siscone_spherical::CSphmomentum:
Inheritance graph
[legend]
Collaboration diagram for siscone_spherical::CSphmomentum:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CSphmomentum ()
 default ctor
 CSphmomentum (CSph3vector &init, double E=0.0)
 init from a 3-vect
 CSphmomentum (double _px, double _py, double _pz, double _E)
 ctor with initialisation
 ~CSphmomentum ()
 ctor with detailed initialisation
double mass () const
 computes m
double mass2 () const
 computes m^2
double perpmass () const
 transverse mass, mt = sqrt(pt^2+m^2) = sqrt(E^2 - pz^2)
double perpmass2 () const
 transverse mass squared, mt^2 = pt^2+m^2 = E^2 - pz^2
double Et () const
 computes transverse energy
double Et2 () const
 computes transverse energy (squared)
CSphmomentumoperator= (const CSphmomentum &v)
 assignment of vectors
const CSphmomentum operator+ (const CSphmomentum &v)
 addition of vectors !!! WARNING !!! no updating of eta and phi !!!
CSphmomentumoperator+= (const CSphmomentum &v)
 incrementation of vectors !!! WARNING !!! no updating of eta and phi !!!
CSphmomentumoperator-= (const CSphmomentum &v)
 decrementation of vectors !!! WARNING !!! no updating of eta and phi !!!

Public Attributes

double E
 energy
int parent_index
 particle number in the parent list
int index
 internal particle number

Detailed Description

base class for dynamic coordinates management

This class contains the information for particle or group of particles management. It is adapted to use spherical geometry, where, for our purposes, the only time-consuming operation we need is the computation of the norm. To compute it once-and-for-all and store it in a local variable, you should call the 'build_norm' method. On top of that, the angle phi is computed from the x-axis and theta from the "north pole".

Definition at line 158 of file momentum.h.


Constructor & Destructor Documentation

ctor with detailed initialisation

default dtor

Definition at line 218 of file momentum.cpp.


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 Mon Jun 4 2012 18:23:38 for SISCone by  Doxygen 1.7.6.1