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

Last change on this file since 1710 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
Line 
1#include "toi.h"
2#include "toiregwindow.h"
3#include "toiprocessor.h"
4#include "fitstoirdr.h"
5#include "fitstoiwtr.h"
6#include "toisqfilter.h"
7#include "toimanager.h"
8
9int main(int argc, char** argv) {
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
16 TOI* toi = new TOIRegularWindow("t1");
17 // toi->dbg=true;
18 r.addOutput("boloMuV_11", toi);
19 w.addInput("bolo_filtered", toi, true);
20
21 r.start();
22 w.start();
23
24 mgr->joinAll();
25
26 return(0);
27}
Note: See TracBrowser for help on using the repository browser.