Skip to content

Commit

Permalink
Add preshower variables
Browse files Browse the repository at this point in the history
  • Loading branch information
maxgalli committed Mar 2, 2022
1 parent 2e40d6d commit c6ea511
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions PhysicsTools/NanoAOD/python/photons_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,9 @@ def make_bitmapVID_docstring(id_modules_working_points_pset):
x_calo = Var("superCluster().seed().position().x()",float,doc="photon supercluster position on calorimeter, x coordinate (cm)",precision=10),
y_calo = Var("superCluster().seed().position().y()",float,doc="photon supercluster position on calorimeter, y coordinate (cm)",precision=10),
z_calo = Var("superCluster().seed().position().z()",float,doc="photon supercluster position on calorimeter, z coordinate (cm)",precision=10),
# ES variables
esEffSigmaRR = Var("full5x5_showerShapeVariables().effSigmaRR()", float, doc="preshower sigmaRR"),
esEnergyOverRawE = Var("superCluster().preshowerEnergy()/superCluster().rawEnergy()", float, doc="ratio of preshower energy to raw supercluster energy"),
)
)

Expand Down

0 comments on commit c6ea511

Please sign in to comment.