projects/lcdd/trunk/src/lcdd/detectors
--- projects/lcdd/trunk/src/lcdd/detectors/OpticalCalorimeterHitProcessor.cc 2014-03-03 19:20:27 UTC (rev 3037)
+++ projects/lcdd/trunk/src/lcdd/detectors/OpticalCalorimeterHitProcessor.cc 2014-03-03 19:24:05 UTC (rev 3038)
@@ -24,9 +24,6 @@
bool OpticalCalorimeterHitProcessor::processHits(G4Step* step) {
- /* Activate hit processing for standard edep collection. */
- LegacyCalorimeterHitProcessor::processHits(step);
-
// FIXME: This should not be here. Unfortunately, it appears that instantiating
// it in the constructor does not work due to unintialized Geant4 data structures.
// The HitProcessor may need an initialize method called in start of run.
@@ -85,9 +82,10 @@
theEdep*GeV,
theTrack->GetParticleDefinition()->GetAntiPDGEncoding(),
theTrack->GetGlobalTime()));
- } // end Cerenkov photon treatment
-
- return true;
+ return true;
+ } else {
+ return false;
+ }
}
G4ThreeVector OpticalCalorimeterHitProcessor::getGlobalHitPosition(const G4StepPoint* aPreStepPoint) {