Changeset 2354 in Sophya for trunk/ArchTOIPipe
- Timestamp:
- Mar 26, 2003, 10:48:53 AM (23 years ago)
- Location:
- trunk/ArchTOIPipe/ProcWSophya
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/ProcWSophya/ring2cout.cc
r2352 r2354 3 3 // Christophe Magneville 4 4 // Reza Ansari 5 // $Id: ring2cout.cc,v 1. 1 2003-03-24 11:07:00cecile Exp $5 // $Id: ring2cout.cc,v 1.2 2003-03-26 09:48:53 cecile Exp $ 6 6 7 7 #include "toimanager.h" … … 13 13 14 14 //////////////////////////////////////////////////////////////////////// 15 Ring2cout::Ring2cout() 15 Ring2cout::Ring2cout(long n) 16 :totnscount(0), nRings(0) 16 17 { 18 setNSamples(n); 17 19 } 18 20 … … 38 40 void Ring2cout::run() { 39 41 42 cout << "///////////////////////////////// coucou !" << endl; 43 44 40 45 41 46 //--------------------------------------------------------- … … 54 59 for (int i=i; i< Nsamples;i++) 55 60 cout << ctheta << " " << cphi<< " " << val<< endl; 61 totnscount++; 56 62 57 63 } … … 66 72 <<"\n .... Msg= "<<exc.Msg()<<endl; 67 73 } 74 68 75 69 return; 76 return; 70 77 } 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 -
trunk/ArchTOIPipe/ProcWSophya/ring2cout.h
r2352 r2354 5 5 // Christophe Magneville 6 6 // Reza Ansari 7 // $Id: ring2cout.h,v 1. 1 2003-03-24 11:07:00cecile Exp $7 // $Id: ring2cout.h,v 1.2 2003-03-26 09:48:53 cecile Exp $ 8 8 9 9 #ifndef TOI2RING_H … … 13 13 #include "flagtoidef.h" 14 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 // ----------- 15 //-- Un lecteur de RING 27 16 28 17 class Ring2cout : public TOIProcessor { 29 18 public: 30 Ring2cout( );19 Ring2cout(long n); 31 20 virtual ~Ring2cout(); 32 21 22 inline void setNSamples( long n=1024) 23 {Nsamples = n;} 33 24 34 25 virtual void init(void);
Note:
See TracChangeset
for help on using the changeset viewer.