| Line |  | 
|---|
| 1 | // This may look like C code, but it's really -*- C++ -*- | 
|---|
| 2 |  | 
|---|
| 3 | #if !defined(_PSB2RING_H_SEEN_) | 
|---|
| 4 | #define _PSB2RING_H_SEEN_ | 
|---|
| 5 |  | 
|---|
| 6 | #include <iostream.h> | 
|---|
| 7 | #include <string> | 
|---|
| 8 | #include "toiprocessor.h" | 
|---|
| 9 | #include "spherehealpix.h" | 
|---|
| 10 | #include "localmap.h" | 
|---|
| 11 | #include "flagtoidef.h" | 
|---|
| 12 |  | 
|---|
| 13 | class PSB2ring : public TOIProcessor | 
|---|
| 14 | { | 
|---|
| 15 | public: | 
|---|
| 16 | PSB2ring(SphereHEALPix<r_8>* ringQ, | 
|---|
| 17 | SphereHEALPix<r_8>* ringU, | 
|---|
| 18 | SphereHEALPix<r_8>* ringQW, | 
|---|
| 19 | SphereHEALPix<r_8>* ringUW, | 
|---|
| 20 | const vector<r_8>& table_angle, | 
|---|
| 21 | int_4 wsz=819); | 
|---|
| 22 |  | 
|---|
| 23 | virtual ~PSB2ring(); | 
|---|
| 24 | inline void SetWSize(int_4 wsz) { wsize_ = (wsz<4) ? 4 : wsz; } | 
|---|
| 25 | inline int_8 ProcessedSampleCount() const { return totsncount_; } | 
|---|
| 26 | void SetNSide(int_4 nside); | 
|---|
| 27 | virtual void init(); | 
|---|
| 28 | virtual void run(); | 
|---|
| 29 |  | 
|---|
| 30 | virtual void PrintStatus(ostream& os); | 
|---|
| 31 |  | 
|---|
| 32 | protected: | 
|---|
| 33 | bool PSB2ringdone; | 
|---|
| 34 |  | 
|---|
| 35 | SphereHEALPix<r_8>* ringq;   // carte de Q | 
|---|
| 36 | SphereHEALPix<r_8>* ringu;   // carte de U | 
|---|
| 37 |  | 
|---|
| 38 | string ringqfile; | 
|---|
| 39 | string ringufile; | 
|---|
| 40 |  | 
|---|
| 41 | vector<r_8> TableFP_; | 
|---|
| 42 | SphereHEALPix<r_8>* ringqw;   // carte du nb de hit | 
|---|
| 43 | SphereHEALPix<r_8>* ringuw; | 
|---|
| 44 |  | 
|---|
| 45 | string ringqwfile; | 
|---|
| 46 | string ringuwfile; | 
|---|
| 47 |  | 
|---|
| 48 | int wsize_; | 
|---|
| 49 | int_8 totsncount_; | 
|---|
| 50 | int_8 Npix_; | 
|---|
| 51 | }; | 
|---|
| 52 |  | 
|---|
| 53 | #endif | 
|---|
| 54 |  | 
|---|
| 55 |  | 
|---|
| 56 |  | 
|---|
| 57 |  | 
|---|
| 58 |  | 
|---|
| 59 |  | 
|---|
| 60 |  | 
|---|
| 61 |  | 
|---|
| 62 |  | 
|---|
| 63 |  | 
|---|
| 64 |  | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.