Print

Print


Commit in lcdd/src/lcdd/detectors on MAIN
LegacyCalorimeterHitProcessor.cc+13-141.3 -> 1.4
comment out debug code for now

lcdd/src/lcdd/detectors
LegacyCalorimeterHitProcessor.cc 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- LegacyCalorimeterHitProcessor.cc	14 Sep 2013 02:06:35 -0000	1.3
+++ LegacyCalorimeterHitProcessor.cc	17 Sep 2013 00:29:12 -0000	1.4
@@ -1,4 +1,4 @@
-// $Header: /cvs/lcd/lcdd/src/lcdd/detectors/LegacyCalorimeterHitProcessor.cc,v 1.3 2013/09/14 02:06:35 jeremy Exp $
+// $Header: /cvs/lcd/lcdd/src/lcdd/detectors/LegacyCalorimeterHitProcessor.cc,v 1.4 2013/09/17 00:29:12 jeremy Exp $
 
 // LCDD
 #include "lcdd/detectors/LegacyCalorimeterHitProcessor.hh"
@@ -40,10 +40,6 @@
     // Get the global cell position from the Segmentation.
     G4ThreeVector globalCellPosition = segmentation->getGlobalHitPosition(step);
 
-    // Reset the Segmentation bin values.
-    // FIXME: This could be called from Segmentation::setBins() method.
-    //segmentation->resetBins();
-
     // Set the segmentation bin values from the step.
     segmentation->setBins(step);
 
@@ -63,10 +59,12 @@
         _calorimeter->addHit(hit);
 
         // Debug print new hit information.
-        if (_calorimeter->getVerbose() > 0) {
-            std::cout << "new hit: " << std::hex << hit->getId64bit().getId0()
-                    << "|" << hit->getId64bit().getId1() << std::endl;
-        }
+        //if (_calorimeter->getVerbose() > 0) {
+        //    std::cout << "made new hit: " << std::hex
+        //            << hit->getId64bit().getId0() << "|"
+        //            << hit->getId64bit().getId1() << std::endl;
+        //    std::resetiosflags(std::ios::showbase);
+        //}
 
     } else {
 
@@ -74,11 +72,12 @@
         hit->addEdep(edep);
 
         // Debug print existing hit information.
-        if (_calorimeter->getVerbose() > 0) {
-            std::cout << "added " << edep << " GeV to hit: " << std::hex
-                    << hit->getId64bit().getId0() << "|"
-                    << hit->getId64bit().getId1() << std::endl;
-        }
+        //if (_calorimeter->getVerbose() > 0) {
+        //    std::cout << "added " << edep << " GeV to hit: " << std::hex
+        //            << hit->getId64bit().getId0() << "|"
+        //            << hit->getId64bit().getId1() << std::endl;
+        //    std::resetiosflags(std::ios::showbase);
+        //}
 
     }
 
CVSspam 0.2.12


Use REPLY-ALL to reply to list

To unsubscribe from the LCD-CVS list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCD-CVS&A=1