From ed17fb4629470b3c70dba542e364daa2bf265b8d Mon Sep 17 00:00:00 2001
From: Ziyue Zhang <Ziyue_Zhang@localhost.localdomain>
Date: Thu, 4 Mar 2021 15:53:25 -0600
Subject: [PATCH] WIP: Test on PID instead of pmass

---
 benchmarks/dvmp/analysis/dvmp.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/benchmarks/dvmp/analysis/dvmp.h b/benchmarks/dvmp/analysis/dvmp.h
index 48d4dc8e..31ac2b12 100644
--- a/benchmarks/dvmp/analysis/dvmp.h
+++ b/benchmarks/dvmp/analysis/dvmp.h
@@ -88,9 +88,9 @@ namespace util {
       if( parts[i].pid!=daughter_pid) continue;
       for (int j = i + 1 ; j < parts.size() ; ++j) {
         if( parts[j].pid!= -daughter_pid) continue;
-        ROOT::Math::PxPyPzMVector lpt_1();
+        ROOT::Math::PxPyPzMVector lpt_1;
         lpt_1.SetPxPyPzE(parts[i].p.x, parts[i].p.y, parts[i].p.z, parts[i].energy);
-        ROOT::Math::PxPyPzMVector lpt_2();
+        ROOT::Math::PxPyPzMVector lpt_2;
         lpt_2.SetPxPyPzE(parts[j].p.x, parts[j].p.y, parts[j].p.z, parts[j].energy);        
         const double new_mass{(lpt_1 + lpt_2).mass()};
         if (fabs(new_mass - get_pdg_mass(mother)) < fabs(best_mass - get_pdg_mass(mother))) {
-- 
GitLab