Message: Re: Weighting and counting of particles in detector Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Weighting and counting of particles in detector 

Forum: Biasing and Scoring
Re: None Weighting and counting of particles in detector (Steven Walton)
Date: 04 Feb, 2017
From: Wesley <Wesley>

An easier way to check if a particle is in a particular volume is through the volume name. Get the volume name of the current physical volume and check if (name == "DetectorPVname"). In this way, you avoid the stepping action's dependency on your geometry.

The seg fault sounds like something wrong in your geometry. Go through it with a fine comb and make sure everything is placed exactly right.

 Add Message Add Message
to: "Re: Weighting and counting of particles in detector"

 Subscribe Subscribe

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