Message: Counting number of particles in each zone of a Sensitive Detector Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Counting number of particles in each zone of a Sensitive Detector 

Forum: Event and Track Management
Date: 22 Apr, 2015
From: Quique <Quique>

Hi!

I am simulating an electromagnetic calorimeter: it consists in 100 layers of material (100 different Physical Volumes which are copies of the same LogicalVolume). I have created my own Sensitive Detector, but not one SD for each layer: only one SD containing all the layers. My problem is that I am not able to count the number of particles in each layer separatedly and without counting them more than once. Is there any method for doing this? (the only way I have figured out is creating an ENORMOUS boolean matrix for each trackID in every layer, but its not clean at all and the memory needed would be really high.

Any help is appreciated. Thank you!!

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

1 Idea: Re: Counting number of particles in each zone of a Sensitive Detector   (Michael H. Kelsey - 23 Apr, 2015)
(_ None: Re: Counting number of particles in each zone of a Sensitive Detector   (Quique - 23 Apr, 2015)
1 None: Re: Counting number of particles in each zone of a Sensitive Detector   (Pedro Arce - 23 Apr, 2015)
2 None: Re: Counting number of particles in each zone of a Sensitive Detector   (Mike Kelsey - 23 Apr, 2015)
1 None: Re: Counting number of particles in each zone of a Sensitive Detector   (Quique - 27 Apr, 2015)
 Add Message Add Message
to: "Counting number of particles in each zone of a Sensitive Detector"

 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 ]