BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
trkInfo.h File Reference
#include "CLHEP/Vector/LorentzVector.h"
#include "string.h"
#include "MdcRecEvent/RecMdcKalTrack.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 25 of file trkInfo.h.

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

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.

Referenced by m_trkInfo::getTrk().