BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
trkInfo.h File Reference
#include "CLHEP/Vector/LorentzVector.h"
#include "MdcRecEvent/RecMdcKalTrack.h"
#include "string.h"

Go to the source code of this file.

Classes

class  m_trkInfo

Functions

double cal_via_mom (HepLorentzVector m_mom_a, HepLorentzVector m_mom_b)

Variables

const double mmass [5] = { 0.000511, 0.105658, 0.139570, 0.493677, 0.938272 }

Function Documentation

◆ cal_via_mom()

double cal_via_mom ( HepLorentzVector m_mom_a,
HepLorentzVector m_mom_b )
inline

Definition at line 26 of file trkInfo.h.

26 {
27 return ( m_mom_b.vect().mag() * 1000 - m_mom_a.vect().mag() );
28} // where a factor 1000 arise from the differences between the unit of MC truth and

Variable Documentation

◆ mmass

const double mmass[5] = { 0.000511, 0.105658, 0.139570, 0.493677, 0.938272 }

Definition at line 4 of file trkInfo.h.

4{ 0.000511, 0.105658, 0.139570, 0.493677, 0.938272 };

Referenced by m_trkInfo::getTrk().