Rev | Line | |
---|
[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 |
|
---|
| 8 | void 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.