fix bug Tracking DQM code which cause wrong rec hits per sub-detector distributions

fix few bugs in TrackAnalyzer.cc,
which produce wrong ditributions of the rec hits per sub-detector and number of tracker layers

it would be nice to have this fix into the release used for data.vs.mc comparison exercize ... please please please