adapting code to ECALELF ntuple
adapting code to ECALELF ntuple