[Rivet] Python, Rivet 1.20, CERN AFS, LXBATCH

Frank Siegert frank.siegert at durham.ac.uk
Thu Mar 25 09:18:16 GMT 2010


Hi Terrance,

Terrance Figy, Thursday 25 March 2010:
> Hello Frank,
> I was wondering if there is a rivet script to combine several mc runs.
> For example, I want to generate 5 million events for top pair
>  production by running 5 event generation jobs with 1 million events
>  each. Each job would produce an rivet.aida file. I would like to
>  combine the 5 rivet.aida files into one to gain statistics.

I have written such a script (or rather modified one originally from Andy) 
which combines multiple runs. Due to the limited information stored in 
aida files it has to assume though that all of your runs have the same 
number of events in them. Also I am not sure whether it does a proper job 
at calculating the combined errors in profile histograms (as opposed to 
normal histograms).

The syntax is very simple:

  aidamerge -o out.aida in1.aida in2.aida in3.aida [...]

Riveters: Do we want to distribute this with Rivet (currently it lives in 
Sherpa's benchmark SVN)?

Cheers,
Frank
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aidamerge
Type: text/x-python
Size: 2357 bytes
Desc: not available
Url : http://www.hepforge.org/lists-archive/rivet/attachments/20100325/1fc80f59/attachment.py 


More information about the Rivet mailing list