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

Last change on this file since 1370 was 1370, checked in by aubourg, 25 years ago

flag handling

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