Rev | Line | |
---|
[1984] | 1 | // This may look like C code, but it's really -*- C++ -*-
|
---|
| 2 |
|
---|
| 3 | #if !defined(_Bolos2RING_H_SEEN_)
|
---|
| 4 | #define _Bolos2RING_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 Bolos2ring : public TOIProcessor
|
---|
| 14 | {
|
---|
| 15 | public:
|
---|
| 16 | Bolos2ring(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 *Bolos_OK,
|
---|
| 22 | int_4 wsz=8192);
|
---|
| 23 |
|
---|
| 24 | virtual ~Bolos2ring();
|
---|
| 25 | inline void SetWSize(int_4 wsz) { wsize_ = (wsz<4) ? 4 : wsz; }
|
---|
| 26 | inline int_8 ProcessedSampleCount() const { return totsncount_; }
|
---|
| 27 | void SetNSide(int_4 nside);
|
---|
| 28 | virtual void init(); virtual void run();
|
---|
| 29 |
|
---|
| 30 | virtual void PrintStatus(ostream& os);
|
---|
| 31 |
|
---|
| 32 | protected:
|
---|
| 33 | bool Bolos2ringdone;
|
---|
| 34 |
|
---|
| 35 | SphereHEALPix<r_8>* ringq; // carte de Q
|
---|
| 36 | SphereHEALPix<r_8>* ringu; // carte de U
|
---|
| 37 |
|
---|
| 38 |
|
---|
| 39 | SphereHEALPix<r_8>* ringqw; // carte du nb de hit
|
---|
| 40 | SphereHEALPix<r_8>* ringuw;
|
---|
| 41 | vector<r_8> TableFP_;
|
---|
| 42 | int_4* Bolos_OK;
|
---|
| 43 |
|
---|
| 44 | int wsize_;
|
---|
| 45 | int_8 totsncount_;
|
---|
| 46 | int_8 Npix_;
|
---|
| 47 |
|
---|
| 48 | };
|
---|
| 49 |
|
---|
| 50 | #endif
|
---|
| 51 |
|
---|
| 52 |
|
---|
| 53 |
|
---|
| 54 |
|
---|
| 55 |
|
---|
| 56 |
|
---|
| 57 |
|
---|
| 58 |
|
---|
| 59 |
|
---|
| 60 |
|
---|
| 61 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.