Message: Re: Scoring Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Scoring 

Forum: Biasing and Scoring
Re: Question Scoring (A. Hod)
Re: None Re: Scoring (Tsukasa Aso)
Date: 15 Feb, 2014
From: Tsukasa Aso <Tsukasa Aso>

Hi,

>/score/filter/particle gammaFilter e-   and  not  /score/filter/particle eMinusFilter e-         which one  is correct ? 

Sorry, it is typo. "gammaFilter" and "eMinusFilter" are for the unique name of the filter. You can choose it in your mean.  The last one is the name of particle you want to take.

>1-Energy deposition scoring:
>To score the energy deposition by electrons in each pixel. I did the following:
>
>/score/create/boxMesh boxMesh_1
>/score/mesh/boxSize 0.5 0.5 0.05 mm  # size of the detector
>/score/mesh/nBin 100 100 1           # number of pixels
>/score/quantity/energyDeposit eDep 
>/score/filter/particle eMinusFilter e- 
>/score/close
>/score/list
>/run/beamOn 10000
># drawing projections
>/score/drawProjection boxMesh_1 eDep
># Dump scores to a file
>######### Output file contains 4 coloumns: X, Y, Z and energy deposition in the corresponding pixel >##############
>/score/dumpQuantityToFile boxMesh_1 eDep eDep.txt
>Is it correct?

I think so.

>I would like also to know the difference between the energy depositions calculated by:
>
>Case1:
>/score/quantity/energyDeposit eDep
>
>Case2:
>
>G4cout << " Energy deposit:   "
>           << TotalEnergyDeposit/keV<<"keV" << G4endl;
> 
>I compared the sum of energy deposited in the detector in both cases and there is a large difference >between them? I donít know why? They should be the same!

 I do not know what "TotalEnergyDeposit" is defined in your code.

>2-FlatSurfaceCurrent:
> 
>Concerning the flatSurfaceCurrent  (I would like to score only electrons reaching the input surface). I >performed it in the following way:
> 
>/score/create/boxMesh boxMesh_1
>/score/mesh/boxSize 0.5 0.5 0.05 m
>/score/mesh/nBin 100 100 1
> 
>/score/mesh/translate/xyz  0. 0. -0.5 mm   (ĖZ plane  for the scoring is taken into account) 
>/score/quantity/flatSurfaceCurrent fscIn 1 true false (only the number of the electrons at the input surface are calculated and the division by the area is ignored)).  
>
>/score/filter/particle eMinusFilter e- 
>/score/close
>/score/list
>/run/beamOn 10000
>/score/drawProjection boxMesh_1 current
>/score/dumpQuantityToFile boxMesh_1 fscIn fscIn.txt

 I checked the result of current with RE03 example.
if I shot 100, the incoming current was 100.


Best regards,
T.Aso

 Add Message Add Message
to: "Re: Scoring"

 Subscribe Subscribe

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