Accessing individual PDF J%p.dat files
Hi,
I'm trying to access an individual J%p.dat file (e.g. J1p.dat for the pdf data for direct Cherenkov light) with jppy. I've tried two things:
jppy.pdf.JMuonPDF(os.path.expandvars("/path/to/pdf_data/J1p.dat"), TTS=0.)
-
jppy.pdf.JMuonPDF(os.path.expandvars("/path/to/pdf_data/subfolder/J%p.dat"), TTS=0.)
where there is only J1p.dat in the subfolder. The first option gives an error that the wild-card character '%' is missing (they want J%p.dat), while the second option gives an error that J2p.dat is not in the specified directory.
Is there a way to get the pdf-contributions from the .dat files individually?
I've looked a little bit into the JPP documentation and found the following code which is (as far as I can see) involved in the process: https://common.pages.km3net.de/jpp/JPDF__t_8hh_source.html This seems to require the files J1p.dat, ..., J6p.dat. Maybe it's possible to make this compatible with only a single .dat file?