[Rivet-svn] r4031 - branches/2012-06-aidarivet/src/Analyses

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Fri Nov 16 21:49:08 GMT 2012


Author: buckley
Date: Fri Nov 16 21:49:08 2012
New Revision: 4031

Log:
Remove unused variable warnings

Modified:
   branches/2012-06-aidarivet/src/Analyses/MC_PRINTEVENT.cc

Modified: branches/2012-06-aidarivet/src/Analyses/MC_PRINTEVENT.cc
==============================================================================
--- branches/2012-06-aidarivet/src/Analyses/MC_PRINTEVENT.cc	Fri Nov 16 21:46:08 2012	(r4030)
+++ branches/2012-06-aidarivet/src/Analyses/MC_PRINTEVENT.cc	Fri Nov 16 21:49:08 2012	(r4031)
@@ -213,16 +213,16 @@
         if ((*p)->end_vertex() && (*p)->end_vertex()->barcode() != 0) {
           p_endvtx=(*p)->end_vertex()->barcode();
         }
-        double v_x = 0;
-        double v_y = 0;
-        double v_z = 0;
-        double v_ct = 0;
-        if ((*p)->production_vertex()) {
-          v_x = (*p)->production_vertex()->position().x();
-          v_y = (*p)->production_vertex()->position().y();
-          v_z = (*p)->production_vertex()->position().z();
-          v_ct = (*p)->production_vertex()->position().t();
-        }
+        // double v_x = 0;
+        // double v_y = 0;
+        // double v_z = 0;
+        // double v_ct = 0;
+        // if ((*p)->production_vertex()) {
+        //   v_x = (*p)->production_vertex()->position().x();
+        //   v_y = (*p)->production_vertex()->position().y();
+        //   v_z = (*p)->production_vertex()->position().z();
+        //   v_ct = (*p)->production_vertex()->position().t();
+        // }
 
         // Mass (prefer generated mass if available)
         double p_mass = (*p)->generated_mass();


More information about the Rivet-svn mailing list