Brag again

From: Flemming Videbaek (videbaek@sgs1.hirg.bnl.gov)
Date: Fri Dec 13 2002 - 16:18:46 EST

  • Next message: Flemming Videbaek: "calibration modules problem"
    Just to complete the story on the embedding of gb(r)ana into brat proper, inpired in part by the comments by Christian;  the following commands has been implemented.
    
    user/cdat/open_output <name>
    user/cdat/close_output
    user/cdat/execute <nevents> <reportev> <report subevent>
    
    I did not opt for the start_run with a run number, since there is already a command in geant/brag name cont/rung <runno> <firstevno> and the gbr2c.f routine's in fact uses this value
    for the events in the .cdat file. Thus the execute behave exactly like analyze except for the routine name omitted.
    
    At the same time the .cdat file is name opened/created using creat(file,mode) rather than open(file,mod,flag) in order to truncate the output files. This gets rid of the unplesant feature that if one write a new .cdat files with the same name as an existing file one might continue reading past the end of the file.
    
    The Brag version is 1.2.1
    
    
    
    
    
    ------------------------------------------------------
    Flemming Videbaek
    Physics Department
    Brookhaven National Laboratory
    
    tlf: 631-344-4106
    fax 631-344-1334
    e-mail: videbaek@bnl.gov
    


    This archive was generated by hypermail 2.1.5 : Fri Dec 13 2002 - 16:44:35 EST