#include "toi.h" #include "toiprocessor.h" #include "fitstoirdr.h" #include "fitstoiwtr.h" #include "toisqfilter.h" #include "toimanager.h" void main(int argc, char** argv) { cout << "tsttoi starting" << endl; TOIManager* mgr = TOIManager::getManager(); mgr->setRequestedSample(11680920,11710584); FITSTOIReader r(argv[1]); cout << "reader created" << endl; FITSTOIWriter w(argv[2]); w.setOutFlags(true); TOI* toi = new TOIRegularWindow("t1"); // toi->dbg=true; r.addOutput("boloMuV_11", toi); w.addInput("bolo_filtered", toi); r.start(); w.start(); mgr->joinAll(); }