source: Sophya/trunk/ArchTOIPipe/TestPipes/tsttoi2.cc@ 4023

Last change on this file since 4023 was 1542, checked in by ansari, 24 years ago

Adaptation aux modifs de FitsWriter (plus de methode setOutFlags()) - Reza 18/6/2001

File size: 625 bytes
RevLine 
[1365]1#include "toi.h"
[1464]2#include "toiregwindow.h"
[1365]3#include "toiprocessor.h"
4#include "fitstoirdr.h"
5#include "fitstoiwtr.h"
6#include "toisqfilter.h"
7#include "toimanager.h"
8
[1437]9int main(int argc, char** argv) {
[1365]10 cout << "tsttoi starting" << endl;
11 TOIManager* mgr = TOIManager::getManager();
12 mgr->setRequestedSample(11680920,11710584);
13 FITSTOIReader r(argv[1]); cout << "reader created" << endl;
14 FITSTOIWriter w(argv[2]);
15
[1367]16 TOI* toi = new TOIRegularWindow("t1");
[1365]17 // toi->dbg=true;
18 r.addOutput("boloMuV_11", toi);
[1542]19 w.addInput("bolo_filtered", toi, true);
[1365]20
21 r.start();
22 w.start();
23
24 mgr->joinAll();
[1437]25
26 return(0);
[1365]27}
Note: See TracBrowser for help on using the repository browser.