Message: Want to Tag Each Particle With the First Surface Material It Encounters Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Want to Tag Each Particle With the First Surface Material It Encounters 

Forum: Biasing and Scoring
Date: 23 May, 2012
From: Jack <Jack>

I am using G4GeneralParticleSource to create particles with random positions and momenta within a volume. I want to tag each particle with the first non-vacuum surface it encounters in that volume, and then output that surface information (the material, for instance) to a file along with my other scoring information for that particle, for each particle. Can someone give me an idea of how to do that?

Thanks!

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

1 None: Re: Want to Tag Each Particle With the First Surface Material It Encounters   (Tsukasa Aso - 24 May, 2012)
 Add Message Add Message
to: "Want to Tag Each Particle With the First Surface Material It Encounters"

 Subscribe Subscribe

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