Changeset 295 in Sophya for trunk/SophyaPI/PIext/pihisto.cc
- Timestamp:
- May 13, 1999, 12:12:51 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/pihisto.cc
r205 r295 1 1 #include <stdio.h> 2 #include <typeinfo> 3 2 4 #include "pihisto.h" 3 5 #include "hisprof.h" … … 21 23 float hmax = mHisto->VMax()+0.2*(mHisto->VMax()-mHisto->VMin()); 22 24 // si HBProf min,max calcules en tenant compte des erreurs 23 if( mHisto->ClassId() == HProf::classId) {25 if( typeid(*mHisto) == typeid(HProf) ) { 24 26 float v1,v2; 25 27 for (int i=1; i<mHisto->NBins(); i++) { … … 43 45 if (!mHisto) return; 44 46 45 if (mMrk != PI_NotDefMarker || mHisto->ClassId() == HProf::classId ){47 if (mMrk != PI_NotDefMarker || ( typeid(*mHisto) == typeid(HProf) ) ) { 46 48 // Marqeurs definis OU HBProf => marqueurs+Erreurs si il y en a 47 49 if (mLAtt == PI_NotDefLineAtt) g->SelLine(PI_ThinLine);
Note:
See TracChangeset
for help on using the changeset viewer.