HBOOK and ZBS
    back to readme files

Index:



Deal with ZBS file, loop over event etc:  (this work on suketto):
    
decay_e.F
decay_e.sh
run1pc.sh   
Imakefile


Trying to use Hbook function inside a comis routine inside a kumac:
It used to work fine on solaris machine like suketto, but not on Linux

If you have to access the information inside a histogram inside your comis routine then you can use the following trick:

vec/cr v1(401)
h/get/con 30001 v1   
 vector v1
test=v1(1)

And that should work!
This was done is the following kumac: mkbg.kumac
Note for more info go there. (And look for an example of application comis)





If hbook file not created,  here are some suggestions:

Note when using a command like:

call hrput(0, pc_hbookfile, 'N')
where pc_hbookfile is the name of the file (character variable) make sure the there is no capital letter in the file name
because hbook will not understand them!!!

When using hrget make sure to have "" for empty option:
call hrget(101,'flux.hbk',"")