1#include "CLHEP/Vector/LorentzVector.h"
4const double mmass[5] = {0.000511, 0.105658, 0.139570,0.493677, 0.938272};
20 HepLorentzVector
getTrk(){
return trk;}
21 HepLorentzVector
getTrk(std::string m_particle_type);
25inline double cal_via_mom(HepLorentzVector m_mom_a, HepLorentzVector m_mom_b){
26 return( m_mom_b.vect().mag()*1000-m_mom_a.vect().mag());
32 trk.setPx(mdcTrk->
px());
33 trk.setPy(mdcTrk->
py());
34 trk.setPz(mdcTrk->
pz());
35 double p3(mdcTrk->
p());
39 if(m_part_type==
"muon"){
41 trk.setPx(mdcTrk->
px());
42 trk.setPy(mdcTrk->
py());
43 trk.setPz(mdcTrk->
pz());
44 double p3(mdcTrk->
p());
48 if(m_part_type==
"pion"){
50 trk.setPx(mdcTrk->
px());
51 trk.setPy(mdcTrk->
py());
52 trk.setPz(mdcTrk->
pz());
53 double p3(mdcTrk->
p());
57 if(m_part_type==
"kion"){
59 trk.setPx(mdcTrk->
px());
60 trk.setPy(mdcTrk->
py());
61 trk.setPz(mdcTrk->
pz());
62 double p3(mdcTrk->
p());
66 if(m_part_type==
"proton"){
68 trk.setPx(mdcTrk->
px());
69 trk.setPy(mdcTrk->
py());
70 trk.setPz(mdcTrk->
pz());
71 double p3(mdcTrk->
p());
**********INTEGER nmxhep !maximum number of particles DOUBLE PRECISION vhep INTEGER jdahep COMMON hepevt $ !serial number $ !number of particles $ !status code $ !particle ident KF $ !parent particles $ !childreen particles $ !four momentum
static void setPidType(PidType pidType)
HepLorentzVector getTrk()
m_trkInfo(int index, double momentum, HepLorentzVector trkp, RecMdcKalTrack *mdcKaltrk)
double cal_via_mom(HepLorentzVector m_mom_a, HepLorentzVector m_mom_b)