lcdd/src/lcdd/detectors
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;