Message: Re: Spectrum of deposited energy Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Spectrum of deposited energy 

Forum: Biasing and Scoring
Re: Question Spectrum of deposited energy (Steinbach)
Date: 09 Jun, 2015
From: Tsukasa Aso <Tsukasa Aso>

Hi,

 If you check the energy distributions in the filling histogram in SD,
you get a energy distribution in a step.
(This depends on what a user want to score.)

  AnalysisManager->FillH1(1, edep);
  
Because ProcessHits is called every step, therefore the energy deposit
is given in  energy/step. If the track is electron and takes two steps
in the scoring volume, the H1 counts twice with the energy in each step.

i.e.   E  =  E1 + E2   

(E is total energy deposit in the scoring volume. E1 and E2 are 
deposited energy in first and second steps, respectively. )

 In usual, the deposited energy distribution is integrated
for a event to see the energy deposited associating to a primary particle
injection.

If you check the energy deposit in "Hit", it will give the integrated energy-deposit.
  // Add values
  hit->Add(edep,stepLength);

** The scoring algorithm depends on what a user want to score.

Regards,

 Add Message Add Message
to: "Re: Spectrum of deposited energy"

 Subscribe Subscribe

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