Fork me on GitHub

Opened 11 years ago

Closed 11 years ago

#173 closed How to (fixed)

HepMC events with arbitrary weights

Reported by: wkotlarski Owned by:
Priority: minor Milestone:
Component: Delphes code Version: Delphes 3
Keywords: HepMC weight Cc:

Description

Hi,

I have HepMC events with arbitrary weights (both positive and negative). Is there a way to make Delphes use this information? From what I can tell this is not contained in the root tree from Delphes.

regards,
Wojciech

Attachments (1)

w_e.hepmc.tar.gz (2.2 MB ) - added by wkotlarski 11 years ago.

Change History (5)

comment:1 by Pavel Demin, 11 years ago

Normally, there should not be any problem to add the weights to the root tree as we're already doing this for the STDHEP events.

Could you, please send us an example of such events? A small HepMC file with ~10 events would be enough.

by wkotlarski, 11 years ago

Attachment: w_e.hepmc.tar.gz added

comment:2 by Pavel Demin, 11 years ago

Thanks for the HepMC file.

Here is a version that stores the event weights as Event.Weight:

http://cp3.irmp.ucl.ac.be/downloads/Delphes-3.0.8.pre1.tar.gz

Could you, please check if this version works for you?

comment:3 by wkotlarski, 11 years ago

We are now currently testing the code but for the time being everything looks ok.

Thank you very much for your help.

comment:4 by Pavel Demin, 11 years ago

Resolution: fixed
Status: newclosed

HepMCEvent branch with Weight parameter is in Delphes 3.0.8 now.

Note: See TracTickets for help on using tickets.