Fork me on GitHub

Opened 7 years ago

Closed 7 years ago

#1139 closed Bug (wontfix)

Hep to Root conversion causes crashes

Reported by: Bajarang Janu Sutar Owned by:
Priority: major Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Cc:

Description

Dear Experts,

I am using madgraph MG5_aMC_v2.4.2 to generate p p > w+ events with multi_run mode creating 40 files. When I convert the generated hep files to root using standalone Delphes-3.4.1 and write a makeclass to analyze those files, the code is crashing for almost half of the root files. For other half of the files, it works perfectly fine.
I am using this command for the conversion.
./DelphesSTDHEP cards/delphes_card_CMS.tcl tag_1_pythia_events.root tag_1_pythia_events.hep

Can you please help me in understanding why I am getting those random crashes. Thanks in advance.

Change History (2)

comment:1 by Pavel Demin, 7 years ago

For information. In the examples directory, there are several Example*.C scripts that can read .root files produced by Delphes without using makeclass.

Without seeing your code generated by makeclass, I can only guess that the .root file used with makeclass has less particles per event than other .root files and the arrays generated by makeclass don't have enough space for the events with more particles.

comment:2 by Pavel Demin, 7 years ago

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.