Opened 8 years ago
Last modified 8 years ago
#1023 new How to
Delphes with ROOT files as input
Reported by: | Cristian Baldenegro | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Delphes code | Version: | Delphes 3 |
Keywords: | herwig, root, fpmc | Cc: |
Description
Hello,
I'm interested in using Delphes for a phenomenology study we're doing at the University of Kansas. We are using the Forward Physics Monte Carlo (HERWIG 6.5) to simulate photo-induced processes with intact protons in the final state for the CMS-TOTEM experiment. The simulation output file is an .ntp file that we convert to a ROOT file with h2root to do our regular analysis with ROOT. We would like to use your framework, but we see the input files are HepMC, lhef... And we don't see a way of transforming our ROOT files to one of these formats. I was wondering if there is a way to overcome this? Something that I may have overlooked in your webpage?
Thank you very much in advance,
Cristian
Hi,
there is no universal ROOT format. We have a ROOT reader since 3.3.3, but it reads the format of Delphes. Unfortunately we cannot support every single custom format out there. Therefore the best is that you write your own reader (you can start from DelphesROOT.cpp for instance, in "readers" directory) or simply convert your format in one of the formats supported by Delphes (HepMC, STDHEP, LHEF)
Michele