Opened 7 years ago
Closed 7 years ago
#1142 closed How to (fixed)
Convert .hepmc to .root confirmation
Reported by: | Krunal Gedia | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Delphes code | Version: | Delphes 3 |
Keywords: | Cc: | kbgedia24@… |
Description
I have .hepmc file which is generated by Pythia8 which is interfaced with Madgraph5. I wanted to convert this .hepmc file to .root file. I saw that Dephes has this converter. I just wished to know that is the conversion done correctly even for .hepmc files which deal with particle shower Pythia 8 file (i.e it does not have any reconstructed events in the file)?
Change History (8)
comment:1 by , 7 years ago
Cc: | added |
---|
follow-up: 3 comment:2 by , 7 years ago
comment:3 by , 7 years ago
Replying to mselvaggi:
Hi,
if you simply want to convert hepmc you can use the cards/converter_card.tcl, where you replace:
https://github.com/delphes/delphes/blob/master/cards/converter_card.tcl#L15
by
add Branch Delphes/allParticles Particle GenParticleMichele
Hi Michele,
Thank you for the reply. Also, I wished to know that since there are cards which also allow interfacing with Fastjet while conversion, can I run fastjet in Anti-kt algorithm or in kt algorithm?
Best regards,
follow-up: 5 comment:4 by , 7 years ago
Hi,
if you want Fastjet clustering then I suggest you use the delphes_card_CMS for instance, and access the so-called GenJet collection, which clusters stables particles without detector effect.
Michele
comment:5 by , 7 years ago
Replying to mselvaggi:
Hi,
if you want Fastjet clustering then I suggest you use the delphes_card_CMS for instance, and access the so-called GenJet collection, which clusters stables particles without detector effect.
Michele
Hi Michele,
Thank you for the quick reply! I tried that but I guess it uses "T. Chan's closest pair algorithm". Is it possible to use sequential algorithms like anti-kt?
Best regards,
follow-up: 7 comment:6 by , 7 years ago
No, it uses anti-kT:
https://github.com/delphes/delphes/blob/master/cards/delphes_card_CMS.tcl#L606-L616
comment:7 by , 7 years ago
Replying to mselvaggi:
No, it uses anti-kT:
https://github.com/delphes/delphes/blob/master/cards/delphes_card_CMS.tcl#L606-L616
Hi Michele,
Thank you! It solves my problem perfectly.
Best regards,
comment:8 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Hi,
if you simply want to convert hepmc you can use the cards/converter_card.tcl, where you replace:
https://github.com/delphes/delphes/blob/master/cards/converter_card.tcl#L15
by
Michele