Ignore:
Timestamp:
07/27/05 11:23:33 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mhflux
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhflux/MAlphaFitter.cc

    r7185 r7224  
    4545#include <TRandom.h>
    4646
     47#include <TLine.h>
    4748#include <TLatex.h>
     49#include <TVirtualPad.h>
    4850
    4951#include "MMath.h"
     
    274276    text.SetTextSize(size);
    275277    text.Paint();
     278
     279    TLine line;
     280    line.SetLineColor(14);
     281    line.PaintLine(m, gPad->GetUymin(), m, gPad->GetUymax());
    276282}
    277283
  • trunk/MagicSoft/Mars/mhflux/MHDisp.cc

    r7221 r7224  
    153153
    154154    // Vector of length disp in direction of shower
    155     const TVector2 p(hil->GetCosDelta(), hil->GetSinDelta());
    156 
    157155    // Move origin of vector to center-of-gravity of shower and derotate
    158     TVector2 pos1 = hil->GetMean()*fMm2Deg + p*fDisp->GetVal();
     156    TVector2 pos1 = hil->GetMean()*fMm2Deg + hil->GetNormAxis()*fDisp->GetVal();
    159157
    160158    Double_t w0 = 1;
Note: See TracChangeset for help on using the changeset viewer.