GENIE-MC / Generator

The popular GENIE Generator product is used by nearly all accelerator neutrino experiments and it plays a key role in the exploitation of neutrino data. The Generator implements a modern software framework and it includes state-of-the-art physics modules. It captures the latest results of the GENIE global analysis of neutrino scattering data and includes several tunes that were produced using the proprietary Comparisons and Tuning products. The GENIE physics model is universal and comprehensive: It handles all neutrinos and targets, and all processes relevant from MeV to PeV energy scales. The Generator includes several tools (flux drivers, detector geometry navigators, specialized event generation apps, event reweighting engines) to simulate complex experimental setups in full detail and to support generator-related analysis tasks.
http://www.genie-mc.org
48 stars 93 forks source link

Added a QPix specific gtnpc format #228

Closed delofson0211 closed 1 year ago

delofson0211 commented 2 years ago

Added a new output format to gNtpConv.cxx specific to QPix collaboration needs.

candreop commented 2 years ago

Thank you David. To include this we would have to generalise some of the names (eg remove labels such as UTAQPix). Perhaps something like "reduced_gst" might be more appropriate. But looking at what is actually stored, it seems to me that this format is very similar to the rootracker one (not the t2k or numi specific versions of the rootracker that contain a lot of flux variables, but the basic rootracker format). The rootracker format (which is some kind of fusion of the STDHEP and tracker formats used by many older experiments), like the UTAQPix one, contains only an array of particles. Rootracker also contains a few very basic variables (like the event weight, vertex position, or interaction code) needed at almost any level of analysis. You don't have the latter info, but I suspect you will need it before long. Rather that having a new format that slowly converges towards the rootracker one, is it possible that you can simply use the rootracker?

candreop commented 2 years ago

Perhaps @nusense who looks after many of the experimental interfaces can weight in with his opinion

nusense commented 2 years ago

The only experiment that I work with and know of that uses output of gntpc is DUNE NearDet, where they use rootracker for their input to edep-sim. I'm not personally familiar with use of anything other than the native .ghep.root format, so I can't really speak to this issue much, though having recently looked a bit at rootracker I think it's pretty barebones as it is.

delofson0211 commented 2 years ago

Ok. It sounds like rootracker should have the functionality we need. Let me look into this more in depth and see if that is adequate. We can table this discussion until I am able to confirm whether or not rootracker is sufficient.