← Back to team overview

kaliveda-dev team mailing list archive

[Branch ~kaliveda-dev/kaliveda/1.8] Rev 402: *** FIX MAJOR BUG IN KVMATERIAL::GETERESFROMDELTAE ***

 

------------------------------------------------------------
revno: 402
committer: John Frankland <frankland@xxxxxxxx>
branch nick: 1.8
timestamp: Fri 2011-04-29 14:01:32 +0200
message:
  *** FIX MAJOR BUG IN KVMATERIAL::GETERESFROMDELTAE ***
  method was correct for simple absorbers
  however it is also used by KVDetector objects (uses GetIncidentEnergy
  to calculate Einc, which is overridden in KVDetector).
  as the comments clearly state, in this case Eres < Einc - dE
  (dE is the energy loss in the active layer only, the total energy
  loss in the detector is > dE).
  nevertheless, the method returned Eres = Einc - dE, therefore Eres
  was overestimated by this method.
  now we use (correctly) GetERes(Einc) to calculate Eres.
modified:
  KVMultiDet/detectors/KVMaterial.cpp


--
lp:kaliveda
https://code.launchpad.net/~kaliveda-dev/kaliveda/1.8

Your team KaliVeda Development Team is subscribed to branch lp:kaliveda.
To unsubscribe from this branch go to https://code.launchpad.net/~kaliveda-dev/kaliveda/1.8/+edit-subscription