Skip to content

SuperCluster eta for EGamma object

Jindrich Lidrych requested to merge jlidrych/bamboo:etaSC into master

The electron and photon SuperCluster (SC) eta variable is not present in the NanoAOD, and they need to be calculated on the fly. Now, this is done automatically during tree decoration (in treedecorators.py), and users can access them as electron.etaSC and photon.etaSC.

SC eta is needed as an input for EGamma Scale and Smearing, which are no longer applied during the NanoAOD production (NanoAODv12 and newer). Since a bit of math is required to calculate SC eta for photons (refer to utils.py), it can be useful to have them precalculated.

Merge request reports