Index: /trunk/Mars/mbase/MEvtLoop.h
===================================================================
--- /trunk/Mars/mbase/MEvtLoop.h	(revision 14448)
+++ /trunk/Mars/mbase/MEvtLoop.h	(revision 14449)
@@ -37,5 +37,5 @@
     Bool_t HasDuplicateNames(TObjArray &arr, const TString txt) const;
 
-    void StreamPrimitive(ostream &out) const;
+    void StreamPrimitive(std::ostream &out) const;
 
     Bool_t ProcessGuiEvents(Int_t num, Int_t rc);
@@ -77,6 +77,6 @@
     void MakeMacro(const char *filename="evtloop.C");
 
-    void SavePrimitive(ostream &out, Option_t *o="");
-    void SavePrimitive(ofstream &out, Option_t *o="");
+    void SavePrimitive(std::ostream &out, Option_t *o="");
+    void SavePrimitive(std::ofstream &out, Option_t *o="");
 
     Int_t Read(const char *name="Evtloop");
Index: /trunk/Mars/mcalib/MCalibrateData.h
===================================================================
--- /trunk/Mars/mcalib/MCalibrateData.h	(revision 14448)
+++ /trunk/Mars/mcalib/MCalibrateData.h	(revision 14449)
@@ -90,5 +90,5 @@
   Int_t  Process();
   Int_t  ReadEnv(const TEnv &env, TString prefix, Bool_t print);
-  void   StreamPrimitive(ostream &out) const;
+  void   StreamPrimitive(std::ostream &out) const;
 
 public:
Index: /trunk/Mars/mhist/MHCamera.h
===================================================================
--- /trunk/Mars/mhist/MHCamera.h	(revision 14448)
+++ /trunk/Mars/mhist/MHCamera.h	(revision 14449)
@@ -235,6 +235,6 @@
     void     DrawAzimuthProfile()          const;
 
-    void     SavePrimitive(ostream &out, Option_t *);
-    void     SavePrimitive(ofstream &out, Option_t *);
+    void     SavePrimitive(std::ostream &out, Option_t *);
+    void     SavePrimitive(std::ofstream &out, Option_t *);
     Int_t    DistancetoPrimitive(Int_t px, Int_t py);
     char    *GetObjectInfo(Int_t px, Int_t py) const;
Index: /trunk/Mars/mjobs/MSequence.h
===================================================================
--- /trunk/Mars/mjobs/MSequence.h	(revision 14448)
+++ /trunk/Mars/mjobs/MSequence.h	(revision 14449)
@@ -137,6 +137,6 @@
     TString GetNumSequence(Int_t &pos, const TArrayI &n, const TArrayI &f) const;
 
-    void    PrintRunsClassic(ostream &out, const char *pre, const char *name, const TArrayI &r) const;
-    TString PrintRuns(ostream &out, const char *pre, const char *name, const TArrayI &r, const TArrayI &f) const;
+    void    PrintRunsClassic(std::ostream &out, const char *pre, const char *name, const TArrayI &r) const;
+    TString PrintRuns(std::ostream &out, const char *pre, const char *name, const TArrayI &r, const TArrayI &f) const;
 
     // General helper
@@ -190,5 +190,5 @@
 
     // TObject
-    void Print(ostream &out, Option_t *o) const;
+    void Print(std::ostream &out, Option_t *o) const;
     void Print(Option_t *o) const;
     void Print() const { Print(""); } //*MENU*
Index: /trunk/Mars/mraw/MRawFileRead.h
===================================================================
--- /trunk/Mars/mraw/MRawFileRead.h	(revision 14448)
+++ /trunk/Mars/mraw/MRawFileRead.h	(revision 14449)
@@ -17,5 +17,5 @@
     UInt_t    fNumTotalEvents; //! total number of events in all files
 
-    istream  *fIn;             //! input stream (file to read from)
+    std::istream *fIn;         //! input stream (file to read from)
 
     MParList *fParList;        //! tasklist to call ReInit from
@@ -25,7 +25,7 @@
     Bool_t    fForce;
 
-    virtual istream *OpenFile(const char *filename);
-    virtual Bool_t   ReadRunHeader(istream &fin);
-    virtual Bool_t   InitReadData(istream &fin) { return kTRUE; }
+    virtual std::istream *OpenFile(const char *filename);
+    virtual Bool_t        ReadRunHeader(std::istream &fin);
+    virtual Bool_t        InitReadData(std::istream &fin) { return kTRUE; }
 
     Int_t  OpenNextFile(Bool_t print=kTRUE);
Index: /trunk/Mars/mraw/MRawFitsRead.h
===================================================================
--- /trunk/Mars/mraw/MRawFitsRead.h	(revision 14448)
+++ /trunk/Mars/mraw/MRawFitsRead.h	(revision 14449)
@@ -18,10 +18,10 @@
     MRawBoardsFACT *fRawBoards;
 
-    Int_t    PreProcess(MParList *pList);
-    istream *OpenFile(const char *filename);
-    Bool_t   ReadRunHeader(istream &fin);
-    Bool_t   InitReadData(istream &fin);
-    Bool_t   ReadEvent(istream &fin);
-    void     SkipEvent(istream &fin);
+    Int_t         PreProcess(MParList *pList);
+    std::istream *OpenFile(const char *filename);
+    Bool_t        ReadRunHeader(std::istream &fin);
+    Bool_t        InitReadData(std::istream &fin);
+    Bool_t        ReadEvent(std::istream &fin);
+    void          SkipEvent(std::istream &fin);
 
 public:
