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

change incoming to px/2,py/2,pz/2, options 200 GeV

parent 5e8b68fe
Branches
No related tags found
1 merge request!100Draft: Diffractive phi benchmark development
......@@ -394,11 +394,11 @@ auto giveme_t_neutron_MC(const std::vector<dd4pod::Geant4ParticleData>& parts){
TLorentzVector pIn,pOut;
for(auto& i1 : parts){
if(i1.genStatus==4&&i1.pdgID==2112) {
TVector3 pIn_v3(i1.ps.x,i1.ps.y,i1.ps.z);
TVector3 pIn_v3(i1.ps.x/2.,i1.ps.y/2.,i1.ps.z/2.);
pIn.SetVectM(pIn_v3,i1.mass);
}
if(i1.genStatus==1&&i1.pdgID==2112) {
TVector3 pOut_v3(i1.ps.x/2.,i1.ps.y/2.,i1.ps.z/2.);
TVector3 pOut_v3(i1.ps.x,i1.ps.y,i1.ps.z);
pOut.SetVectM(pOut_v3,i1.mass);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment