Back to home page

EIC code displayed by LXR

 
 

    


Warning, /snippets/JetsAndHF/PythonPodioExample/README.md is written in an unsupported language. File is not indexed.

0001 # Calculate JES/R With PODIO's Python Interface
0002 
0003 A short python script to illustrating how to analyze jets
0004 with PODIO's python interface.
0005 
0006 ## Inputs/Outputs
0007 
0008 Takes EICrecon output as its input and processes the jet
0009 collections `GeneratedChargedJets` and `ReconstructedChargedJets`.
0010 Produces a ROOT file with the histogram used to calculate
0011 the JES/R.
0012 
0013 ## Dependencies
0014 
0015 Needs `PODIO` and `edm4eic` to be run. If you're in the
0016 eic-shell, then it should run out of the box.
0017 
0018 ## Usage
0019 
0020 To run, do:
0021 
0022 ```
0023 python CalculateJESRWithPODIO.py
0024 ```
0025 
0026 Input and output files can be specified with the command
0027 line options `-i` and `-o` respectively:
0028 
0029 ```
0030 python CalculateJESRWithPODIO.py \
0031     -i <my input file> \
0032     -o <my ouput file>
0033 ```