Fork me on GitHub

Opened 6 years ago

Last modified 6 years ago

#1368 new Bug

Inquire about DelphesLHEF and error after the events processed

Reported by: Abdualazem Mohammed Owned by:
Priority: minor Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Cc:

Description

Dear All,

I'm using DelphesLHEF to convert LHE file that is generated using Powheg Box. Because I want to compare two distributions at Parton and Pythia level. I'm not sure how DelphesLHEF does that, so could someone explain this? The second thing is after the last event in the LHE file I get the following:

** Reading /afs/cern.ch/user/a/amoohamm/CERNBOX/POWHEG-BOX-V2/LHEF/pwgevents_run1.lhe
** [################################################################] (100.00%)
** Exiting...
Error in <TList::Clear>: A list is accessing an object (0x30979c0) already deleted (list name = TList)

However, I got the number of events that I generated. So all events have been processed. I attached a small LHE file here. Thanks a lot.

Cheers,
Abdualazem.

Attachments (1)

pwgevents.lhe (26.6 KB ) - added by Abdualazem Mohammed 6 years ago.
LHE file with 10 events generated using Powheg Box v2 for ttbar process

Download all attachments as: .zip

Change History (3)

by Abdualazem Mohammed, 6 years ago

Attachment: pwgevents.lhe added

LHE file with 10 events generated using Powheg Box v2 for ttbar process

comment:1 by Pavel Demin, 6 years ago

DelphesLHEF reads the LHE files using the DelphesLHEFReader class:

classes/DelphesLHEFReader.cc

The TList error is already fixed in our git repository. Here is a link to the fix:

2fedc726ee59739a21376817ca09ac05849e2f12/git

Since the error appears after the output file is already written to the disk, it's safe to use Delphes without applying this fix.

comment:2 by Abdualazem Mohammed, 6 years ago

Hi Pavel,

Thanks for the prompt reply. I just modified the "modules/Delphes.cc" according to the lines you sent, and it works fine. The TList error disappeared.

Cheers,
Abdualazem.

Note: See TracTickets for help on using tickets.