From: Vasilis Vlachoudis (Vasilis.Vlachoudis@cern.ch)
Date: Thu Feb 21 2008 - 17:39:37 CET
Hi Chris,
I don't think that there is something like this available using cards.
But certainly you can make something with fluscw.f and usrini.f as you
suggested.
Using the USRICALL to store the region limits where you want to score,
and with the SDUM to couple it with a USRTRACK detector
USRICALL <xmin> <xmax> <ymin> <ymax> <zmin> <zmax> <detname>
save in a common all the parameters for each USRICALL
USRTRACK ........................ <detname>
then in the fluscw.f, the first time scan USRTRACK's to see if the SDUM
is defined in a USRICALL and save the pointer to the common with the
USRICALL definition. Then on every call of the fluscw.f, check if a
region is defined in your common array and then check the position of
the particle against the region definition in USRICALL. Set the LSCZER
flag in fluscw.f accordingly if you are inside the region of interest or
not.
Be careful that what you will score will be on the specific point were
the fluscw is called and not along the track! Maybe a more accurate
treatment will be check from the TRACKR common the track of the particle
and change also the weight in FLUSCW with the fraction of the path that
falls inside the region of interest.
Regards
Vasilis
Chris Theis wrote:
> Hello,
>
> I've been wondering whether there is a way to score fluence spectra in a
> spatial region defined by a USRBIN (1 bin only) with a defined energy
> resolution. Of course it would be possible to use USRTRACK for a
> specific geometry region but very often the introduction of additional
> regions in the geometry for scoring such spectra can become quite
> cumbersome and time consuming, especially for complex geometries and a
> large number of regions.=20
>
> I know that, in principle, I could achieve my goal by implementing my
> own detector, based on USRBIN, fluscw(), usrini etc. But as all the
> information is already available in the code, I thought there might be a
> built-in way to do this. I'd appreciate any hint as I probably might
> have missed the respective option in the manual.
>
> Thanks a lot
> Chris
>
>
--------------090803080208010104060400
Content-Type: text/x-vcard; charset="utf-8"; name="Vasilis_Vlachoudis.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="Vasilis_Vlachoudis.vcf"
begin:vcard
fn:Vasilis Vlachoudis
n:Vlachoudis;Vasilis
org:CERN;AB
adr:CERN;;Dep.AB;Geneva-23;;CH-1211;Switzerland
email;internet:Vasilis.Vlachoudis@cern.ch
title:Dr
tel;work:+41-22-767.9851
tel;fax:+41-22-766.9644
tel;cell:+41-76-487.4378
x-mozilla-html:FALSE
url:http://home.cern.ch/bnv
version:2.1
end:vcard
--------------090803080208010104060400--
This archive was generated by hypermail 2.1.6 : Thu Feb 21 2008 - 17:51:42 CET