Changeset 3139 in Sophya
- Timestamp:
- Jan 17, 2007, 5:51:29 PM (19 years ago)
- Location:
- trunk/SophyaPI/PIext
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/nomherradapter.cc
r3135 r3139 7 7 8 8 #include "nomherradapter.h" 9 #include "servnobjm.h"10 11 9 #include "pihisto.h" /* Wrapper pour HistoErr */ 12 10 #include "sohiswrap.h" /* Wrapper pour HistoErr */ 13 11 12 #include "pipodrw.h" 13 14 #include "servnobjm.h" 14 15 15 16 #include "objfitter.h" … … 246 247 */ 247 248 return NULL; 249 } 250 251 /* --Methode-- */ 252 P2DArrayAdapter* NOMAdapter_Histo2DErr::Get2DArray(string & dopt) 253 { 254 return ( new POHe2DAdapter(mHerr, false) ); 248 255 } 249 256 -
trunk/SophyaPI/PIext/nomherradapter.h
r3125 r3139 81 81 virtual void Print(ostream& os, int lev=0); 82 82 virtual PIDrawer* GetDrawer(string& dopt); 83 virtual P2DArrayAdapter* Get2DArray(string& dopt); 83 84 virtual NTupleInterface* GetNTupleInterface(bool& adel); 84 85 -
trunk/SophyaPI/PIext/nomhistadapter.cc
r3125 r3139 12 12 #include "pihisto2d.h" 13 13 #include "pipodrw.h" 14 14 15 #include "servnobjm.h" 15 16 -
trunk/SophyaPI/PIext/nomhistadapter.h
r3123 r3139 11 11 #include "histos2.h" 12 12 #include "hisprof.h" 13 #include "histerr.h"14 13 #include "ntuple.h" 15 14 #include "xntuple.h" -
trunk/SophyaPI/PIext/pihisto.cc
r3135 r3139 303 303 info += " =e: draw bin error (if exist)\n"; 304 304 info += " =n: draw number of entries in the bin (if exist)\n"; 305 info += " default: draw scaled and offset value (default) ";305 info += " default: draw scaled and offset value (default)\n"; 306 306 info += " sta,stat,stats: activate statistic display\n"; 307 307 info += " nsta,nstat,nostat,nostats: deactivate statistic display\n"; -
trunk/SophyaPI/PIext/pipodrw.cc
r2615 r3139 57 57 58 58 // ---------------------------------------------------------- 59 // Adaptateur d'Histo-2D Peida++a P2DArrayAdapter59 // Adaptateur d'Histo-2D a P2DArrayAdapter 60 60 // ---------------------------------------------------------- 61 61 … … 78 78 { 79 79 return((*mH2d)(ix, iy)); 80 } 81 82 // ---------------------------------------------------------- 83 // Adaptateur d'Histo2DErr a P2DArrayAdapter 84 // ---------------------------------------------------------- 85 86 /* --Methode-- */ 87 POHe2DAdapter::POHe2DAdapter(Histo2DErr* he2d, bool ad) 88 : P2DArrayAdapter(he2d->NBinX(), he2d->NBinY()) 89 { 90 aDel = ad; mHe2d = he2d; 91 DefineXYCoordinates(he2d->XMin(), he2d->YMin(), he2d->WBinX(), he2d->WBinY() ); 92 } 93 94 /* --Methode-- */ 95 POHe2DAdapter::~POHe2DAdapter() 96 { 97 if (aDel) delete mHe2d; 98 } 99 100 /* --Methode-- */ 101 double POHe2DAdapter::Value(int ix, int iy) 102 { 103 return((*mHe2d)(ix, iy)); 80 104 } 81 105 -
trunk/SophyaPI/PIext/pipodrw.h
r584 r3139 11 11 #include "parradapter.h" 12 12 #include "histos2.h" 13 #include "hist2err.h" 13 14 14 15 #ifdef SANS_EVOLPLANCK … … 33 34 34 35 35 // Adaptateur d'Histo-2D Peida++a P2DArrayAdapter36 // Adaptateur d'Histo-2D a P2DArrayAdapter 36 37 class POH2DAdapter : public P2DArrayAdapter { 37 38 public : … … 44 45 bool aDel; 45 46 Histo2D* mH2d; 47 }; 48 49 // Adaptateur d'Histo2DErr a P2DArrayAdapter 50 class POHe2DAdapter : public P2DArrayAdapter { 51 public : 52 POHe2DAdapter(Histo2DErr* he2d, bool ad=false); 53 virtual ~POHe2DAdapter(); 54 55 virtual double Value(int ix, int iy); 56 57 protected: 58 bool aDel; 59 Histo2DErr* mHe2d; 46 60 }; 47 61
Note:
See TracChangeset
for help on using the changeset viewer.