Skip to content
Snippets Groups Projects
Commit 10f34695 authored by Ziyue Zhang's avatar Ziyue Zhang
Browse files

Update dvmp/analysis/util.h

parent d1f9db08
No related branches found
No related tags found
1 merge request!22Add nu Q2 x plots for simulation
......@@ -166,7 +166,7 @@ struct structure_func{ //add more when needed
//for simu
inline structure_func calc_structure_func_simu(const std::vector<ROOT::Math::PxPyPzMVector>& parts){
ROOT::Math::PxPyPzMVector q(parts[0] - parts[2]);
ROOT::Math::PxPyPzMVector P(parts[1]);
ROOT::Math::PxPyPzMVector P(parts[3]);
double nu = q.Dot(P) / P.mass();
double Q2 = - q.Dot(q);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment