Rev | Line | |
---|
[2352] | 1 | // This may look like C code, but it is really -*- C++ -*-
|
---|
| 2 |
|
---|
| 3 | // ArchTOIPipe (C) CEA/DAPNIA/SPP IN2P3/LAL
|
---|
| 4 | // Eric Aubourg
|
---|
| 5 | // Christophe Magneville
|
---|
| 6 | // Reza Ansari
|
---|
| 7 | // $Id: ring2cout.h,v 1.1 2003-03-24 11:07:00 cecile Exp $
|
---|
| 8 |
|
---|
| 9 | #ifndef TOI2RING_H
|
---|
| 10 | #define TOI2RING_H
|
---|
| 11 |
|
---|
| 12 | #include "toiprocessor.h"
|
---|
| 13 | #include "flagtoidef.h"
|
---|
| 14 |
|
---|
| 15 | //-- Un generateur de RING a partir d'une sphere et de 2 TOIs coordin1,coordin2
|
---|
| 16 | // Lecture de 2 TOI coord1,coord2 et d'une Sphere Healpix
|
---|
| 17 | // Sortie de 3 RING coord1,coord2,boloMuV
|
---|
| 18 | //
|
---|
| 19 | // Structure generale :
|
---|
| 20 | // Sphere ---- |
|
---|
| 21 | // |
|
---|
| 22 | // -----------
|
---|
| 23 | // toi phase ---> | | ---> ring value
|
---|
| 24 | // |Ring2cout | ---> ring weight
|
---|
| 25 | // toi value ---> | |
|
---|
| 26 | // -----------
|
---|
| 27 |
|
---|
| 28 | class Ring2cout : public TOIProcessor {
|
---|
| 29 | public:
|
---|
| 30 | Ring2cout();
|
---|
| 31 | virtual ~Ring2cout();
|
---|
| 32 |
|
---|
| 33 |
|
---|
| 34 | virtual void init(void);
|
---|
| 35 | virtual void run(void);
|
---|
| 36 |
|
---|
| 37 |
|
---|
| 38 |
|
---|
| 39 | // Print
|
---|
| 40 | void Print(::ostream & os);
|
---|
| 41 | inline long ProcessedSampleCount() const { return totnscount; }
|
---|
| 42 | inline long ProcessedRingCount() const { return nRings; }
|
---|
| 43 |
|
---|
| 44 | protected:
|
---|
| 45 | long Nsamples;
|
---|
| 46 | long totnscount;
|
---|
| 47 | long nRings;
|
---|
| 48 |
|
---|
| 49 | };
|
---|
| 50 |
|
---|
| 51 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.