Changeset 9892 for trunk/Mars/mjtrain


Ignore:
Timestamp:
08/25/10 17:26:22 (14 years ago)
Author:
tbretz
Message:
Fixed the 2D histograms in MJTrainCuts.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mjtrain/MJTrainCuts.cc

    r9891 r9892  
    219219        h.InitName(Form("%s%d;%d", name, fNx, fNx));
    220220    }
    221     void SetupHist(MHn &h, const char *name, const char *title) const
     221    virtual void SetupHist(MHn &h, const char *name, const char *title) const
    222222    {
    223223        SetupName(h, name);
     
    290290    {
    291291        h.InitName(Form("%s%d:%d;%d;%d", name, fNx, fNy, fNx, fNy));
     292    }
     293
     294    void SetupHist(MHn &h, const char *name, const char *title) const
     295    {
     296        HistSet1D::SetupHist(h, name, title);
     297        h.SetDrawOption("colz");
    292298    }
    293299
Note: See TracChangeset for help on using the changeset viewer.