The logic in THistPainter::PaintTable to invoke PaintStat2 was wrong. The first object in the list of functions is not always (and rarely) a TF2 object. One must iterate on the list of functions to find the first object deriving from TF1.
The logic in THistPainter::PaintTable to invoke PaintStat2 was wrong.
The first object in the list of functions is not always (and rarely)
a TF2 object. One must iterate on the list of functions to find the
first object deriving from TF1.


git-svn-id: ecbadac9c76e8cf640a0bca86f6bd796c98521e3@5019 27541ba8-7e3a-0410-8455-c3a389f83636

dawehner/root,dawehner/root,dawehner/root,bbannier/ROOT,dawehner/root,dawehner/root,bbannier/ROOT,dawehner/root,dawehner/root,bbannier/ROOT,bbannier/ROOT,dawehner/root,bbannier/ROOT,bbannier/ROOT,bbannier/ROOT