Message: how to add energy resolution code in geant4 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None how to add energy resolution code in geant4 

Forum: Analysis
Date: 25 Apr, 2008
From: ylzhang <ylzhang>

I have a question. Mono energy alpha particles entrance silicon detector. I can gain a spectrum. and fit the spectrum, gained a FWHM. but i didnot put the energy resolution in the material. If I put the energy resolution that could be gained from experiment into code.

runaction->eventInfo.siliconLayersEnergyDepositWithError[ptr] = 
          runaction->eventInfo.siliconLayersEnergyDeposit[ptr] + 
          RandGaussT::shoot( engine, 0.0, sqrt( siliconSigma[ptr]*siliconSigma[ptr] + siliconNoise*siliconNoise )

the FWHM is bigger than experiment. and the resolution of the simulation spectrum is different from the experiment. so i donnot the code is right, i donnot know how to set the energy resolution that could gained a spectrum that is similar to the spectrum of experiment.

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: how to add energy resolution code in geant4   (John Allison - 28 Apr, 2008)
(_ None: Re: how to add energy resolution code in geant4   (ylzhang - 01 May, 2008)
 Add Message Add Message
to: "how to add energy resolution code in geant4"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]