Changeset 7678 for trunk


Ignore:
Timestamp:
04/30/06 21:58:02 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r7677 r7678  
    3434#include <TChain.h>
    3535#include <TGraph.h>
     36#include <TMarker.h>
    3637#include <TCanvas.h>
    3738#include <TVirtualPad.h>
     
    225226    res2.SetMaximum(res2.GetMaximum()*1.05);
    226227    res2.DrawCopy("colz");
     228
     229    Int_t mx, my, mz;
     230    res2.GetMaximumBin(mx, my, mz);
     231
     232    TMarker m;
     233    m.SetMarkerStyle(kStar);
     234    m.DrawMarker(res2.GetXaxis()->GetBinCenter(mx), res2.GetYaxis()->GetBinCenter(my));
    227235}
    228236
Note: See TracChangeset for help on using the changeset viewer.