| Line |  | 
|---|
| 1 | #include "toi.h" | 
|---|
| 2 | #include "toiseqbuff.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 | TOISqFilter f; | 
|---|
| 14 | FITSTOIReader r(argv[1]); cout << "reader created" << endl; | 
|---|
| 15 | FITSTOIWriter w(argv[2]); | 
|---|
| 16 |  | 
|---|
| 17 |  | 
|---|
| 18 | TOI* toi = new TOISeqBuffered(); | 
|---|
| 19 | //  toi->dbg=true; | 
|---|
| 20 | r.addOutput("boloMuV_11", toi); | 
|---|
| 21 | f.addInput("signal", toi); | 
|---|
| 22 |  | 
|---|
| 23 | toi = new TOISeqBuffered(); | 
|---|
| 24 | // toi->dbg = true; | 
|---|
| 25 | f.addOutput("out", toi); | 
|---|
| 26 | w.addInput("bolo_filtered", toi); | 
|---|
| 27 |  | 
|---|
| 28 | cout << "starting" << endl; | 
|---|
| 29 |  | 
|---|
| 30 | r.start(); | 
|---|
| 31 | w.start(); | 
|---|
| 32 | f.start(); | 
|---|
| 33 |  | 
|---|
| 34 | cout << "joining" << endl; | 
|---|
| 35 | mgr->joinAll(); | 
|---|
| 36 | return(0); | 
|---|
| 37 | } | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.