Print

Print


Commit in projects/lcdd/trunk/src/lcdd/hits on MAIN
HitContribution.cc+5-53025 -> 3026
Comment out no longer relevant check for optical photon.

projects/lcdd/trunk/src/lcdd/hits
HitContribution.cc 3025 -> 3026
--- projects/lcdd/trunk/src/lcdd/hits/HitContribution.cc	2014-02-26 20:14:14 UTC (rev 3025)
+++ projects/lcdd/trunk/src/lcdd/hits/HitContribution.cc	2014-02-26 20:14:47 UTC (rev 3026)
@@ -35,11 +35,11 @@
     _trackID = trkInfo->getOriginalTrackID();
 
     // Set edep according to type of track.
-    if (aTrack->GetDefinition() == G4OpticalPhoton::OpticalPhotonDefinition()) {
-        _edep = aTrack->GetTotalEnergy();
-    } else {
-        _edep = aStep->GetTotalEnergyDeposit();
-    }
+    //if (aTrack->GetDefinition() == G4OpticalPhoton::OpticalPhotonDefinition()) {
+    //    _edep = aTrack->GetTotalEnergy();
+    //} else {
+    _edep = aStep->GetTotalEnergyDeposit();
+    //}
 
     // PDG ID.
     _PdgId = aTrack->GetDefinition()->GetPDGEncoding();
SVNspam 0.1


Use REPLY-ALL to reply to list

To unsubscribe from the LCDET-SVN list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCDET-SVN&A=1