RE: accessing weights in user routines

From: Francesco Cerutti <Francesco.Cerutti_at_cern.ch>
Date: Sun, 1 May 2011 14:23:32 +0200

Hi,

> I don't quite understand your approach, since what you want is the weight,
> why do you want to print the lam-bias card (which is constant)?

I agree with the Mario's remark

On the other hand, the reduction factor input as WHAT(2) of the LAM-BIAS
card and applying to the inelastic interaction length, is actually stored
in BIASIN(IJ), available in (PAPROP), being IJ the particle code (as
listed in the Chapter 5 of the manual)

Ciao

Francesco

**************************************************
Francesco Cerutti
CERN-EN/STI
CH-1211 Geneva 23
Switzerland
tel. ++41 22 7678962
fax ++41 22 7668854

On Fri, 29 Apr 2011, Santana, Mario wrote:

> Olaf,
>
> I don't quite understand your approach, since what you want is the weight,
> why do you want to print the lam-bias card (which is constant)?
> Anyway, I think that if you want to pull that value (LAM-BIAS WHAT2) from
> withing a subroutine, you should include the common block (EMFSWT) and
> call for the variable Emfbia
>
> Check if Emfbia or 1/Emfbia coincides with What(2) of your LAM-BIAS card.
>
> Mario
> ________________________________________
> From: owner-fluka-discuss_at_mi.infn.it [owner-fluka-discuss_at_mi.infn.it] On Behalf Of Olaf Hartmann [olaf.hartmann_at_lnf.infn.it]
> Sent: Wednesday, April 27, 2011 1:22 AM
> To: fluka-discuss_at_mi.infn.it
> Cc: Santana, Mario
> Subject: Re: accessing weights in user routines
>
> Hi,
>
> yes, that's right, Wtrack contains the particle's weight. To be more
> precise:
> Since in my case the weight is apparently the same for all particles
> within one run, I would like to put this information into the header of
> my outputfile, which is written from USRINI.F. So, what I would need
> there, is the value of WHAT(2) of the LAM-BIAS card. It should be in
> some common block, right? How is it called?
>
> Cheers
> Olaf.
>
>
>
> On 04/21/2011 06:22 PM, Santana, Mario wrote:
>> The variable Wtrack contains the weight of the particle. This variable
>> is within the common TRACKR which in by default included (INCLUDE
>> '(TRACKR)') at the beginning of the mgdraw routine.
>>
>>
>>
>> -----Original Message-----
>> From: owner-fluka-discuss_at_mi.infn.it
>> [mailto:owner-fluka-discuss_at_mi.infn.it] On Behalf Of Olaf Hartmann
>> Sent: Wednesday, April 20, 2011 7:38 AM
>> To: fluka-discuss_at_mi.infn.it
>> Subject: accessing weights in user routines
>>
>> Dear all,
>>
>> I'm writing an external output file from FLUKA by using the mgdraw.f
>> user routine. Now, I introduced a BIASING card into the FLUKA input. Is
>> there an (easy) possibility to access this information inside mgdraw?
>> I would like to write a weight factor automatically to my output file.
>>
>> Ciao,
>> Olaf.
>>
>
>
Received on Sun May 01 2011 - 19:00:08 CEST

This archive was generated by hypermail 2.2.0 : Sun May 01 2011 - 19:00:09 CEST