fixed problem of extra artifitial tail in ECAL/HCAL
synkronized with 7_2_X
Merge pull request #5635 from civanch/fixed_tail_problem

Fixed problem of extra artifitial tail in ECAL/HCAL