Print

Print


Commit in slicPandora/src on MAIN
CalorimeterHitProcessor.cpp+5-11.12 -> 1.13
another patch from Marcel; fixes runtime crash using latest Pandora tag

slicPandora/src
CalorimeterHitProcessor.cpp 1.12 -> 1.13
diff -u -r1.12 -r1.13
--- CalorimeterHitProcessor.cpp	16 Aug 2010 18:17:48 -0000	1.12
+++ CalorimeterHitProcessor.cpp	16 Aug 2010 18:25:04 -0000	1.13
@@ -1,4 +1,4 @@
-// $Id: CalorimeterHitProcessor.cpp,v 1.12 2010/08/16 18:17:48 jeremy Exp $
+// $Id: CalorimeterHitProcessor.cpp,v 1.13 2010/08/16 18:25:04 jeremy Exp $
 
 #include "CalorimeterHitProcessor.h"
 
@@ -220,7 +220,11 @@
     {
         params.m_normalVector = pandora::CartesianVector(0., 0., pos[2]/fabs(pos[2]));
     }
+
+    // Number of interaction lengths from the IP.
+    params.m_nInteractionLengthsFromIp = 0.f;
   
+    // Return completed calorimeter parameters.
     return params;                                               
 }
 
CVSspam 0.2.8