Skip to content

cms-egamma/json_converter_egID

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

json_converter_egID

Set up to convert Egamma ID SFs rootfile to JSON

  • Original Developers: Francesco Micheli and Vinzenz Stampf

  • rootConversionUtils.py contains methods to read a TH2F from a root file and convert it to a json file

  • ROOTtoJSON.py converts the root files from 2016LegacyReReco Id to jsons (one file for each id)

python ROOTtoJSON.py 2017 Ele

python ROOTtoJSON.py 2018 Ele

python ROOTtoJSON.py 2017 Pho

python ROOTtoJSON.py 2018 Pho

  • combineJSONS.py merges all jsons files corresponding to the different IDs in one single file python combineJSONS.py 2018 Ele

python combineJSONS.py 2017 Ele

python combineJSONS.py 2017 Pho

python combineJSONS.py 2018 Pho

  • combineAllYearsJSON.py to combine all IDs of an object in one file python combineAllYearsJSON.py Ele

python combineAllYearsJSON.py Pho

About

Set up to convert Egamma ID SFs rootfile to JSON

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages