fixing crash when sumw2 is called more than one time
Merge pull request #6758 from deguio/fixSumw2ForElectrons

fixing crash when sumw2 is called more than one time