Message: Re: How to count the number of electrons generated and the locally deposited energy? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: How to count the number of electrons generated and the locally deposited energy? 

Keywords: Number of electrons, locally deposited energy
Forum: Event and Track Management
Re: Question How to count the number of electrons generated and the locally deposited energy? (Francisco)
Re: None Re: How to count the number of electrons generated and the locally deposited energy? (michel maire)
Date: 03 Apr, 2008
From: Francisco <Francisco>

Hi and thanks for your answer.

I am going to try with the code for my first question. But I think I didn't explain my second question well. I meant, below the threshold the energy is not deposited by electrons, but by continuous losses. So I am interested to know that amount of energy, the one not being deposited by electrons with energy below the energy threshold. I have used the code you gave me since I started with Geant4, but I think aStep->GetTotalEnergyDeposit() counts the total energy deposited in my detector and if I do: AddEdep(totalEnergyDeposit += edep) {...;}; there is no way to differentiate the locally deposited energy. I tried with G4VParticleChange, but the results seems to be wrong. Also I don't know whether I am invoking it from the correct place. Could you give me a piece of advice about it?

Thanks Francisco

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

1 None: Re: How to count the number of electrons generated and the locally deposited energy?   (michel maire - 04 Apr, 2008)
 Add Message Add Message
to: "Re: How to count the number of electrons generated and the locally deposited energy?"

 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 ]