#include "toi.h" #include "toiregwindow.h" #include "toiprocessor.h" #include "fitstoirdr.h" #include "fitstoiwtr.h" #include "toisqfilter.h" #include "toimanager.h" int 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]); TOI* toi = new TOIRegularWindow("t1"); // toi->dbg=true; r.addOutput("boloMuV_11", toi); w.addInput("bolo_filtered", toi, true); r.start(); w.start(); mgr->joinAll(); return(0); }