Message: ParticleWithEnergy filter for scoring (command lines based) Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question ParticleWithEnergy filter for scoring (command lines based) 

Forum: Event and Track Management
Date: 10 Dec, 2009
From: Cristian Bungau <Cristian Bungau>


I am trying to count the number of certain particles in my detector that have energies in certain intervals, so the obvious choice was to use several score quantities "population" and different ParticleWithEnergy filters associated to each scorer.

However if the same particle looses energy and therefore its energy will be (at different times) in more than one of the energy intervals of interest I want to make sure it is counted by every scorer with associated filter.

In other words I want to make sure that the same particle can be counted more than once if its energy is in more than one range of interest.

I am creating a new score mesh (only one) and then several scoring quantities each with associated filters and then I run /score/close (at the end, only once).

However my first tests seem to indicate that once the particle has been counted, it will not be counted again by the additional scorers even if its energy decreases and falls into new energy intervals used in the additional filters.

I would be very grateful if you could please let me know how I could achieve this (probably there is something wrong with my scoring mesh initialization, like having to have more scoring meshes, etc).

Thank you,


 Add Message Add Message
to: "ParticleWithEnergy filter for scoring (command lines based)"

 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 ]