Index: /trunk/Mars/manalysis/MEventRateCalc.h
===================================================================
--- /trunk/Mars/manalysis/MEventRateCalc.h	(revision 14446)
+++ /trunk/Mars/manalysis/MEventRateCalc.h	(revision 14447)
@@ -45,5 +45,5 @@
     Int_t  Process();
 
-    void  StreamPrimitive(ostream &out) const;
+    void  StreamPrimitive(std::ostream &out) const;
     Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print);
 
Index: /trunk/Mars/manalysis/MGeomApply.h
===================================================================
--- /trunk/Mars/manalysis/MGeomApply.h	(revision 14446)
+++ /trunk/Mars/manalysis/MGeomApply.h	(revision 14447)
@@ -22,5 +22,5 @@
     Int_t  PreProcess(MParList *plist);
     Bool_t ReInit(MParList *pList);
-    void   StreamPrimitive(ostream &out) const;
+    void   StreamPrimitive(std::ostream &out) const;
 
 public:
Index: /trunk/Mars/manalysis/MMultiDimDistCalc.h
===================================================================
--- /trunk/Mars/manalysis/MMultiDimDistCalc.h	(revision 14446)
+++ /trunk/Mars/manalysis/MMultiDimDistCalc.h	(revision 14447)
@@ -26,5 +26,5 @@
     MDataArray  *fData;       //! Used to store the MDataChains to get the event values
 
-    void  StreamPrimitive(ostream &out) const;
+    void  StreamPrimitive(std::ostream &out) const;
 
     Int_t PreProcess(MParList *plist);
Index: /trunk/Mars/mastro/MVector3.h
===================================================================
--- /trunk/Mars/mastro/MVector3.h	(revision 14446)
+++ /trunk/Mars/mastro/MVector3.h	(revision 14447)
@@ -47,6 +47,6 @@
     const char *GetName() const { return fName; }
 
-    void WriteBinary(ostream &out) const;
-    void ReadBinary(istream &in);
+    void WriteBinary(std::ostream &out) const;
+    void ReadBinary(std::istream &in);
 
     ClassDef(MVector3, 1) // A specialized TVector3 storing a star-name
Index: /trunk/Mars/mbase/MLut.h
===================================================================
--- /trunk/Mars/mbase/MLut.h	(revision 14446)
+++ /trunk/Mars/mbase/MLut.h	(revision 14447)
@@ -48,6 +48,6 @@
 
     // MLut I/O
-    Int_t ReadStream(istream &in);
-    Int_t WriteStream(ostream &out) const;
+    Int_t ReadStream(std::istream &in);
+    Int_t WriteStream(std::ostream &out) const;
 
     Int_t ReadFile(const char *fname);
Index: /trunk/Mars/mbase/MReadSocket.h
===================================================================
--- /trunk/Mars/mbase/MReadSocket.h	(revision 14446)
+++ /trunk/Mars/mbase/MReadSocket.h	(revision 14447)
@@ -34,5 +34,5 @@
 public:
     MReadSocket(int port=-1, int mtu=1500);
-    MReadSocket(MReadSocket const& log) : std::ios(), std::streambuf(), istream((std::streambuf*)&log)
+    MReadSocket(MReadSocket const& log) : std::ios(), std::streambuf(), std::istream((std::streambuf*)&log)
     {
     }
Index: /trunk/Mars/mbase/MTask.h
===================================================================
--- /trunk/Mars/mbase/MTask.h	(revision 14446)
+++ /trunk/Mars/mbase/MTask.h	(revision 14447)
@@ -120,6 +120,6 @@
     virtual Int_t CallPostProcess();
 
-    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="");
 
     // TObject
Index: /trunk/Mars/mbase/MTaskList.h
===================================================================
--- /trunk/Mars/mbase/MTaskList.h	(revision 14446)
+++ /trunk/Mars/mbase/MTaskList.h	(revision 14447)
@@ -34,5 +34,5 @@
 
     void   Remove(MTask *task);
-    void   StreamPrimitive(ostream &out) const;
+    void   StreamPrimitive(std::ostream &out) const;
     Bool_t CheckAddToList(MTask *task, /*const char *tType,*/ const MTask *where=NULL) const;
     Int_t  ProcessTaskList();
Index: /trunk/Mars/mcorsika/MCorsikaRunHeader.h
===================================================================
--- /trunk/Mars/mcorsika/MCorsikaRunHeader.h	(revision 14446)
+++ /trunk/Mars/mcorsika/MCorsikaRunHeader.h	(revision 14447)
@@ -126,5 +126,5 @@
     Bool_t ReadEventHeader(Float_t * g);
     Bool_t ReadEvtEnd(MCorsikaFormat * fInFormat, Bool_t runNumberVerify);
-    Bool_t SeekEvtEnd(istream &fin);
+    Bool_t SeekEvtEnd(std::istream &fin);
 
     // TObject
Index: /trunk/Mars/mfileio/MReadTree.h
===================================================================
--- /trunk/Mars/mfileio/MReadTree.h	(revision 14446)
+++ /trunk/Mars/mfileio/MReadTree.h	(revision 14447)
@@ -56,5 +56,5 @@
 
     virtual void SetReadyToSave(Bool_t flag=kTRUE);
-    virtual void StreamPrimitive(ostream &out) const;
+    virtual void StreamPrimitive(std::ostream &out) const;
 
     enum { kIsOwner = BIT(14) };
Index: /trunk/Mars/mfileio/MWriteAsciiFile.h
===================================================================
--- /trunk/Mars/mfileio/MWriteAsciiFile.h	(revision 14446)
+++ /trunk/Mars/mfileio/MWriteAsciiFile.h	(revision 14447)
@@ -14,10 +14,10 @@
 {
 private:
-    ofstream *fOut;     //! ascii file
+    std::ofstream *fOut; //! ascii file
 
-    TString fNameFile;  // name of the ascii file
+    TString fNameFile;   // name of the ascii file
 
-    TObjArray fList;    // list of rules and containers to be written
-    TObjArray fAutoDel; //! List of object to be deleted in the destructor
+    TObjArray fList;     // list of rules and containers to be written
+    TObjArray fAutoDel;  //! List of object to be deleted in the destructor
 
     virtual Bool_t CheckAndWrite();
Index: /trunk/Mars/mfileio/MWriteRootFile.h
===================================================================
--- /trunk/Mars/mfileio/MWriteRootFile.h	(revision 14446)
+++ /trunk/Mars/mfileio/MWriteRootFile.h	(revision 14447)
@@ -108,5 +108,5 @@
     // MTask
     Bool_t ReInit(MParList *pList);
-    void   StreamPrimitive(ostream &out) const;
+    void   StreamPrimitive(std::ostream &out) const;
 
     // Constructor
Index: /trunk/Mars/mfilter/MFParticleId.h
===================================================================
--- /trunk/Mars/mfilter/MFParticleId.h	(revision 14446)
+++ /trunk/Mars/mfilter/MFParticleId.h	(revision 14447)
@@ -30,5 +30,5 @@
               const char *name, const char *title);
 
-    void StreamPrimitive(ostream &out) const;
+    void StreamPrimitive(std::ostream &out) const;
 
     Int_t PreProcess(MParList *pList);
Index: /trunk/Mars/mfilter/MFTriggerLvl1.h
===================================================================
--- /trunk/Mars/mfilter/MFTriggerLvl1.h	(revision 14446)
+++ /trunk/Mars/mfilter/MFTriggerLvl1.h	(revision 14447)
@@ -30,5 +30,5 @@
               const char *name, const char *title);
 
-    void StreamPrimitive(ostream &out) const;
+    void StreamPrimitive(std::ostream &out) const;
 
     Int_t PreProcess(MParList *pList);
Index: /trunk/Mars/mfilter/MFTriggerLvl2.h
===================================================================
--- /trunk/Mars/mfilter/MFTriggerLvl2.h	(revision 14446)
+++ /trunk/Mars/mfilter/MFTriggerLvl2.h	(revision 14447)
@@ -36,5 +36,5 @@
               const char *name, const char *title);
 
-    void StreamPrimitive(ostream &out) const;
+    void StreamPrimitive(std::ostream &out) const;
 
     Int_t PreProcess(MParList *pList);
Index: /trunk/Mars/mgui/MHexagon.h
===================================================================
--- /trunk/Mars/mgui/MHexagon.h	(revision 14446)
+++ /trunk/Mars/mgui/MHexagon.h	(revision 14447)
@@ -72,6 +72,6 @@
     virtual void  PaintHexagon(Float_t x, Float_t y, Float_t d, Float_t phi=0);
     virtual void  Print(Option_t *Option="") const; // *MENU*
-    virtual void  SavePrimitive(ostream &out, Option_t *);
-    virtual void  SavePrimitive(ofstream &out, Option_t *);
+    virtual void  SavePrimitive(std::ostream &out, Option_t *);
+    virtual void  SavePrimitive(std::ofstream &out, Option_t *);
 
     Float_t GetX() const { return fX; }
Index: /trunk/Mars/mhbase/MBinning.h
===================================================================
--- /trunk/Mars/mhbase/MBinning.h	(revision 14446)
+++ /trunk/Mars/mhbase/MBinning.h	(revision 14447)
@@ -27,5 +27,5 @@
     Byte_t  fType;
 
-    void StreamPrimitive(ostream &out) const;
+    void StreamPrimitive(std::ostream &out) const;
 
     enum {
Index: /trunk/Mars/mhbase/MFillH.h
===================================================================
--- /trunk/Mars/mhbase/MFillH.h	(revision 14446)
+++ /trunk/Mars/mhbase/MFillH.h	(revision 14447)
@@ -46,5 +46,5 @@
     void Init(const char *name, const char *title);
 
-    void StreamPrimitive(ostream &out) const;
+    void StreamPrimitive(std::ostream &out) const;
 
     Bool_t DrawToDisplay();
Index: /trunk/Mars/mhbase/MH3.h
===================================================================
--- /trunk/Mars/mhbase/MH3.h	(revision 14446)
+++ /trunk/Mars/mhbase/MH3.h	(revision 14447)
@@ -78,5 +78,5 @@
     void HandleLogAxis(TAxis &axe) const;
 
-    void StreamPrimitive(ostream &out) const;
+    void StreamPrimitive(std::ostream &out) const;
 
 
Index: /trunk/Mars/mhbase/MHMatrix.h
===================================================================
--- /trunk/Mars/mhbase/MHMatrix.h	(revision 14446)
+++ /trunk/Mars/mhbase/MHMatrix.h	(revision 14447)
@@ -61,5 +61,5 @@
     void GetRandomArrayI(TArrayI &ind) const;
 
-    void StreamPrimitive(ostream &out) const;
+    void StreamPrimitive(std::ostream &out) const;
 
 public:
Index: /trunk/Mars/mimage/MHillasCalc.h
===================================================================
--- /trunk/Mars/mimage/MHillasCalc.h	(revision 14446)
+++ /trunk/Mars/mimage/MHillasCalc.h	(revision 14447)
@@ -68,5 +68,5 @@
 
     // MParContainer
-    void StreamPrimitive(ostream &out) const;
+    void StreamPrimitive(std::ostream &out) const;
 
     Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print);
Index: /trunk/Mars/mimage/MImgCleanStd.h
===================================================================
--- /trunk/Mars/mimage/MImgCleanStd.h	(revision 14446)
+++ /trunk/Mars/mimage/MImgCleanStd.h	(revision 14447)
@@ -72,5 +72,5 @@
     Int_t   ReadEnv(const TEnv &env, TString prefix, Bool_t print);
 
-    void    StreamPrimitive(ostream &out) const;
+    void    StreamPrimitive(std::ostream &out) const;
 
     Int_t PreProcess(MParList *pList);
Index: /trunk/Mars/mjobs/MDataSet.h
===================================================================
--- /trunk/Mars/mjobs/MDataSet.h	(revision 14446)
+++ /trunk/Mars/mjobs/MDataSet.h	(revision 14447)
@@ -48,6 +48,6 @@
     void ResolveSequences(const TEnv &env, const TString &prefix, const TArrayI &num, TList &list/*, const TString &sequences, const TString &data*/) const;
     Bool_t GetWobbleMode(const TEnv &env, const TString &prefix) const;
-    static void PrintFile(ostream &out, const MSequence &obj);
-    void PrintSeq(ostream &out, const MSequence &seq) const;
+    static void PrintFile(std::ostream &out, const MSequence &obj);
+    void PrintSeq(std::ostream &out, const MSequence &seq) const;
 
     // Directory and file handling
@@ -182,5 +182,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/mpointing/MSrcPosCam.h
===================================================================
--- /trunk/Mars/mpointing/MSrcPosCam.h	(revision 14446)
+++ /trunk/Mars/mpointing/MSrcPosCam.h	(revision 14447)
@@ -38,5 +38,5 @@
     void Print(Option_t *opt=NULL) const;
 
-    void StreamPrimitive(ostream &out) const;
+    void StreamPrimitive(std::ostream &out) const;
 
     //void AsciiRead(ifstream &fin);
Index: /trunk/Mars/mranforest/MRanForest.h
===================================================================
--- /trunk/Mars/mranforest/MRanForest.h	(revision 14446)
+++ /trunk/Mars/mranforest/MRanForest.h	(revision 14447)
@@ -125,5 +125,5 @@
     Double_t CalcHadroness();
 
-    Bool_t AsciiWrite(ostream &out) const;
+    Bool_t AsciiWrite(std::ostream &out) const;
 
     ClassDef(MRanForest, 1) // Storage container for tree structure
Index: /trunk/Mars/mranforest/MRanTree.h
===================================================================
--- /trunk/Mars/mranforest/MRanTree.h	(revision 14446)
+++ /trunk/Mars/mranforest/MRanTree.h	(revision 14447)
@@ -112,5 +112,5 @@
     Double_t TreeHad(const TMatrix &m, Int_t ievt);
 
-    Bool_t AsciiWrite(ostream &out) const;
+    Bool_t AsciiWrite(std::ostream &out) const;
 
     ClassDef(MRanTree, 1) // Storage container for tree structure
Index: /trunk/Mars/mraw/MRawCrateData.h
===================================================================
--- /trunk/Mars/mraw/MRawCrateData.h	(revision 14446)
+++ /trunk/Mars/mraw/MRawCrateData.h	(revision 14447)
@@ -18,5 +18,5 @@
     Byte_t   fABFlags;         // flag describing in which two-slice block the trigger was raised
 
-    Bool_t ReadEvtOld(istream& fin, UShort_t ver);
+    Bool_t ReadEvtOld(std::istream& fin, UShort_t ver);
 
 public:
@@ -30,6 +30,6 @@
     void Print(Option_t *t=NULL) const;
 
-    Bool_t ReadEvt(istream& fin, UShort_t ver, UInt_t size);
-    void   SkipEvt(istream& fin, UShort_t ver);
+    Bool_t ReadEvt(std::istream& fin, UShort_t ver, UInt_t size);
+    void   SkipEvt(std::istream& fin, UShort_t ver);
 
     ClassDef(MRawCrateData, 2) //Container to store the Raw CRATE DATA
Index: /trunk/Mars/mraw/MRawEvtData.h
===================================================================
--- /trunk/Mars/mraw/MRawEvtData.h	(revision 14446)
+++ /trunk/Mars/mraw/MRawEvtData.h	(revision 14447)
@@ -110,7 +110,7 @@
     Bool_t HasStartCells() const;
 
-    void ReadPixel(istream &fin, Int_t npix);
+    void ReadPixel(std::istream &fin, Int_t npix);
     void SetABFlag(Int_t npix, Bool_t ab);
-    void SkipEvt(istream &fin);
+    void SkipEvt(std::istream &fin);
 
     Bool_t GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;
Index: /trunk/Mars/mraw/MRawEvtHeader.h
===================================================================
--- /trunk/Mars/mraw/MRawEvtHeader.h	(revision 14446)
+++ /trunk/Mars/mraw/MRawEvtHeader.h	(revision 14447)
@@ -74,5 +74,5 @@
     Int_t GetNumBytes() const;
 
-    Int_t ReadEvtOld(istream& fin, UShort_t ver);
+    Int_t ReadEvtOld(std::istream& fin, UShort_t ver);
 
 public:
@@ -106,6 +106,6 @@
 
     // I/O
-    Int_t ReadEvt(istream& fin, UShort_t ver, UInt_t size);
-    void  SkipEvt(istream& fin, UShort_t ver);
+    Int_t ReadEvt(std::istream& fin, UShort_t ver, UInt_t size);
+    void  SkipEvt(std::istream& fin, UShort_t ver);
 
     ClassDef(MRawEvtHeader, 1) // Parameter Conatiner for raw EVENT HEADER
Index: /trunk/Mars/mraw/MRawRead.h
===================================================================
--- /trunk/Mars/mraw/MRawRead.h	(revision 14446)
+++ /trunk/Mars/mraw/MRawRead.h	(revision 14447)
@@ -27,6 +27,6 @@
     void CreateFakeTime() const;
 
-    virtual Bool_t ReadEvent(istream &fin);
-    virtual void   SkipEvent(istream &fin);
+    virtual Bool_t ReadEvent(std::istream &fin);
+    virtual void   SkipEvent(std::istream &fin);
     Int_t  PreProcess(MParList *pList);
 
Index: /trunk/Mars/mraw/MRawRunHeader.h
===================================================================
--- /trunk/Mars/mraw/MRawRunHeader.h	(revision 14446)
+++ /trunk/Mars/mraw/MRawRunHeader.h	(revision 14447)
@@ -80,5 +80,5 @@
     Bool_t IsConsistent() const;
 
-    Bool_t ReadEvtOld(istream& fin);
+    Bool_t ReadEvtOld(std::istream& fin);
 
     // MParContainer
@@ -187,5 +187,5 @@
     void Print(Option_t *t=NULL) const;
 
-    Bool_t ReadEvt(istream& fin);
+    Bool_t ReadEvt(std::istream& fin);
     //Bool_t WriteEvt(ostream& fout) const;
 
Index: /trunk/Mars/msignal/MExtractor.h
===================================================================
--- /trunk/Mars/msignal/MExtractor.h	(revision 14446)
+++ /trunk/Mars/msignal/MExtractor.h	(revision 14447)
@@ -73,5 +73,5 @@
   Bool_t  ReInit    ( MParList *pList );
   Int_t   Process   ();
-  void    StreamPrimitive(ostream &out) const;
+  void    StreamPrimitive(std::ostream &out) const;
   Int_t   ReadEnv(const TEnv &env, TString prefix, Bool_t print);
 
Index: /trunk/Mars/mtools/MChisqEval.h
===================================================================
--- /trunk/Mars/mtools/MChisqEval.h	(revision 14446)
+++ /trunk/Mars/mtools/MChisqEval.h	(revision 14447)
@@ -27,5 +27,5 @@
     Double_t     fSumW;    //! Sum of weights
 
-    void StreamPrimitive(ostream &out) const;
+    void StreamPrimitive(std::ostream &out) const;
 
     enum { kIsOwner = BIT(14) };
