Print

Print


Commit in lcdd/src/lcdd/detectors on MAIN
CalorimeterSD.cc+2-91.10 -> 1.11
remove code that is commented out

lcdd/src/lcdd/detectors
CalorimeterSD.cc 1.10 -> 1.11
diff -u -r1.10 -r1.11
--- CalorimeterSD.cc	14 Sep 2013 02:17:50 -0000	1.10
+++ CalorimeterSD.cc	17 Sep 2013 00:30:22 -0000	1.11
@@ -1,4 +1,4 @@
-// $Header: /cvs/lcd/lcdd/src/lcdd/detectors/CalorimeterSD.cc,v 1.10 2013/09/14 02:17:50 jeremy Exp $
+// $Header: /cvs/lcd/lcdd/src/lcdd/detectors/CalorimeterSD.cc,v 1.11 2013/09/17 00:30:22 jeremy Exp $
 
 // LCDD
 #include "lcdd/detectors/CalorimeterSD.hh"
@@ -22,8 +22,6 @@
                 SensitiveDetector::eCalorimeter),
         _segmentation(sdSeg)
 {
-	_hitsCollections.clear();
-    //_hitsCollections.push_back(_collection);
 	_hitsCollections.push_back(0);
 }
 
@@ -37,12 +35,9 @@
                 SensitiveDetector::eCalorimeter),
         _segmentation(sdSeg)
 {
-	_hitsCollections.clear();
-
-	// I think this is only setting up the hits collections in a "dummy" way for G4.
+	// This is only setting up the hits collections in a "dummy" way for Geant4.
 	// The actual pointers to the collections are overridden later in Initialize.
     for (int i = 0; i < (int) hcNames.size(); i++) {
-        //_hitsCollections.push_back(_collection);
         _hitsCollections.push_back(0);
     }
 }
@@ -83,8 +78,6 @@
 
         // Add the hits collection to the hits collections of the event.
         HCE->AddHitsCollection(getHCID(i), _hitsCollections[i]);
-
-        // FIXME: Should _hitsVector also be setup here?
     }
 }
 
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