Last change
on this file since 1491 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
|
Rev | Line | |
---|
[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] | 9 | int 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]);
|
---|
[1370] | 15 | w.setOutFlags(true);
|
---|
[1365] | 16 |
|
---|
[1367] | 17 | TOI* toi = new TOIRegularWindow("t1");
|
---|
[1365] | 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();
|
---|
[1437] | 26 |
|
---|
| 27 | return(0);
|
---|
[1365] | 28 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.