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

change dvcs-d analysis

parent 93731b7f
Branches
Tags
1 merge request!100Draft: Diffractive phi benchmark development
...@@ -357,10 +357,12 @@ auto giveme_t_doubleTagging_REC(const std::vector<eic::ReconstructedParticleData ...@@ -357,10 +357,12 @@ auto giveme_t_doubleTagging_REC(const std::vector<eic::ReconstructedParticleData
if(i2.charge==0){ if(i2.charge==0){
TVector3 nOut_v3(i2.p.x,i2.p.y,i2.p.z); TVector3 nOut_v3(i2.p.x,i2.p.y,i2.p.z);
nOut.SetVectM(nOut_v3,0.93957); nOut.SetVectM(nOut_v3,0.93957);
std::cout << "neutron " << i2.p.x << std::endl;
} }
if(i2.charge==+1){ if(i2.charge==+1){
TVector3 pOut_v3(i2.p.x,i2.p.y,i2.p.z);//remember the - sign. TVector3 pOut_v3(i2.p.x,i2.p.y,i2.p.z);//remember the - sign.
pOut.SetVectM(pOut_v3,0.93827); pOut.SetVectM(pOut_v3,0.93827);
std::cout << "proton " << i2.p.x << std::endl;
} }
} }
if(nOut.Px()<1e-9||pOut.Px()<1e-9){ if(nOut.Px()<1e-9||pOut.Px()<1e-9){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment