Re: [ROOT] Pythia6 business.

From: Nick van Eijndhoven (Nick@phys.uu.nl)
Date: Tue Jul 22 2003 - 22:29:28 MEST


Hi Rene,
I get your point, but I don't think it's pure accident that
my stuff works under win98.
The windows release of ROOT 3.05/06 doesn't have any TPythia6
stuff in; what I did was that I saved all the TPythia6 stuff
(i.e. all .lib, .dll and corresponding header files like e.g.
TPythia6Calls.h, TMCParticle.h etc...) from a previous version
3.04. So as far as I can see, the TPythia6 stuff I have is intrinsically
consistent. This might be the reason that it works correctly.

Of course it would be better if the CERNLIB guys brushed up their
code such that it compiles also with VC++7.NET so you can again
include the pythia stuff in the ROOT binary release as you did
upto now for windows.

Really, this "built-in pythia generator" in ROOT is a very versatile
tool; not only for physics investigations, but also to quickly
test and optimise event data structures for large events (like
LHC Pb+Pb collisions or cosmic ray interations).

                                                 Cheers,
                                                  Nick.

Rene Brun wrote:
> Hi Nick,
> 
> The Pythia libs distributed with ROOT 3.05 CANNOT WORK with Pythia 6.1.
> You must use Pythia 6.2. In Pythia 6.2 the length of /PyDat3/ has been
> changed from 4000 to 8000 particles. ROOT 3.05 is consistent with
> this dimension. See $ROOTSYS/pythia6/inc/TPythia6Calls.h
> 
> The fact that it works with you under Windows98 is purely an accident,
> because Windows prevent communication between common blocks defined
> in separate DLLs. Your program may work if you do not use the elements
> in PyDat3, but even in this case, I would not trust the results.
> 
> Rene Brun
> 
> Nick van Eijndhoven wrote:
> 
>>Dear all,
>>Some days ago I saw a mail from somebody who had problems in setting
>>pi0's stable in the TPythia6 generator using one of the recent ROOT
>>releases.
>>If I remember well, there was an answer that one can't use Pythia6.1
>>anymore with Root 3.05.
>>Obviously I got a bit nervous about such messages, so I took the latest
>>Root 3.05/06 binaries (gdk version for windows) from the web and run
>>some test on my win98 machine.
>>Attached you will find the little script aap.cc and the produced output
>>aap.log, which shows that everything runs correctly.
>>I think the particle code argument to SetMDCY() was wrong in email
>>mentioning the problem. It should not be 111, but the 'pythia equivalent
>>code'.
>>The only thing one should do (at least for the windows version) is taking
>>the TPythia related header files and libs and include them at the
>>corresponding locations in your root directory, since they are not part
>>(for the time being) of the binary Root release.
>>However, the ones of the Root 3.04 release work pretty fine.
>>In case you want all the TPythia stuff 'ready to copy' into the root
>>directory, you can pickup the TPythia.zip file of my homepage->Download.
>>
>>                                                       Cheers,
>>                                                        Nick.
>>
>>--
>>Dr. Nick van Eijndhoven mailto:nick@phys.uu.nl http://www.phys.uu.nl/~nick
>>--------------------------------------------------------------------------
>>Org.:    Utrecht University, Faculty of Physics and Astronomy
>>Address: Princetonplein 5, NL-3584 CC Utrecht, The Netherlands
>>Phone:   +31-30-2532331(direct) +31-30-2531492(secr.)  Fax: +31-30-2518689
>>CERN:    +41-22-7679751(direct) +41-22-7675857(secr.)  Fax: +41-22-7679480
>>Offices: Buys Ballot laboratory Room 710 (Utrecht)   B23 1-020 (CERN)
>>--------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET