Hi, I am using the TPythia6 libraries with ROOT to do some simulations on a linux machine running Redhat linux. I have tried running in several different versions of ROOT: 3.02.07, 3.03.09, 3.05.04. Using the $ROOTSYS/tutorials/pythiaExample.C, I tried to set the parameter that turns OFF neutral pion decay: pythia->SetMDCY(111,1,0); Setting or unsetting this has no effect. Neutral pions are always decayed (have status code 11). I checked the value of the parameter at the end of the macro by using the Get method: cout << pythia->GetMDCY(111,1) << endl; and it verifies that the value set is zero. When running PYTHIA as a standalone fortran program, this flag works, so I suspect that the value is not being properly passed through the wrapper code to the fortran implementation. Are there any workarounds to set this parameter and still use the ROOT classes? I want to generate TTrees of the event record so I can run some analysis after generating the events. Thanks, Jennifer ============================== Jennifer L. Klay Lawrence Postdoctoral Fellow Relativistic Nuclear Collisions Group Nuclear Science Division Lawrence Berkeley National Laboratory ==============================
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET