protection if shashlik not defined
if EE and EK not defined, skip assignEEtoHE. Need to be checked if and how to fix it
Merge pull request #3990 from shervin86/shashlik_fix_HGcal

Shashlik fix HGcal