Message: Re: How score Kinetic Energy? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Sad Re: How score Kinetic Energy? 

Forum: Biasing and Scoring
Re: Question How score Kinetic Energy? (lu luo)
Re: None Re: How score Kinetic Energy? (Tsukasa Aso)
Date: 06 May, 2010
From: lu luo <lu luo>

Hi Tsukasa Aso, thank you for your explanation i tried to use 'trackLength' and 'nOfTrack' like this:

****************************************************************

/score/create/boxMesh boxMesh_1

/score/mesh/boxSize 0.1 10.5 10.5 cm

/score/mesh/nBin 1 51 51

/score/mesh/translate/xyz 2.1 0 0 cm

/score/quantity/trackLength trkL true false false

/score//filter/particle gammaFilter gamma

/score/quantity/trackLength trkLwKinE true true false

/score//filter/particle gammaFilter gamma

/score/quantity/nOfTrack NT

/score/filter/particleWithKineticEnergy kineFilter 0. 30. keV gamma

/score/close

/score/list

/run/beamOn 500

/score/dumpQuantityToFile boxMesh_1 trkL trkL_test.txt

/score/dumpQuantityToFile boxMesh_1 trkLwKinE trkLwKinE_test.txt

/score/dumpQuantityToFile boxMesh_1 NT NT_test.txt

/score//filter/particle gammaFilter gamma

****************************************************************

but the problem is:

when we divided trkLwKinE by trkL, we will obtain only the 'mean' kinetic energy in each pixel of the detector and not the 'accumulated' kinetic energy of gamma particle, because 'trkLwKinE' and 'trkL' record already an 'accumulated' quantity.

AND the values recorded by nOfTrack = 0.0 for all pixel

I think the 'SensitiveDetector' is the best solution.

L.LUO

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

1 Ok: Re: How score Kinetic Energy?   (lu luo - 07 May, 2010)
 Add Message Add Message
to: "Re: How score Kinetic Energy?"

 Subscribe Subscribe

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