CMS 3D CMS Logo

Classes | Typedefs | Functions
Particle.h File Reference
#include <list>
#include <TLorentzRotation.h>
#include <TLorentzVector.h>
#include <TVector3.h>
#include "ParticlePDG.h"
#include <iostream>

Go to the source code of this file.

Classes

class  Particle
 
class  ParticleAllocator
 

Typedefs

typedef std::list< ParticleList_t
 
typedef std::list< Particle >::iterator LPIT_t
 

Functions

double S (const TLorentzVector &, const TLorentzVector &)
 
double T (const TLorentzVector &, const TLorentzVector &)
 

Typedef Documentation

Definition at line 141 of file Particle.h.

typedef std::list<Particle>::iterator LPIT_t

Definition at line 142 of file Particle.h.

Function Documentation

double S ( const TLorentzVector &  ,
const TLorentzVector &   
)
double T ( const TLorentzVector &  ,
const TLorentzVector &   
)

Definition at line 104 of file Particle.cc.

104  {
105  return TMath::Power(v1.T() - v2.T(), 2) - TMath::Power(v1.X() - v2.X(), 2) -
106  TMath::Power(v1.Y() - v2.Y(), 2) - TMath::Power(v1.Z() - v2.Z(), 2);
107 }