Fork me on GitHub

Ticket #1139 (closed Bug: wontfix)

Opened 2 months ago

Last modified 7 weeks ago

Hep to Root conversion causes crashes

Reported by: Bajarang Owned by:
Priority: major Milestone:
Component: Delphes code Version: Delphes 3
Keywords: Cc:
Blocked By: Blocking:


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

comment:1 Changed 2 months ago by pavel

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 Changed 7 weeks ago by pavel

  • Status changed from new to closed
  • Resolution set to wontfix
Note: See TracTickets for help on using tickets.