Changeset 53 in Sophya


Ignore:
Timestamp:
Aug 12, 1997, 3:46:40 PM (28 years ago)
Author:
cmv
Message:

bugs ds pintuple rz+cmv 12/8/97

Location:
trunk/SophyaPI/PI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PI/pintuple.cc

    r52 r53  
    8080if (!mDrawer) return;
    8181if ( (xK < 0) || (yK < 0) )  return;
    82 bool fgseb = false;
    83 if ( (xebK < 0) || (yebK < 0) ) fgseb = true;
    8482
    8583nok = 0; 
    8684for (int i=0; i<mNT->NEntry(); i++) {
    8785  xp = mNT->GetVal(i, xK);
    88   yp = mNT->GetVal(i, xK);
     86  yp = mNT->GetVal(i, yK);
    8987  if ( (xp < xmin) || (xp > xmax) || (yp < ymin) || (yp > ymax) )  continue;
    9088  nok++;
     
    9290  if ( xebK >= 0 ) {
    9391    xer = mNT->GetVal(i, xebK);
    94     mDrawer->DrawLine(xp-xer/2., yp, xp+xer/2., yp);
     92    mDrawer->DrawLine(xp-xer, yp, xp+xer, yp);
    9593  }
    9694  if ( yebK >= 0 ) {
    9795    yer = mNT->GetVal(i, yebK);
    98     mDrawer->DrawLine(xp, yp-yer/2., xp, yp+yer/2.);
     96    mDrawer->DrawLine(xp, yp-yer, xp, yp+yer);
    9997  }
    10098}
  • trunk/SophyaPI/PI/pintuple.h

    r52 r53  
    1 #ifndef PISTLIST_H
    2 #define PISTLIST_H
     1#ifndef PINTUPLE_H
     2#define PINTUPLE_H
    33
    44#include "ntuple.h"
Note: See TracChangeset for help on using the changeset viewer.