Message: Start each events under some condition Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Start each events under some condition 

Forum: Event and Track Management
Date: 17 Sep, 2015
From: JungEun Elena Suh <JungEun Elena Suh>

Dear all

Hello
Can I ask one question?

I want to shoot primary particle isotropically from hemispherical surface.

For example, when I run 1000 events,
can I start the event only which y position of primary particle is smaller than 0? 
Now y position of primary particle is distributed from -100 to +100 cm.
I want to run 1000 events only with y < 0.
Is that possible?
If it is possible, how can I do that?



Until now to make hemisphere,

I tried it with gps, biasy. like
/gps/hist/type biasy
/gps/hist/point 0. 1.
/gps/hist/point 0.5 1.
/gps/hist/point 1. 0.

However it never works. (I thought it confines the initial position of primary particle. But even with this biasy, it generates primary particle from whole spherical surface.)
Now I worrying that this command (biasy) doesn't influence anything on primary position but final(??) position(or direction???) of primary particle.
I can't find any explanation about it.

So I just ran millions of events and choose y_primaryparticle < 0 with root(cern).
But it takes so long time to do the simulation.

So I wanted to use /gps/pos/confine volumename
At least this command makes me save time. Because without this command, in so many events primary particle even doesn't hit my radiator and these events are meaningless.
However I worried if this command makes some bias for primary particles. I want primary particles come isotropically and then want to select only the events which hit my radiator in certain position and certain angle.
But if this command makes the result biased, then I don't know if I can use this command...(I asked about this issue in different category. I looking for the answer now but I couldn't find it yet.)


Thank you and have a nice day...

-J.E.Suh

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

1 Ok: [SOLVED] Re: Start each events under some condition   (JungEun Elena Suh - 17 Sep, 2015)
 Add Message Add Message
to: "Start each events under some condition"

 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 ]