Changeset 2397 in Sophya for trunk/ArchTOIPipe


Ignore:
Timestamp:
Jun 5, 2003, 4:18:06 AM (22 years ago)
Author:
aubourg
Message:

securisation

Location:
trunk/ArchTOIPipe
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ArchTOIPipe/Kernel/piotoirdr.cc

    r2396 r2397  
    33//                               Christophe Magneville
    44//                               Reza Ansari
    5 // $Id: piotoirdr.cc,v 1.8 2003-06-04 14:08:01 aubourg Exp $
     5// $Id: piotoirdr.cc,v 1.9 2003-06-05 02:18:06 aubourg Exp $
    66
    77#include "piotoirdr.h"
     
    2727
    2828void PIOTOIReader::init() {
    29   //pioTOI = new PIOObjectTOI(object.c_str(), "r");
    3029  fits_lock();
    3130  pioGroup = PIOOpenTOI(const_cast<char*>(group.c_str()), "r");
     
    9291    char command[80];
    9392    sprintf(command, "Begin=%d; End=%d", snb, sne);
    94     double* data;
     93    double* data = NULL;
    9594    uint_8*   flags = NULL;
    9695    PIOBYTE*  pioflags = NULL;
     
    101100                           command,
    102101                           pioGroup);
     102    if ( n<0) {
     103      cout << " PIOReadTOI : " << n << endl;
     104      abort();
     105    }
    103106    if (flagdef != "") {
    104107      PIOLONG nf = PIOReadFLGObjectMask(&pioflags,
  • trunk/ArchTOIPipe/ProcWSophya/toi2map.cc

    r2314 r2397  
    33//                               Christophe Magneville
    44//                               Reza Ansari
    5 // $Id: toi2map.cc,v 1.33 2003-01-27 07:56:04 aubourg Exp $
     5// $Id: toi2map.cc,v 1.34 2003-06-05 02:18:06 aubourg Exp $
    66
    77#include "machdefs.h"
     
    1919TOI2Map::TOI2Map(string mapFName, string wmapFName, int nside)
    2020  : mMap(new SphereHEALPix<r_8>(nside)), mWMap(new SphereHEALPix<r_8>(nside)),
    21     mWMapInternal(false), totnscount(0), usednscount(0),
    22     mMapFName(mapFName), mWMapFName(wmapFName)
     21    mMapFName(mapFName), mWMapFName(wmapFName),
     22    mWMapInternal(false), totnscount(0), usednscount(0)
    2323{
    2424  commonConst();
     
    2727////////////////////////////////////////////////////////////////////////
    2828TOI2Map::TOI2Map(PixelMap<r_8>* map,PixelMap<r_8>* wmap)
    29   : mMap(map), mWMap(wmap), mWMapInternal(false), totnscount(0), usednscount(0),
    30     mMapFName(""), mWMapFName("")
     29  : mMap(map), mWMap(wmap), mWMapInternal(false),
     30    mMapFName(""), mWMapFName(""),
     31    totnscount(0), usednscount(0)
    3132{
    3233  commonConst();
     
    5051 int nlat = mMap->SizeIndex();
    5152 string typmap = mMap->TypeOfMap();
     53 cout << typmap << endl;
    5254
    5355 if(mWMap==NULL) {
  • trunk/ArchTOIPipe/TestPipes/tstseg3.cc

    r1710 r2397  
    1111  cout << "tsttoi starting" << endl;
    1212  TOIManager* mgr = TOIManager::getManager();
    13   mgr->setRequestedSample(104000000,104020000);
    1413
    1514  FITSTOIReader r1(argv[1]);
     
    2019 // ASCIITOIWriter w1("out1.data");
    2120 // ASCIITOIWriter w2("out2.data");
     21
     22  w1.setRequestedSample(104000000,104020000);
    2223
    2324 
Note: See TracChangeset for help on using the changeset viewer.