Re: hijing 1.35(6)

From: Christian Holm Christensen (cholm@hehi03.nbi.dk)
Date: Wed Oct 18 2000 - 10:51:57 EDT

  • Next message: Flemming Videbaek: "Fw: system update - rmine04"

    Hi Flemming et al, 
    
    On Wed, 18 Oct 2000 09:58:32 -0400
    "Flemming Videbaek" <videbaek@sgs1.hirg.bnl.gov> wrote
    concerning ": Re: hijing 1.35(6)":
    > Ian,
    > 
    > I think all the codes should have a switch so they can do either the
    > zdat format or the oscar format. 
    
    That's a nice idea. 
    
    > I picked the zdat mainly because I wanted this quickly for rate
    > estimates etc rather than working out quirks with the other to me
    > not so famliar format. 
    
    I guess you have a pointer ro the OSCAR homepage, but for the sake of
    completness and information to others, I give it here:
    
      http://nt3.phys.columbia.edu/OSCAR/
    
    > Too the 5,000 event 200 central auau file is about 1.1Gb and the
    > same oscar file would like be  at least twice that !
    
    ASCII vs. Compressed data format. Go figure who wins! 
    
    > It would probably be fairly simple for someone to write a little
    > utility program that can take one of the zdat files and convert to
    > oscar (and vice versa) 
    
    I don't have a program/library that does the ZEBRA <-> OSCAR
    conversion, but what I do got is a library for doing a TTree <-> OSCAR
    conversion. I've mailed it to Yang Pang, on his request, but it
    doesn't seem to be avaliable from the homepage yet. So for your
    enjoyment, you can find "oscar4root" at 
    
      http://www.fys.ku.dk/~cholm/pub/oscar4root-0.2.tar.gz 
    
    This source package also contains an example of using ROOT, AutoMake,
    AutoConf, and LibTool together. You might find that interresting for
    your future (portable) ROOT applications. 
    
    In fact, what one could do, was to output ROOT TTrees from the EGs
    used in BRAHMS, via indirect calls, through C++ functions, to some
    global object. Or, more appropiatly, use the TGenerator base class to
    make a ROOT wrapper (e.g., THijing) around the EG code, as done for
    Pythia, Pythia6, and Venus. 
    
    Flemming, could you please provided patches from the orginial
    downloaded source to the EGs to you modified same? That would make it
    easier to work out how to change the code, make wrappers,
    etc.. Thanks.  
    
    Yours, 
    
    Christian  -----------------------------------------------------------
    Holm Christensen                             Phone:  (+45) 35 35 96 91 
      Sankt Hansgade 23, 1. th.                  Office: (+45) 353  25 305 
      DK-2200 Copenhagen N                       Web:    www.nbi.dk/~cholm    
      Denmark                                    Email:       cholm@nbi.dk
    



    This archive was generated by hypermail 2b29 : Wed Oct 18 2000 - 10:52:09 EDT