[Rivet] updates to FHerwig.cc

Gavin Hesketh gavin.hesketh at cern.ch
Tue Jan 24 15:20:29 GMT 2012


Hi,
  related question - I see the (very useful!) MODBOS paramter is 
disabled in FHerwig.cc. To turn it back on, I just needed to add some 
common block stuff to FHerwigWrapper65.hh:

   #define FC_HWBOSC FC_FUNC(hwbosc, HWBOSC)
   extern struct {
     double ALPFAC, BRHIG[12], 
ENHANC[12],GAMMAX,RHOHEP[3][herwig_hepevt_size];
       int  IOPHIG,MODBOS[50];
   } FC_HWBOSC;


Is there a reason not to re-enable this parameter in agile? I simply set 
all MODBOS values to be the same in FHerwig.cc:

else if (name == "MODBOS") {
         MSG_INFO("Setting MODBOS = " << asInt(value));
         for(int i=0; i<50; i++) FC_HWBOSC.MODBOS[i] = asInt(value);
	
Which is not ideal, and one could handle this rather more intelligently 
and alow setting of each modbos value independently (realistically, I 
would imagine only the first 2-3 values need to be set).

cheers,
	Gavin



On 20/01/12 17:37, Hendrik Hoeth wrote:
> Thus spake Gavin Hesketh (gavin.hesketh at cern.ch):
>
>> I've added the ability to set a couple more FHerwig parameters in
>> agile, IAPHIG and RMASS(201). It's a simple extra couple of lines in
>> FHerwig.cc (see attached). Can you put this into svn?
>
> Done.
>


More information about the Rivet mailing list