------------------------------------------------------------
revno: 402
committer: John Frankland <[email protected]>
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

_______________________________________________
Mailing list: https://launchpad.net/~kaliveda-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kaliveda-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to