Changeset 10282 for trunk/Mars/mhbase


Ignore:
Timestamp:
04/04/11 13:36:07 (14 years ago)
Author:
tbretz
Message:
Fixed a problem with a wrong cast.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mhbase/MH3.cc

    r10234 r10282  
    990990            static_cast<TProfile&>(h).SetBinEntries(i, p1->GetBinEntries(i)>0 ? 1 : 0);
    991991
    992     TProfile *p2 = dynamic_cast<TProfile*>(fHist);
     992    TProfile2D *p2 = dynamic_cast<TProfile2D*>(fHist);
    993993    if (p2)
    994994        for (Int_t i=0; i<p2->GetSize(); i++)
Note: See TracChangeset for help on using the changeset viewer.