projects/lcdd/branches/v05-00-00-dev/src/lcdd/detectors
--- projects/lcdd/branches/v05-00-00-dev/src/lcdd/detectors/DDSegmentationCalorimeterHitProcessor.cc 2014-08-11 19:00:16 UTC (rev 3245)
+++ projects/lcdd/branches/v05-00-00-dev/src/lcdd/detectors/DDSegmentationCalorimeterHitProcessor.cc 2014-08-11 19:00:57 UTC (rev 3246)
@@ -64,13 +64,14 @@
// Get the encoded 64-bit cell ID from the Segmentation.
long cellId = segmentation->cellID(localPosition, globalPosition, volumeId);
+ G4cout << "fieldDescription = " << segmentation->decoder()->fieldDescription() << G4endl;
segmentation->decoder()->setValue(cellId);
- //int ix = segmentation->decoder()->index("x");
- //int iy = segmentation->decoder()->index("y");
+ int ix = segmentation->decoder()->index("x");
+ int iy = segmentation->decoder()->index("y");
- //G4cout << "x = " << segmentation->decoder()[(int)ix] << G4endl;
- //G4cout << "y = " << segmentation->decoder()[(int)iy] << G4endl;
+ G4cout << "x = " << segmentation->decoder()[ix] << G4endl;
+ G4cout << "y = " << segmentation->decoder()[iy] << G4endl;
// Check for an existing hit with this identifier.
CalorimeterHit* hit = _calorimeter->getCalorimeterHitMap(getCollectionIndex())->get(cellId);