Last change
on this file since 1485 was 1464, checked in by ansari, 24 years ago |
1) Fin de passage des flags en int_8
2) TOIRegularWindow mis ds un fichier spare , Reza 11/4/2001
|
File size:
642 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 |
|
---|
9 | int 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 | w.setOutFlags(true);
|
---|
16 |
|
---|
17 | TOI* toi = new TOIRegularWindow("t1");
|
---|
18 | // toi->dbg=true;
|
---|
19 | r.addOutput("boloMuV_11", toi);
|
---|
20 | w.addInput("bolo_filtered", toi);
|
---|
21 |
|
---|
22 | r.start();
|
---|
23 | w.start();
|
---|
24 |
|
---|
25 | mgr->joinAll();
|
---|
26 |
|
---|
27 | return(0);
|
---|
28 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.