C++ Interface to Tauola
Public Member Functions | Private Attributes
Particle Class Reference
Collaboration diagram for Particle:
Collaboration graph

Public Member Functions

 Particle (double px, double py, double pz, double e, int id)
 
double px () const
 
double py () const
 
double pz () const
 
double e () const
 
int pdgid () const
 
double recalculated_mass () const
 
void setPx (double px)
 
void setPy (double py)
 
void setPz (double pz)
 
void setE (double e)
 
void print ()
 
double getAnglePhi ()
 
double getAngleTheta ()
 
void rotateXZ (double theta)
 
void rotateXY (double theta)
 
void boostAlongZ (double pz, double e)
 
void boostToRestFrame (Particle &p)
 
void boostFromRestFrame (Particle &p)
 

Private Attributes

double _px
 
double _py
 
double _pz
 
double _e
 
int _pdgid
 

Detailed Description

Definition at line 18 of file Particle.h.

Constructor & Destructor Documentation

◆ Particle() [1/2]

Particle ( )
inline

Definition at line 24 of file Particle.h.

◆ Particle() [2/2]

Particle ( double px,
double py,
double pz,
double e,
int id )
inline

Definition at line 25 of file Particle.h.

Member Function Documentation

◆ boostAlongZ()

void boostAlongZ ( double pz,
double e )
inline

Definition at line 132 of file Particle.h.

◆ boostFromRestFrame()

void boostFromRestFrame ( Particle & p)
inline

Definition at line 159 of file Particle.h.

◆ boostToRestFrame()

void boostToRestFrame ( Particle & p)
inline

Definition at line 143 of file Particle.h.

◆ e()

double e ( ) const
inline

Definition at line 34 of file Particle.h.

◆ getAnglePhi()

double getAnglePhi ( )
inline

Definition at line 77 of file Particle.h.

◆ getAngleTheta()

double getAngleTheta ( )
inline

Definition at line 96 of file Particle.h.

◆ pdgid()

int pdgid ( ) const
inline

Definition at line 35 of file Particle.h.

◆ print()

void print ( )
inline

Definition at line 53 of file Particle.h.

◆ px()

double px ( ) const
inline

Definition at line 31 of file Particle.h.

◆ py()

double py ( ) const
inline

Definition at line 32 of file Particle.h.

◆ pz()

double pz ( ) const
inline

Definition at line 33 of file Particle.h.

◆ recalculated_mass()

double recalculated_mass ( ) const
inline

Definition at line 38 of file Particle.h.

◆ rotateXY()

void rotateXY ( double theta)
inline

Definition at line 123 of file Particle.h.

◆ rotateXZ()

void rotateXZ ( double theta)
inline

Definition at line 114 of file Particle.h.

◆ setE()

void setE ( double e)
inline

Definition at line 52 of file Particle.h.

◆ setPx()

void setPx ( double px)
inline

Definition at line 49 of file Particle.h.

◆ setPy()

void setPy ( double py)
inline

Definition at line 50 of file Particle.h.

◆ setPz()

void setPz ( double pz)
inline

Definition at line 51 of file Particle.h.

Field Documentation

◆ _e

double _e
private

Definition at line 73 of file Particle.h.

◆ _pdgid

int _pdgid
private

Definition at line 74 of file Particle.h.

◆ _px

double _px
private

Definition at line 73 of file Particle.h.

◆ _py

double _py
private

Definition at line 73 of file Particle.h.

◆ _pz

double _pz
private

Definition at line 73 of file Particle.h.


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