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

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

bounds

File size: 581 bytes
RevLine 
[1365]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
15
[1367]16 TOI* toi = new TOIRegularWindow("t1");
[1365]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.