You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Matrix element is got from recHits_energy branch scaled with largest recHits energy:
scale = max(event.recHits_energy)
matrix[dEta,dPhi,channel] = event.recHits_energy[iHit]/scale
Since the hits image is coarser than recHits,
matrix[dEta,dPhi,channel] += event.recHits_energy[iHit]
And the scale should be done after whole matrix have been filled and separated by channel . Maybe Luca could comment on details on scaling.
The text was updated successfully, but these errors were encountered:
You are right,
matrix[dEta,dPhi,channel] += event.recHits_energy[iHit]
is the right way to do it, and I will divide each entry of the matrix by the max value calculated after it's been filled.
I will fix it and push the updated script. Thanks.
Matrix element is got from recHits_energy branch scaled with largest recHits energy:
scale = max(event.recHits_energy)
matrix[dEta,dPhi,channel] = event.recHits_energy[iHit]/scale
Since the hits image is coarser than recHits,
matrix[dEta,dPhi,channel] += event.recHits_energy[iHit]
And the scale should be done after whole matrix have been filled and separated by channel . Maybe Luca could comment on details on scaling.
The text was updated successfully, but these errors were encountered: