Changeset 8376 for trunk/MagicSoft/Cosy/base
- Timestamp:
- 03/14/07 19:12:17 (18 years ago)
- Location:
- trunk/MagicSoft/Cosy/base
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/base/MStarList.cc
r1810 r8376 1 1 #include "MStarList.h" 2 2 3 #include <iostream.h> 3 #include <iostream> 4 5 using namespace std; 4 6 5 7 void MStarList::RemoveTwins(Double_t radius) -
trunk/MagicSoft/Cosy/base/MStarList.h
r1810 r8376 31 31 } 32 32 33 void Delete(Int_t i) { delete fStars.RemoveAt(i); } 34 void Delete(MStar *obj) { delete fStars.Remove(obj); } 33 void Delete(Option_t *o="") { } 34 void Delete(Int_t i) { delete fStars.RemoveAt(i); } 35 void Delete(MStar *obj) { delete fStars.Remove(obj); } 35 36 36 37 Int_t GetMax() const { return fStars.GetLast()+1; } -
trunk/MagicSoft/Cosy/base/MStopwatch.h
r732 r8376 8 8 public: 9 9 void Print(Float_t i); 10 void Print(Option_t *o="") const { } 10 11 }; 11 12 -
trunk/MagicSoft/Cosy/base/MThread.cc
r2407 r8376 1 1 #include <MThread.h> 2 2 3 #include <iostream .h>3 #include <iostream> 4 4 5 5 #include <pthread.h> … … 8 8 #undef DEBUG 9 9 //#define DEBUG 10 11 using namespace std; 10 12 11 13 // ---------------------------------------------------------------------- -
trunk/MagicSoft/Cosy/base/MTimeout.cc
r2518 r8376 3 3 #include <TSystem.h> 4 4 5 MTimeout::MTimeout(unsigned long ms =500) : fTimeout((ULong_t)gSystem->Now()+ms)5 MTimeout::MTimeout(unsigned long ms) : fTimeout((ULong_t)gSystem->Now()+ms) 6 6 { 7 7 // Use SetTime to change the timing … … 14 14 } 15 15 16 void MTimeout::Start(unsigned long ms =500)16 void MTimeout::Start(unsigned long ms) 17 17 { 18 18 fTimeout = (ULong_t)gSystem->Now()+ms; -
trunk/MagicSoft/Cosy/base/coord.h
r4076 r8376 3 3 4 4 #include <math.h> // floor 5 #include < fstream.h>5 #include <iostream> 6 6 7 7 #include "MAGIC.h" … … 37 37 class XY 38 38 { 39 friend i fstream& operator>>(ifstream &in, XY &xy);40 friend o fstream& operator<<(ofstream &in, XY &xy);39 friend istream& operator>>(istream &in, XY &xy); 40 friend ostream& operator<<(ostream &in, XY &xy); 41 41 42 42 protected: … … 73 73 }; 74 74 75 inline ifstream& operator>>(ifstream &in, XY &xy) { in >> xy.fX; in >> xy.fY; return in; }76 inline ofstream& operator<<(ofstream &out, const XY &xy) { out << xy.X() << " " << xy.Y(); return out; }75 inline std::istream& operator>>(std::istream &in, XY &xy) { in >> xy.fX; in >> xy.fY; return in; } 76 inline std::ostream& operator<<(std::ostream &out, const XY &xy) { out << xy.X() << " " << xy.Y(); return out; } 77 77 78 78 class AltAz : public XY -
trunk/MagicSoft/Cosy/base/log.h
r2384 r8376 2 2 #define COSY_Log 3 3 4 #include <ostream .h>4 #include <ostream> 5 5 6 6 #ifndef MARS_MLog -
trunk/MagicSoft/Cosy/base/msgqueue.cc
r4076 r8376 1 1 #include "msgqueue.h" 2 2 3 #include <iostream .h>3 #include <iostream> 4 4 5 5 #include <unistd.h> // usleep … … 7 7 8 8 #undef DEBUG 9 10 using namespace std; 9 11 10 12 // --------------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.