Ignore:
Timestamp:
02/23/10 10:43:20 (15 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mjtrain/MJTrainDisp.cc

    r8888 r9552  
    6060#include "MJTrainDisp.h"
    6161
     62#include <TH2.h>
    6263#include <TLine.h>
    6364#include <TCanvas.h>
     
    113114    MH::SetPalette("pretty");
    114115
    115     TH1 &hist = *(TH1*)mh3.GetHist().Clone();
     116    TH2 &hist = *static_cast<TH2*>(mh3.GetHist().Clone());
    116117    hist.SetBit(TH1::kNoStats);
    117118    hist.SetDirectory(0);
Note: See TracChangeset for help on using the changeset viewer.