slicPandora/src
diff -u -r1.8 -r1.9
--- CalorimeterHitProcessor.cpp 8 Jun 2010 21:43:02 -0000 1.8
+++ CalorimeterHitProcessor.cpp 8 Jun 2010 22:57:47 -0000 1.9
@@ -1,4 +1,4 @@
-// $Id: CalorimeterHitProcessor.cpp,v 1.8 2010/06/08 21:43:02 jeremy Exp $
+// $Id: CalorimeterHitProcessor.cpp,v 1.9 2010/06/08 22:57:47 jeremy Exp $
#include "CalorimeterHitProcessor.h"
@@ -18,8 +18,6 @@
using EVENT::CalorimeterHit;
using EVENT::LCCollection;
-// #define CALO_PARAMS_DEBUG 1
-
void CalorimeterHitProcessor::processEvent(EVENT::LCEvent* event)
{
m_totalEHits = 0.;
@@ -33,8 +31,6 @@
{
std::string calType = *iter;
- //std::cout << "converting collection: " << calType << std::endl;
-
// Get the SubDetector parameters.
PandoraApi::GeometryParameters::SubDetectorParameters* subdet = geom->getSubDetectorFromType(calType);
DetectorGeometry::ExtraSubDetectorParameters* xsubdet = geom->getExtraSubDetectorParametersFromType(calType);
@@ -61,7 +57,9 @@
#endif
}
+#ifdef CALO_PARAMS_DEBUG
std::cout << "totalEHits: " << m_totalEHits << std::endl;
+#endif
m_totalEHits = 0;
}
@@ -98,6 +96,7 @@
}
#endif
+ // Get layer parameters.
PandoraApi::GeometryParameters::LayerParameters layerParams = (*layerList)[layer];
DetectorGeometry::ExtraLayerParameters xlayerParams = xsubdet->m_extraLayerParams[layer];