Print

Print


Commit in lcdd/src/lcdd/detectors on LCDD-102_BRANCH
SensitiveDetectorFactory.cc+10-101.4.2.5 -> 1.4.2.6
remove debug prints

lcdd/src/lcdd/detectors
SensitiveDetectorFactory.cc 1.4.2.5 -> 1.4.2.6
diff -u -r1.4.2.5 -r1.4.2.6
--- SensitiveDetectorFactory.cc	22 Aug 2013 20:24:38 -0000	1.4.2.5
+++ SensitiveDetectorFactory.cc	22 Aug 2013 21:44:43 -0000	1.4.2.6
@@ -1,4 +1,4 @@
-// $Header: /cvs/lcd/lcdd/src/lcdd/detectors/SensitiveDetectorFactory.cc,v 1.4.2.5 2013/08/22 20:24:38 jeremy Exp $
+// $Header: /cvs/lcd/lcdd/src/lcdd/detectors/SensitiveDetectorFactory.cc,v 1.4.2.6 2013/08/22 21:44:43 jeremy Exp $
 
 // LCDD
 #include "lcdd/detectors/SensitiveDetectorFactory.hh"
@@ -115,7 +115,7 @@
         	}
         	HitProcessor* processor = hitProcessorFactory->createHitProcessor(sensitiveDetector);
 
-        	std::cout << "create hits processor: " << type << std::endl;
+        	//std::cout << "create hits processor: " << type << std::endl;
 
         	// Add the HitProcessor to the list.
         	hitProcessors.push_back(processor);
@@ -138,12 +138,12 @@
 
         // Register the SensitiveDetector with the LCDDProcessor.
         std::string sensitiveDetectorName = sensitiveDetector->GetName();
-        std::cout << "adding sensitive detector: " << sensitiveDetectorName << std::endl;
-        std::cout << "  HCs: ";
-        for (std::vector<G4String>::iterator it = hitsCollections.begin(); it != hitsCollections.end(); it++) {
-        	std::cout << (*it) << " ";
-        }
-        std::cout << std::endl;
+        //std::cout << "adding sensitive detector: " << sensitiveDetectorName << std::endl;
+        //std::cout << "  HCs: ";
+        //for (std::vector<G4String>::iterator it = hitsCollections.begin(); it != hitsCollections.end(); it++) {
+        //	std::cout << (*it) << " ";
+        //}
+        //std::cout << std::endl;
         LCDDProcessor::instance()->addSensitiveDetector(sensitiveDetectorName, sensitiveDetector);
     } else {
         // This should never really happen.
@@ -203,8 +203,8 @@
     std::string hitsCollectionName = hitsCollections[0];
 
     // Create the basic TrackerSD.
-    std::cout << "creating new tracker: " << trackerElement->get_name() << std::endl;
-    std::cout << "  HC: " << hitsCollectionName << std::endl;
+    //std::cout << "creating new tracker: " << trackerElement->get_name() << std::endl;
+    //std::cout << "  HC: " << hitsCollectionName << std::endl;
     TrackerSD* sd = new TrackerSD(trackerElement->get_name(), hitsCollectionName);
 
     return sd;
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