source: trunk/src/pgheader.hh @ 321

Last change on this file since 321 was 321, checked in by MatthewWhiting, 17 years ago
  • Solved most of the problem from ticket #12, where the integrated flux was being calculated differently on different machines. Now casting the spatial size of a detection to a double.
  • Solved ticket #13 as well, to allow compilation when PGPLOT is not available. Included moving cpgIsPS() to mycpgplot.cc.
File size: 409 bytes
Line 
1#ifndef PGHEADER_HH
2#define PGHEADER_HH
3
4#undef PACKAGE_BUGREPORT
5#undef PACKAGE_NAME
6#undef PACKAGE_STRING
7#undef PACKAGE_TARNAME
8#undef PACKAGE_VERSION
9#include "config.h"
10
11#ifdef  HAVE_PGPLOT
12#include <cpgplot.h>
13
14const bool USE_PGPLOT=true;
15
16void endPGPLOT(){cpgend();};
17
18#else
19
20const bool USE_PGPLOT=false;
21void endPGPLOT(){};
22
23#endif // matches #ifdef HAVE_PGPLOT
24
25#endif // matches #ifndef PGHEADER_HH
Note: See TracBrowser for help on using the repository browser.