Fork me on GitHub

Opened 9 years ago

Last modified 9 years ago

#637 closed How to

Handling event reweighting: LHE and CMS — at Initial Version

Reported by: Sebastien Wertz Owned by:
Priority: minor Milestone:
Component: Delphes code Version: Delphes 3
Keywords: CMS, weight Cc:

Description

Hi,

I'm using the simple converter card provided in the examples to convert LHE files provided by MadGraph, and GEN files produced by CMSSW when hadronizing the events from the LHE files using Pythia.

When running on the LHE file, the event weights located in the first line of the LHE events are included in the branch Delphes.EventLHE.Weight. The weights one gets when using the reweighting feature of MadEvent (located in the <rwgt> section of the LHE file) end up in Delphes.Rwgt.Weight. So far, so good.

When running on CMS GEN files, the "base" event weights end up in Event.Weight. But the reweighting information (located in Events.LHEEventProduct_source_LHEFile.obj.weights_ in the CMS file) seems to be lost in the process...

What do I have to add to the converted card to keep this information when running on CMS files (if it is possible)?

If you want to have a look, I have files located in /home/fynu/swertz/storage/delphesOutput/testReweight/TTbar_1j_reweight_OtG1_OG0OtG0_OG1OtG-1_OG0_0:
MadEvent LHE output: unweighted_events.lhe
Delphes from LHE: reweight_OtG1_OG0OtG0_OG1OtG-1_OG00.root
CMS from LHE: Hadronizer_TuneCUETP8M1_13TeV_MLM_5f_max1j_LHE_pythia8_cff_py_GEN.root
Delphes from CMS: Delphes.root

Cheers,
Sébastien

Change History (0)

Note: See TracTickets for help on using tickets.