Skip to content
Snippets Groups Projects
Commit d8827063 authored by Kong Tu's avatar Kong Tu
Browse files

change dvcs-d analysis

parent 504d8202
No related branches found
No related tags found
1 merge request!100Draft: Diffractive phi benchmark development
......@@ -354,11 +354,11 @@ auto giveme_t_doubleTagging_REC(const std::vector<eic::ReconstructedParticleData
std::vector<double> t_vec;
TLorentzVector nOut(1e-10,1e-10,1e-10,1e-10),pOut(1e-10,1e-10,1e-10,1e-10);
for(auto&i2: mom){
if(fabs(i2.mass-0.93957)<1e-4){
if(i2.charge==0){
TVector3 nOut_v3(i2.p.x,i2.p.y,i2.p.z);
nOut.SetVectM(nOut_v3,0.93957);
}
if(fabs(i2.mass-0.93827)<1e-4){
if(i2.charge==+1){
TVector3 pOut_v3(-i2.p.x,-i2.p.y,-i2.p.z);//remember the - sign.
pOut.SetVectM(pOut_v3,0.93827);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment