Cleanup electronSuperCluster Builder
Cleaning up a bit the code in electronSuperCluster Builder
- Simplify a bit the selection logic code, same functionality but a bit cleaner.
- Remove a few counters for which I was not even sure, if/how we use them, or would work in MT
- Use the default threshold in the configuration (1.5 GeV, as we seed the GSF at 1.5 - 2 GeV should be ok)
- Use the egamma
EMFraction
variable if available (includes pre-sampler). - The so called brem search does the checks at the 2nd layer of the calorimeter as this is where the extrapolation occured.
- And it has more of a photon like window for the search (since this is supposed to be brem like photons we look for here)