Changeset 7804
- Timestamp:
- 07/26/06 11:46:55 (18 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 94 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7803 r7804 33 33 * mbase/MContinue.h: 34 34 - some reformatting 35 36 * manalysis/MEventRateCalc.[h,cc], manalysis/MGeomApply.[h,cc], 37 manalysis/MMultiDimDistCalc.[h,cc], mbadpixels/MBadPixelsTreat.[h,cc], 38 mbase/MEvtLoop.[h,cc], mbase/MParContainer.[h,cc], mbase/MParList.[h,cc], 39 mbase/MTask.[h,cc], mbase/MTaskList.[h,cc], mcalib/MCalibrateData.[h,cc], 40 mdata/MDataArray.[h,cc], mfbase/MF.[h,cc], mfbase/MFDataChain.[h,cc], 41 mfbase/MFDataChain.[h,cc], mfbase/MFDataMember.[h,cc], 42 mfbase/MFilterList.[h,cc], mfileio/MReadTree.[h,cc], 43 mfileio/MWriteRootFile.[h,cc], mfilter/MFParticleId.[h,cc], 44 mfilter/MFTriggerLvl1.[h,cc], mfilter/MFTriggerLvl2.[h,cc], 45 mhbase/MBinning.[h,cc], mhbase/MFillH.[h,cc], mhbase/MH3.[h,cc], 46 mhbase/MHMatrix.[h,cc], mimage/MHillasCalc.[h,cc], 47 mimage/MImgCleanStd.[h,cc], mimage/MImgCleanTGB.[h,cc], 48 mpointing/MSrcPosCam.[h,cc], msignal/MExtractFixedWindow.[h,cc], 49 msignal/MExtractSignal.[h,cc], msignal/MExtractSignalABcorr.[h,cc], 50 msignal/MExtractor.[h,cc], mtools/MChisqEval.[h,cc] 51 - replaced StreamPrimitive(ofstream&) by StreamPrimitive(ostream&) 52 - replaced SavePrimitive(ofstream&) by SsavePrimitive(ostream&) 53 - if necessary let SavePrimitive(ofstream&) call 54 SavePrimitive(ostream&) 55 56 * mbadpixels/MBadPixelsCam.cc, mbadpixels/MBadPixelsIntensityCam.cc, 57 mbase/MEvtLoop.cc, mbase/MLog.cc, mbase/MParList.cc, mbase/MTaskList.cc, 58 mcalib/MCalibConstCam.cc, mcalib/MCalibrationBlindCam.cc, 59 mcalib/MCalibrationCam.cc, mcalib/MCalibrationIntensityCam.cc, 60 mcalib/MCalibrationIntensityConstCam.cc, mdata/MDataArray.cc, 61 mdata/MDataFormula.cc, mdata/MDataList.cc, mfbase/MFilterList.cc, 62 mgeom/MGeomCam.cc, mhcalib/MHCalibrationCam.cc, mmain/MMonteCarlo.cc, 63 mpedestal/MPedPhotCam.cc, mpedestal/MPedestalCam.cc, 64 mreport/MReportFileRead.cc, msignal/MArrivalTimeCam.cc, 65 msignal/MExtractedSignalCam.cc, msignal/MSignalCam.cc: 66 - replaced ForEach by R__FOR_EACH 67 68 * mbase/MAGIC.h: 69 - define R__FOR_EACH macro if not yet defined 70 71 * mbase/MEvtLoop.cc: 72 - removed usage of copy-constructor of TEnv 73 74 * mbase/MString.h: 75 - exclude some of the member function from CINT (gives problem 76 with CINT) 77 78 * mfbase/MFEventSelector.[h,cc]: 79 - removed StreamPrimitive (it was empty anyhow) 80 81 * mranforest/MRanTree.cc: 82 - moved includes for TVector and TMatrix to header 83 - replaced TMatrixRow by TMatrixFRow_const in TreeHad 84 85 * msignal/Makefile, msignal/SignalLinkDef.h: 86 - removed MExtractSignal 87 - removed MExtractSignal2 88 - removed MExtractSignal3 89 - removed MExtractSignalABcorr 90 35 91 36 92 -
trunk/MagicSoft/Mars/manalysis/MEventRateCalc.cc
r7033 r7804 212 212 // gui elements to a macro-file. 213 213 // 214 void MEventRateCalc::StreamPrimitive(o fstream &out) const214 void MEventRateCalc::StreamPrimitive(ostream &out) const 215 215 { 216 216 out << " MEventRateCalc " << GetUniqueName() << "("; -
trunk/MagicSoft/Mars/manalysis/MEventRateCalc.h
r6455 r7804 45 45 Int_t Process(); 46 46 47 void StreamPrimitive(o fstream &out) const;47 void StreamPrimitive(ostream &out) const; 48 48 Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print); 49 49 -
trunk/MagicSoft/Mars/manalysis/MGeomApply.cc
r7188 r7804 222 222 // gui elements to a macro-file. 223 223 // 224 void MGeomApply::StreamPrimitive(o fstream &out) const224 void MGeomApply::StreamPrimitive(ostream &out) const 225 225 { 226 226 out << " " << ClassName() << " " << GetUniqueName() << "(\""; -
trunk/MagicSoft/Mars/manalysis/MGeomApply.h
r5844 r7804 22 22 Int_t PreProcess(MParList *plist); 23 23 Bool_t ReInit(MParList *pList); 24 void StreamPrimitive(o fstream &out) const;24 void StreamPrimitive(ostream &out) const; 25 25 26 26 public: -
trunk/MagicSoft/Mars/manalysis/MMultiDimDistCalc.cc
r6982 r7804 199 199 } 200 200 201 void MMultiDimDistCalc::StreamPrimitive(o fstream &out) const201 void MMultiDimDistCalc::StreamPrimitive(ostream &out) const 202 202 { 203 203 out << " MMultiDimDist " << GetUniqueName(); … … 218 218 out << " " << GetUniqueName() << ".SetUseKernelMethod();" << endl; 219 219 } 220 -
trunk/MagicSoft/Mars/manalysis/MMultiDimDistCalc.h
r7130 r7804 26 26 MDataArray *fData; //! Used to store the MDataChains to get the event values 27 27 28 void StreamPrimitive(ofstream &out) const; 28 void StreamPrimitive(ostream &out) const; 29 29 30 Int_t PreProcess(MParList *plist); 30 31 Int_t Process(); -
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsCam.cc
r7375 r7804 166 166 void MBadPixelsCam::Clear(Option_t *o) 167 167 { 168 fArray-> ForEach(TObject, Clear)();168 fArray->R__FOR_EACH(TObject, Clear)(); 169 169 } 170 170 … … 175 175 void MBadPixelsCam::Reset() 176 176 { 177 fArray-> ForEach(MParContainer, Reset)();177 fArray->R__FOR_EACH(MParContainer, Reset)(); 178 178 } 179 179 -
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsIntensityCam.cc
r7189 r7804 125 125 { 126 126 127 fCams-> ForEach(MBadPixelsCam, Clear)();127 fCams->R__FOR_EACH(MBadPixelsCam, Clear)(); 128 128 129 129 return; … … 136 136 void MBadPixelsIntensityCam::Print(Option_t *o) const 137 137 { 138 fCams-> ForEach(MBadPixelsCam, Print)(o);138 fCams->R__FOR_EACH(MBadPixelsCam, Print)(o); 139 139 } 140 140 … … 184 184 InitSize(1); 185 185 186 fCams-> ForEach(MBadPixelsCam,Init)(geom);186 fCams->R__FOR_EACH(MBadPixelsCam,Init)(geom); 187 187 } 188 188 -
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsTreat.cc
r7736 r7804 563 563 } 564 564 565 void MBadPixelsTreat::StreamPrimitive(o fstream &out) const565 void MBadPixelsTreat::StreamPrimitive(ostream &out) const 566 566 { 567 567 out << " MBadPixelsTreat " << GetUniqueName(); -
trunk/MagicSoft/Mars/mbadpixels/MBadPixelsTreat.h
r7733 r7804 54 54 Int_t Process(); 55 55 Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print); 56 void StreamPrimitive(ofstream &out) const; 56 57 void StreamPrimitive(ostream &out) const; 57 58 58 59 public: -
trunk/MagicSoft/Mars/mbase/MAGIC.h
r3710 r7804 21 21 #endif 22 22 23 #ifndef R__FOR_EACH 24 #define R__FOR_EACH ForEach 25 #endif 26 27 23 28 // 24 29 // Values for the eventloop control -
trunk/MagicSoft/Mars/mbase/MEvtLoop.cc
r7130 r7804 736 736 // gui elements to a macro-file. 737 737 // 738 void MEvtLoop::StreamPrimitive(o fstream &out) const738 void MEvtLoop::StreamPrimitive(ostream &out) const 739 739 { 740 740 out << " MEvtLoop " << GetUniqueName(); … … 747 747 // 748 748 // 749 void MEvtLoop::SavePrimitive(o fstream &out, Option_t *opt)749 void MEvtLoop::SavePrimitive(ostream &out, Option_t *opt) 750 750 { 751 751 TString options = opt; … … 767 767 { 768 768 *fLog << err << "MEvtLoop::SavePrimitive - Error: old file not closed." << endl; 769 gListOfPrimitives-> ForEach(TObject, ResetBit)(BIT(15));769 gListOfPrimitives->R__FOR_EACH(TObject, ResetBit)(BIT(15)); 770 770 delete gListOfPrimitives; 771 771 } … … 788 788 return; 789 789 790 gListOfPrimitives-> ForEach(TObject, ResetBit)(BIT(15));790 gListOfPrimitives->R__FOR_EACH(TObject, ResetBit)(BIT(15)); 791 791 delete gListOfPrimitives; 792 792 gListOfPrimitives = 0; 793 } 794 795 void MEvtLoop::SavePrimitive(ofstream &out, Option_t *o) 796 { 797 SavePrimitive(static_cast<ostream&>(out), o); 793 798 } 794 799 … … 1041 1046 } 1042 1047 1043 return ReadEnv(TEnv(config), "", print); 1048 const TEnv env(config); 1049 return ReadEnv(env, "", print); 1044 1050 } 1045 1051 -
trunk/MagicSoft/Mars/mbase/MEvtLoop.h
r7071 r7804 37 37 Bool_t HasDuplicateNames(TObjArray &arr, const TString txt) const; 38 38 39 void StreamPrimitive(o fstream &out) const;39 void StreamPrimitive(ostream &out) const; 40 40 41 41 Bool_t ProcessGuiEvents(Int_t num); … … 78 78 void MakeMacro(const char *filename="evtloop.C"); 79 79 80 void SavePrimitive(ostream &out, Option_t *o=""); 80 81 void SavePrimitive(ofstream &out, Option_t *o=""); 81 82 -
trunk/MagicSoft/Mars/mbase/MLog.cc
r7438 r7804 264 264 SetBit(kIsUnderlined); 265 265 266 fPlugins-> ForEach(MLogPlugin, Underline)();266 fPlugins->R__FOR_EACH(MLogPlugin, Underline)(); 267 267 268 268 if (TestBit(eNoColors)) … … 353 353 fOut->write(fBase, len); 354 354 355 fPlugins-> ForEach(MLogPlugin, SetColor)(fOutputLevel);356 fPlugins-> ForEach(MLogPlugin, WriteBuffer)(fBase, len);355 fPlugins->R__FOR_EACH(MLogPlugin, SetColor)(fOutputLevel); 356 fPlugins->R__FOR_EACH(MLogPlugin, WriteBuffer)(fBase, len); 357 357 358 358 if (fDevice&eGui && fGui) -
trunk/MagicSoft/Mars/mbase/MParContainer.cc
r7179 r7804 682 682 // gui elements to a macro-file. 683 683 // 684 void MParContainer::SavePrimitive(o fstream &out, Option_t *o)684 void MParContainer::SavePrimitive(ostream &out, Option_t *o) 685 685 { 686 686 static UInt_t uid = 0; … … 698 698 } 699 699 700 void MParContainer::SavePrimitive(ofstream &out, Option_t *o) 701 { 702 SavePrimitive(static_cast<ostream&>(out)); 703 } 704 700 705 // -------------------------------------------------------------------------- 701 706 // 702 707 // Creates the string written by SavePrimitive and returns it. 703 708 // 704 void MParContainer::StreamPrimitive(o fstream &out) const709 void MParContainer::StreamPrimitive(ostream &out) const 705 710 { 706 711 out << " // Using MParContainer::StreamPrimitive" << endl; -
trunk/MagicSoft/Mars/mbase/MParContainer.h
r6949 r7804 94 94 virtual void Print(Option_t *option="") const; 95 95 virtual Int_t Sizeof() const; 96 virtual void SavePrimitive(ostream &out, Option_t *o=""); 96 97 virtual void SavePrimitive(ofstream &out, Option_t *o=""); 97 98 … … 108 109 virtual void SetDisplay(MStatusDisplay *d) { fDisplay = d; } 109 110 110 // FIXME: Change to ostream! Seems to be difficult, because 111 // MTaskListStreamPrimitive calls SavePrimitive(ofstream&). 112 // Maybe with a cast? 113 virtual void StreamPrimitive(ofstream &out) const; 111 virtual void StreamPrimitive(ostream &out) const; 114 112 115 113 TMethodCall *GetterMethod(const char *name) const; -
trunk/MagicSoft/Mars/mbase/MParList.cc
r7413 r7804 160 160 void MParList::SetLogStream(MLog *log) 161 161 { 162 fContainer-> ForEach(MParContainer, SetLogStream)(log);162 fContainer->R__FOR_EACH(MParContainer, SetLogStream)(log); 163 163 MParContainer::SetLogStream(log); 164 164 } … … 166 166 void MParList::SetDisplay(MStatusDisplay *d) 167 167 { 168 fContainer-> ForEach(MParContainer, SetDisplay)(d);168 fContainer->R__FOR_EACH(MParContainer, SetDisplay)(d); 169 169 MParContainer::SetDisplay(d); 170 170 } … … 659 659 void MParList::SetReadyToSave(Bool_t flag) 660 660 { 661 fContainer-> ForEach(MParContainer, SetReadyToSave)(flag);661 fContainer->R__FOR_EACH(MParContainer, SetReadyToSave)(flag); 662 662 MParContainer::SetReadyToSave(flag); 663 663 } … … 669 669 void MParList::Reset() 670 670 { 671 fContainer-> ForEach(MParContainer, Reset)();671 fContainer->R__FOR_EACH(MParContainer, Reset)(); 672 672 } 673 673 … … 841 841 } 842 842 843 void MParList::SavePrimitive(o fstream &out, Option_t *o)843 void MParList::SavePrimitive(ostream &out, Option_t *o) 844 844 { 845 845 Bool_t saved = IsSavedAsPrimitive(); … … 867 867 } 868 868 869 void MParList::SavePrimitive(ofstream &out, Option_t *o) 870 { 871 SavePrimitive(static_cast<ostream&>(out), o); 872 } 873 869 874 // -------------------------------------------------------------------------- 870 875 // … … 873 878 // gui elements to a macro-file. 874 879 // 875 void MParList::StreamPrimitive(o fstream &out) const880 void MParList::StreamPrimitive(ostream &out) const 876 881 { 877 882 out << " MParList " << GetUniqueName(); … … 894 899 { 895 900 MParContainer::GetNames(arr); 896 fContainer-> ForEach(MParContainer, GetNames)(arr);901 fContainer->R__FOR_EACH(MParContainer, GetNames)(arr); 897 902 } 898 903 … … 905 910 { 906 911 MParContainer::SetNames(arr); 907 fContainer-> ForEach(MParContainer, SetNames)(arr);912 fContainer->R__FOR_EACH(MParContainer, SetNames)(arr); 908 913 } 909 914 -
trunk/MagicSoft/Mars/mbase/MParList.h
r7413 r7804 35 35 enum { kIsOwner = BIT(14) }; 36 36 37 void StreamPrimitive(o fstream &out) const;37 void StreamPrimitive(ostream &out) const; 38 38 39 39 void Init(const char *name, const char *title); … … 97 97 void SetNames(TObjArray &arr); 98 98 99 void SavePrimitive(ostream &out, Option_t *o=""); 99 100 void SavePrimitive(ofstream &out, Option_t *o=""); 100 101 -
trunk/MagicSoft/Mars/mbase/MString.h
r7179 r7804 13 13 public: 14 14 MString(const char *txt=0) : TString(txt) { } 15 MString(const TString &txt) : TString(txt) { }15 MString(const MString &txt) : TString(txt) { } 16 16 17 17 MString &Print(const char *fmt, va_list &ap); 18 18 MString &Print(const char *fmt, ...); 19 20 #ifndef __CINT__ 19 21 static MString Form(const char *fmt, ...); 22 #endif 20 23 21 24 ClassDef(MString, 1) // Tool to make Form() thread safe against other TStrings -
trunk/MagicSoft/Mars/mbase/MTask.cc
r7601 r7804 455 455 // and afterwards set the filter for this task. 456 456 // 457 void MTask::SavePrimitive(o fstream &out, Option_t *o)457 void MTask::SavePrimitive(ostream &out, Option_t *o) 458 458 { 459 459 MParContainer::SavePrimitive(out); … … 471 471 if (fSerialNumber>0) 472 472 out << " " << GetUniqueName() << ".SetSerialNumber(" << fSerialNumber <<");" << endl; 473 } 474 475 void MTask::SavePrimitive(ofstream &out, Option_t *o) 476 { 477 SavePrimitive(static_cast<ostream&>(out), o); 473 478 } 474 479 -
trunk/MagicSoft/Mars/mbase/MTask.h
r7601 r7804 120 120 virtual Int_t CallPostProcess(); 121 121 122 void SavePrimitive(ostream &out, Option_t *o=""); 122 123 void SavePrimitive(ofstream &out, Option_t *o=""); 123 124 -
trunk/MagicSoft/Mars/mbase/MTaskList.cc
r7688 r7804 144 144 void MTaskList::SetLogStream(MLog *log) 145 145 { 146 fTasks-> ForEach(MTask, SetLogStream)(log);146 fTasks->R__FOR_EACH(MTask, SetLogStream)(log); 147 147 MTask::SetLogStream(log); 148 148 } … … 154 154 void MTaskList::SetDisplay(MStatusDisplay *d) 155 155 { 156 fTasks-> ForEach(MTask, SetDisplay)(d);156 fTasks->R__FOR_EACH(MTask, SetDisplay)(d); 157 157 MTask::SetDisplay(d); 158 158 } … … 160 160 void MTaskList::SetAccelerator(Byte_t acc) 161 161 { 162 fTasks-> ForEach(MTask, SetAccelerator)(acc);162 fTasks->R__FOR_EACH(MTask, SetAccelerator)(acc); 163 163 MTask::SetAccelerator(acc); 164 164 } … … 171 171 void MTaskList::SetSerialNumber(Byte_t num) 172 172 { 173 fTasks-> ForEach(MTask, SetSerialNumber)(num);173 fTasks->R__FOR_EACH(MTask, SetSerialNumber)(num); 174 174 MTask::SetSerialNumber(num); 175 175 } … … 802 802 // create the Iterator for the TaskList 803 803 // 804 fTasks-> ForEach(MTask, PrintStatistics)(lvl+1, title, GetCpuTime());804 fTasks->R__FOR_EACH(MTask, PrintStatistics)(lvl+1, title, GetCpuTime()); 805 805 806 806 if (lvl==0) … … 827 827 // gui elements to a macro-file. 828 828 // 829 void MTaskList::StreamPrimitive(o fstream &out) const829 void MTaskList::StreamPrimitive(ostream &out) const 830 830 { 831 831 out << " MTaskList " << GetUniqueName(); … … 853 853 { 854 854 MParContainer::GetNames(arr); 855 fTasks-> ForEach(MParContainer, GetNames)(arr);855 fTasks->R__FOR_EACH(MParContainer, GetNames)(arr); 856 856 } 857 857 … … 859 859 { 860 860 MParContainer::SetNames(arr); 861 fTasks-> ForEach(MParContainer, SetNames)(arr);861 fTasks->R__FOR_EACH(MParContainer, SetNames)(arr); 862 862 } 863 863 -
trunk/MagicSoft/Mars/mbase/MTaskList.h
r7688 r7804 31 31 32 32 void Remove(MTask *task); 33 void StreamPrimitive(o fstream &out) const;33 void StreamPrimitive(ostream &out) const; 34 34 Bool_t CheckAddToList(MTask *task, const char *tType, const MTask *where=NULL) const; 35 35 -
trunk/MagicSoft/Mars/mcalib/MCalibConstCam.cc
r7188 r7804 227 227 void MCalibConstCam::Clear(Option_t *o) 228 228 { 229 { fArray-> ForEach(TObject, Clear)(); }230 { fAverageAreas-> ForEach(TObject, Clear)(); }231 { fAverageSectors-> ForEach(TObject, Clear)(); }229 { fArray->R__FOR_EACH(TObject, Clear)(); } 230 { fAverageAreas->R__FOR_EACH(TObject, Clear)(); } 231 { fAverageSectors->R__FOR_EACH(TObject, Clear)(); } 232 232 233 233 } -
trunk/MagicSoft/Mars/mcalib/MCalibrateData.cc
r7575 r7804 845 845 // gui elements to a macro-file. 846 846 // 847 void MCalibrateData::StreamPrimitive(o fstream &out) const847 void MCalibrateData::StreamPrimitive(ostream &out) const 848 848 { 849 849 out << " " << ClassName() << " " << GetUniqueName() << "(\""; -
trunk/MagicSoft/Mars/mcalib/MCalibrateData.h
r7374 r7804 97 97 Int_t Process(); 98 98 Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print); 99 void StreamPrimitive(o fstream &out) const;99 void StreamPrimitive(ostream &out) const; 100 100 101 101 public: -
trunk/MagicSoft/Mars/mcalib/MCalibrationBlindCam.cc
r7188 r7804 171 171 172 172 fPulserColor = col; 173 fPixels-> ForEach(MCalibrationBlindPix, SetColor)(col);173 fPixels->R__FOR_EACH(MCalibrationBlindPix, SetColor)(col); 174 174 175 175 } -
trunk/MagicSoft/Mars/mcalib/MCalibrationCam.cc
r7200 r7804 170 170 void MCalibrationCam::Clear(Option_t *o) 171 171 { 172 173 { fPixels ->ForEach(TObject, Clear)(); } 174 { fAverageAreas ->ForEach(TObject, Clear)(); } 175 { fAverageSectors->ForEach(TObject, Clear)(); } 176 177 return; 172 { fPixels ->R__FOR_EACH(TObject, Clear)(); } 173 { fAverageAreas ->R__FOR_EACH(TObject, Clear)(); } 174 { fAverageSectors->R__FOR_EACH(TObject, Clear)(); } 178 175 } 179 176 -
trunk/MagicSoft/Mars/mcalib/MCalibrationIntensityCam.cc
r7189 r7804 187 187 void MCalibrationIntensityCam::Clear(Option_t *o) 188 188 { 189 fCams-> ForEach(MCalibrationCam, Clear)();190 fHists-> ForEach(MHCalibrationCam, Clear)();189 fCams->R__FOR_EACH(MCalibrationCam, Clear)(); 190 fHists->R__FOR_EACH(MHCalibrationCam, Clear)(); 191 191 } 192 192 … … 197 197 void MCalibrationIntensityCam::Print(Option_t *o) const 198 198 { 199 fCams-> ForEach(MCalibrationCam, Print)(o);200 fHists-> ForEach(MHCalibrationCam, Print)(o);199 fCams->R__FOR_EACH(MCalibrationCam, Print)(o); 200 fHists->R__FOR_EACH(MHCalibrationCam, Print)(o); 201 201 } 202 202 … … 244 244 InitSize(1); 245 245 246 fCams-> ForEach(MCalibrationCam,Init)(geom);246 fCams->R__FOR_EACH(MCalibrationCam,Init)(geom); 247 247 } 248 248 -
trunk/MagicSoft/Mars/mcalib/MCalibrationIntensityConstCam.cc
r7195 r7804 113 113 void MCalibrationIntensityConstCam::Clear(Option_t *o) 114 114 { 115 116 fCams->ForEach(MCalibConstCam, Clear)(); 117 return; 115 fCams->R__FOR_EACH(MCalibConstCam, Clear)(); 118 116 } 119 117 … … 124 122 void MCalibrationIntensityConstCam::Print(Option_t *o) const 125 123 { 126 fCams-> ForEach(MCalibConstCam, Print)(o);124 fCams->R__FOR_EACH(MCalibConstCam, Print)(o); 127 125 } 128 126 … … 160 158 InitSize(1); 161 159 162 fCams-> ForEach(MCalibConstCam,Init)(geom);160 fCams->R__FOR_EACH(MCalibConstCam,Init)(geom); 163 161 } 164 162 -
trunk/MagicSoft/Mars/mdata/MDataArray.cc
r7749 r7804 187 187 Bool_t MDataArray::AsciiWrite(ostream &out) const 188 188 { 189 ((TObjArray)fList). ForEach(MParContainer, AsciiWrite)(out);189 ((TObjArray)fList).R__FOR_EACH(MParContainer, AsciiWrite)(out); 190 190 return kTRUE; 191 191 } … … 197 197 // gui elements to a macro-file. 198 198 // 199 void MDataArray::StreamPrimitive(o fstream &out) const199 void MDataArray::StreamPrimitive(ostream &out) const 200 200 { 201 201 out << " MDataArray " << GetUniqueName(); … … 255 255 void MDataArray::SetVariables(const TArrayD &arr) 256 256 { 257 fList. ForEach(MData, SetVariables)(arr);258 } 257 fList.R__FOR_EACH(MData, SetVariables)(arr); 258 } -
trunk/MagicSoft/Mars/mdata/MDataArray.h
r7749 r7804 26 26 TObjArray fList; 27 27 28 void StreamPrimitive(o fstream &out) const;28 void StreamPrimitive(ostream &out) const; 29 29 30 30 public: -
trunk/MagicSoft/Mars/mdata/MDataFormula.cc
r7784 r7804 317 317 void MDataFormula::SetVariables(const TArrayD &arr) 318 318 { 319 fMembers. ForEach(MData, SetVariables)(arr);320 } 321 319 fMembers.R__FOR_EACH(MData, SetVariables)(arr); 320 } 321 -
trunk/MagicSoft/Mars/mdata/MDataList.cc
r3666 r7804 398 398 void MDataList::SetVariables(const TArrayD &arr) 399 399 { 400 fMembers. ForEach(MData, SetVariables)(arr);401 } 400 fMembers.R__FOR_EACH(MData, SetVariables)(arr); 401 } -
trunk/MagicSoft/Mars/mfbase/MF.cc
r7601 r7804 414 414 } 415 415 416 void MF::StreamPrimitive(o fstream &out) const416 void MF::StreamPrimitive(ostream &out) const 417 417 { 418 418 out << " MF " << GetUniqueName(); -
trunk/MagicSoft/Mars/mfbase/MF.h
r6932 r7804 31 31 MFilter *ParseString(TString txt, Int_t level); 32 32 33 void StreamPrimitive(o fstream &out) const;33 void StreamPrimitive(ostream &out) const; 34 34 35 35 public: -
trunk/MagicSoft/Mars/mfbase/MFDataChain.cc
r6869 r7804 146 146 // Crahses if default constructor called. 147 147 // 148 void MFDataChain::StreamPrimitive(o fstream &out) const148 void MFDataChain::StreamPrimitive(ostream &out) const 149 149 { 150 150 out << " MFDataChain " << GetUniqueName() << "(\""; -
trunk/MagicSoft/Mars/mfbase/MFDataChain.h
r5875 r7804 28 28 Bool_t fResult; //! 29 29 30 void StreamPrimitive(o fstream &out) const;30 void StreamPrimitive(ostream &out) const; 31 31 32 32 Int_t PreProcess(MParList *pList); -
trunk/MagicSoft/Mars/mfbase/MFDataMember.cc
r5875 r7804 139 139 } 140 140 141 void MFDataMember::StreamPrimitive(o fstream &out) const141 void MFDataMember::StreamPrimitive(ostream &out) const 142 142 { 143 143 out << " MFDataMember " << GetUniqueName() << "(\""; -
trunk/MagicSoft/Mars/mfbase/MFDataMember.h
r5875 r7804 22 22 Double_t fValue; 23 23 24 void StreamPrimitive(o fstream &out) const;24 void StreamPrimitive(ostream &out) const; 25 25 26 26 Int_t PreProcess(MParList *pList); -
trunk/MagicSoft/Mars/mfbase/MFEventSelector.cc
r7418 r7804 208 208 return kTRUE; 209 209 } 210 211 void MFEventSelector::StreamPrimitive(ofstream &out) const212 {213 /*214 out << " MF " << GetUniqueName();215 216 if (!fFilter)217 {218 out << ";" << endl;219 return;220 }221 222 out << "(\"" << fFilter->GetRule() << "\"";223 if (fName!=gsDefName || fTitle!=gsDefTitle)224 {225 out << "(\"" << fName << "\"";226 if (fTitle!=gsDefTitle)227 out << ", \"" << fTitle << "\"";228 }229 out << ");" << endl;230 */231 } -
trunk/MagicSoft/Mars/mfbase/MFEventSelector.h
r3330 r7804 19 19 Bool_t fResult; //! Reseult of a single selection 20 20 21 void StreamPrimitive(ofstream &out) const;22 23 21 Int_t PreProcess(MParList *pList); 24 22 Int_t Process(); -
trunk/MagicSoft/Mars/mfbase/MFilterList.cc
r7643 r7804 264 264 void MFilterList::SetAccelerator(Byte_t acc) 265 265 { 266 fFilters. ForEach(MTask, SetAccelerator)(acc);266 fFilters.R__FOR_EACH(MTask, SetAccelerator)(acc); 267 267 MFilter::SetAccelerator(acc); 268 268 } … … 377 377 // gui elements to a macro-file. 378 378 // 379 void MFilterList::StreamPrimitive(o fstream &out) const379 void MFilterList::StreamPrimitive(ostream &out) const 380 380 { 381 381 out << " MFilterList " << ToLower(fName) << "(\""; … … 506 506 void MFilterList::SetVariables(const TArrayD &arr) 507 507 { 508 fFilters. ForEach(MFilter, SetVariables)(arr);509 } 508 fFilters.R__FOR_EACH(MFilter, SetVariables)(arr); 509 } -
trunk/MagicSoft/Mars/mfbase/MFilterList.h
r7643 r7804 29 29 enum { kIsOwner = BIT(14) }; 30 30 31 void StreamPrimitive(o fstream &out) const;31 void StreamPrimitive(ostream &out) const; 32 32 33 33 void Init(const char *name, const char *title); -
trunk/MagicSoft/Mars/mfileio/MReadTree.cc
r7724 r7804 1198 1198 // gui elements to a macro-file. 1199 1199 // 1200 void MReadTree::StreamPrimitive(o fstream &out) const1200 void MReadTree::StreamPrimitive(ostream &out) const 1201 1201 { 1202 1202 out << " " << ClassName() << " " << GetUniqueName() << "(\""; -
trunk/MagicSoft/Mars/mfileio/MReadTree.h
r7115 r7804 46 46 47 47 virtual void SetReadyToSave(Bool_t flag=kTRUE); 48 virtual void StreamPrimitive(o fstream &out) const;48 virtual void StreamPrimitive(ostream &out) const; 49 49 50 50 enum { kIsOwner = BIT(14) }; -
trunk/MagicSoft/Mars/mfileio/MWriteRootFile.cc
r7358 r7804 1068 1068 // gui elements to a macro-file. 1069 1069 // 1070 void MWriteRootFile::StreamPrimitive(o fstream &out) const1070 void MWriteRootFile::StreamPrimitive(ostream &out) const 1071 1071 { 1072 1072 out << " MWriteRootFile " << GetUniqueName(); -
trunk/MagicSoft/Mars/mfileio/MWriteRootFile.h
r7001 r7804 108 108 // MTask 109 109 Bool_t ReInit(MParList *pList); 110 void StreamPrimitive(o fstream &out) const;110 void StreamPrimitive(ostream &out) const; 111 111 112 112 // Constructor -
trunk/MagicSoft/Mars/mfilter/MFParticleId.cc
r3502 r7804 124 124 } 125 125 126 void MFParticleId::StreamPrimitive(o fstream &out) const126 void MFParticleId::StreamPrimitive(ostream &out) const 127 127 { 128 128 if (fMcEvt) -
trunk/MagicSoft/Mars/mfilter/MFParticleId.h
r2206 r7804 30 30 const char *name, const char *title); 31 31 32 void StreamPrimitive(o fstream &out) const;32 void StreamPrimitive(ostream &out) const; 33 33 34 34 Int_t PreProcess(MParList *pList); -
trunk/MagicSoft/Mars/mfilter/MFTriggerLvl1.cc
r2206 r7804 119 119 } 120 120 121 void MFTriggerLvl1::StreamPrimitive(o fstream &out) const121 void MFTriggerLvl1::StreamPrimitive(ostream &out) const 122 122 { 123 123 if (fMcTrig) -
trunk/MagicSoft/Mars/mfilter/MFTriggerLvl1.h
r2206 r7804 30 30 const char *name, const char *title); 31 31 32 void StreamPrimitive(o fstream &out) const;32 void StreamPrimitive(ostream &out) const; 33 33 34 34 Int_t PreProcess(MParList *pList); -
trunk/MagicSoft/Mars/mfilter/MFTriggerLvl2.cc
r2206 r7804 127 127 } 128 128 129 void MFTriggerLvl2::StreamPrimitive(o fstream &out) const129 void MFTriggerLvl2::StreamPrimitive(ostream &out) const 130 130 { 131 131 if (fcell) -
trunk/MagicSoft/Mars/mfilter/MFTriggerLvl2.h
r2206 r7804 36 36 const char *name, const char *title); 37 37 38 void StreamPrimitive(o fstream &out) const;38 void StreamPrimitive(ostream &out) const; 39 39 40 40 Int_t PreProcess(MParList *pList); -
trunk/MagicSoft/Mars/mgeom/MGeomCam.cc
r7360 r7804 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@ uni-sw.gwdg.de>19 ! 20 ! 18 ! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@astro.uni-wuerzburg.de> 19 ! Author(s): Harald Kornmayer 01/2001 20 ! Author(s): Markus Gaug 03/2004 <mailto:markus@ifae.es> 21 21 ! 22 ! Copyright: MAGIC Software Development, 2000-200 422 ! Copyright: MAGIC Software Development, 2000-2005 23 23 ! 24 24 \* ======================================================================== */ … … 135 135 void MGeomCam::InitOuterRing() 136 136 { 137 fPixels. ForEach(MGeomPix, CheckOuterRing)(*this);137 fPixels.R__FOR_EACH(MGeomPix, CheckOuterRing)(*this); 138 138 } 139 139 -
trunk/MagicSoft/Mars/mhbase/MBinning.cc
r7413 r7804 556 556 // gui elements to a macro-file. 557 557 // 558 void MBinning::StreamPrimitive(o fstream &out) const558 void MBinning::StreamPrimitive(ostream &out) const 559 559 { 560 560 out << " MBinning " << GetUniqueName(); -
trunk/MagicSoft/Mars/mhbase/MBinning.h
r7413 r7804 27 27 Byte_t fType; 28 28 29 void StreamPrimitive(o fstream &out) const;29 void StreamPrimitive(ostream &out) const; 30 30 31 31 enum { -
trunk/MagicSoft/Mars/mhbase/MFillH.cc
r7130 r7804 609 609 // gui elements to a macro-file. 610 610 // 611 void MFillH::StreamPrimitive(o fstream &out) const611 void MFillH::StreamPrimitive(ostream &out) const 612 612 { 613 613 if (fH) -
trunk/MagicSoft/Mars/mhbase/MFillH.h
r7094 r7804 45 45 void Init(const char *name, const char *title); 46 46 47 void StreamPrimitive(o fstream &out) const;47 void StreamPrimitive(ostream &out) const; 48 48 49 49 Bool_t DrawToDisplay(); -
trunk/MagicSoft/Mars/mhbase/MH3.cc
r7731 r7804 630 630 // gui elements to a macro-file. 631 631 // 632 void MH3::StreamPrimitive(o fstream &out) const632 void MH3::StreamPrimitive(ostream &out) const 633 633 { 634 634 TString name = GetUniqueName(); -
trunk/MagicSoft/Mars/mhbase/MH3.h
r7094 r7804 26 26 Double_t fScale[3]; // Scale for the three axis (eg unit) 27 27 28 void StreamPrimitive(o fstream &out) const;28 void StreamPrimitive(ostream &out) const; 29 29 30 30 enum { -
trunk/MagicSoft/Mars/mhbase/MHMatrix.cc
r7749 r7804 586 586 // gui elements to a macro-file. 587 587 // 588 void MHMatrix::StreamPrimitive(o fstream &out) const588 void MHMatrix::StreamPrimitive(ostream &out) const 589 589 { 590 590 Bool_t data = fData && !TestBit(kIsOwner); -
trunk/MagicSoft/Mars/mhbase/MHMatrix.h
r7749 r7804 61 61 void GetRandomArrayI(TArrayI &ind) const; 62 62 63 void StreamPrimitive(o fstream &out) const;63 void StreamPrimitive(ostream &out) const; 64 64 65 65 public: -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationCam.cc
r7384 r7804 396 396 397 397 if (fHiGainArray) 398 { fHiGainArray-> ForEach(MHCalibrationPix,Reset)(); }398 { fHiGainArray->R__FOR_EACH(MHCalibrationPix,Reset)(); } 399 399 400 400 if (IsAverageing()) 401 401 { 402 402 if (fAverageHiGainAreas) 403 { fAverageHiGainAreas-> ForEach(MHCalibrationPix,Reset)(); }403 { fAverageHiGainAreas->R__FOR_EACH(MHCalibrationPix,Reset)(); } 404 404 if (fAverageHiGainSectors) 405 { fAverageHiGainSectors-> ForEach(MHCalibrationPix,Reset)(); }405 { fAverageHiGainSectors->R__FOR_EACH(MHCalibrationPix,Reset)(); } 406 406 } 407 407 … … 410 410 411 411 if (fLoGainArray) 412 { fLoGainArray-> ForEach(MHCalibrationPix,Reset)(); }412 { fLoGainArray->R__FOR_EACH(MHCalibrationPix,Reset)(); } 413 413 if (IsAverageing()) 414 414 { 415 415 if (fAverageLoGainAreas) 416 { fAverageLoGainAreas-> ForEach(MHCalibrationPix,Reset)(); }416 { fAverageLoGainAreas->R__FOR_EACH(MHCalibrationPix,Reset)(); } 417 417 if (fAverageLoGainSectors) 418 { fAverageLoGainSectors-> ForEach(MHCalibrationPix,Reset)(); }418 { fAverageLoGainSectors->R__FOR_EACH(MHCalibrationPix,Reset)(); } 419 419 } 420 420 } -
trunk/MagicSoft/Mars/mimage/MHillasCalc.cc
r7177 r7804 418 418 // gui elements to a macro-file. 419 419 // 420 void MHillasCalc::StreamPrimitive(o fstream &out) const420 void MHillasCalc::StreamPrimitive(ostream &out) const 421 421 { 422 422 out << " MHillasCalc " << GetUniqueName() << "("; -
trunk/MagicSoft/Mars/mimage/MHillasCalc.h
r6910 r7804 68 68 69 69 // MParContainer 70 void StreamPrimitive(ofstream &out) const; 70 void StreamPrimitive(ostream &out) const; 71 71 72 Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print); 72 73 -
trunk/MagicSoft/Mars/mimage/MImgCleanStd.cc
r7611 r7804 808 808 // gui elements to a macro-file. 809 809 // 810 void MImgCleanStd::StreamPrimitive(o fstream &out) const810 void MImgCleanStd::StreamPrimitive(ostream &out) const 811 811 { 812 812 out << " MImgCleanStd " << GetUniqueName() << "("; -
trunk/MagicSoft/Mars/mimage/MImgCleanStd.h
r7611 r7804 58 58 // MGTask, MTask, MParContainer 59 59 void CreateGuiElements(MGGroupFrame *f); 60 void StreamPrimitive(ofstream &out) const;61 60 Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print); 61 62 void StreamPrimitive(ostream &out) const; 62 63 63 64 Int_t PreProcess(MParList *pList); -
trunk/MagicSoft/Mars/mimage/MImgCleanTGB.cc
r2781 r7804 432 432 // gui elements to a macro-file. 433 433 // 434 void MImgCleanTGB::StreamPrimitive(o fstream &out) const434 void MImgCleanTGB::StreamPrimitive(ostream &out) const 435 435 { 436 436 out << " MImgCleanTGB " << GetUniqueName() << "("; -
trunk/MagicSoft/Mars/mimage/MImgCleanTGB.h
r2781 r7804 38 38 39 39 void CreateGuiElements(MGGroupFrame *f); 40 void StreamPrimitive(o fstream &out) const;40 void StreamPrimitive(ostream &out) const; 41 41 42 42 Int_t CleanStep3b(MCerPhotPix &pix); -
trunk/MagicSoft/Mars/mmain/MMonteCarlo.cc
r2497 r7804 462 462 // Now you can display the results 463 463 // 464 hists. ForEach(TObject, DrawClone)();464 hists.R__FOR_EACH(TObject, DrawClone)(); 465 465 } 466 466 -
trunk/MagicSoft/Mars/mpedestal/MPedPhotCam.cc
r7349 r7804 17 17 ! 18 18 ! Author(s): Thomas Bretz, 12/2003 <mailto:tbretz@astro.uni-wuerzburg.de> 19 ! 19 ! Author(s): Hendrik Bartko, 07/2003 <mailto:hbartko@mppmu.mpg.de> 20 20 ! 21 21 ! Copyright: MAGIC Software Development, 2000-2004 … … 244 244 void MPedPhotCam::Clear(Option_t *o) 245 245 { 246 { fArray-> ForEach(TObject, Clear)(); }247 { fAreas-> ForEach(TObject, Clear)(); }248 { fSectors-> ForEach(TObject, Clear)(); }246 { fArray->R__FOR_EACH(TObject, Clear)(); } 247 { fAreas->R__FOR_EACH(TObject, Clear)(); } 248 { fSectors->R__FOR_EACH(TObject, Clear)(); } 249 249 } 250 250 -
trunk/MagicSoft/Mars/mpedestal/MPedestalCam.cc
r7188 r7804 16 16 ! 17 17 ! 18 ! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@ uni-sw.gwdg.de>19 ! 20 ! 18 ! Author(s): Thomas Bretz 12/2000 <mailto:tbretz@astro.uni-wuerzburg.de> 19 ! Author(s): Markus Gaug 02/2004 <mailto:markus@ifae.es> 20 ! Author(s): Florian Goebel 06/2004 <mailto:fgoebel@mppmu.mpg.de> 21 21 ! 22 22 ! Copyright: MAGIC Software Development, 2000-2004 … … 269 269 void MPedestalCam::Clear(Option_t *o) 270 270 { 271 { fArray-> ForEach(TObject, Clear)(); }272 { fAverageAreas-> ForEach(TObject, Clear)(); }273 { fAverageSectors-> ForEach(TObject, Clear)(); }271 { fArray->R__FOR_EACH(TObject, Clear)(); } 272 { fAverageAreas->R__FOR_EACH(TObject, Clear)(); } 273 { fAverageSectors->R__FOR_EACH(TObject, Clear)(); } 274 274 275 275 fTotalEntries = 0; -
trunk/MagicSoft/Mars/mpointing/MSrcPosCam.cc
r7142 r7804 136 136 // gui elements to a macro-file. 137 137 // 138 void MSrcPosCam::StreamPrimitive(o fstream &out) const138 void MSrcPosCam::StreamPrimitive(ostream &out) const 139 139 { 140 140 out << " MSrcPosCam " << GetUniqueName(); … … 148 148 out << ";" << endl; 149 149 150 out << " " << GetUniqueName() << ".SetXY(" << fX << ", " << fY << ");" << endl;} 150 out << " " << GetUniqueName() << ".SetXY(" << fX << ", " << fY << ");" << endl; 151 } -
trunk/MagicSoft/Mars/mpointing/MSrcPosCam.h
r7142 r7804 31 31 TVector2 GetXY() const; 32 32 33 void Print(Option_t *opt=NULL) const; 33 34 34 void Print(Option_t *opt=NULL) const; 35 void StreamPrimitive(ofstream &out) const; 35 void StreamPrimitive(ostream &out) const; 36 36 37 37 //void AsciiRead(ifstream &fin); -
trunk/MagicSoft/Mars/mranforest/MRanTree.cc
r7730 r7804 34 34 #include <iostream> 35 35 36 #include <TVector.h>37 #include <TMatrix.h>38 36 #include <TRandom.h> 39 37 … … 691 689 } 692 690 693 Double_t MRanTree::TreeHad(const TMatrix Row&event)691 Double_t MRanTree::TreeHad(const TMatrixFRow_const &event) 694 692 { 695 693 return TreeHad(event.GetPtr()); -
trunk/MagicSoft/Mars/mranforest/MRanTree.h
r7697 r7804 14 14 #endif 15 15 16 class TMatrix; 16 #ifndef ROOT_TVector 17 #include <TVector.h> 18 #endif 19 20 #ifndef ROOT_TMatrix 21 #include <TMatrix.h> 22 #endif 23 17 24 class TMatrixRow; 18 class TVector;19 25 class TRandom; 20 26 … … 103 109 104 110 Double_t TreeHad(const TVector &event); 105 Double_t TreeHad(const TMatrix Row&event);111 Double_t TreeHad(const TMatrixFRow_const &event); 106 112 Double_t TreeHad(const TMatrix &m, Int_t ievt); 107 113 -
trunk/MagicSoft/Mars/mreport/MReportFileRead.cc
r7639 r7804 154 154 return kFALSE; 155 155 156 fList-> ForEach(MReportHelp, AddToList)(*pList);156 fList->R__FOR_EACH(MReportHelp, AddToList)(*pList); 157 157 158 158 // -
trunk/MagicSoft/Mars/msignal/MArrivalTimeCam.cc
r7803 r7804 72 72 void MArrivalTimeCam::SetLogStream(MLog *lg) 73 73 { 74 fArray-> ForEach(MParContainer, SetLogStream)(lg);74 fArray->R__FOR_EACH(MParContainer, SetLogStream)(lg); 75 75 MParContainer::SetLogStream(lg); 76 76 } … … 114 114 void MArrivalTimeCam::Clear(Option_t *o) 115 115 { 116 fArray-> ForEach(TObject, Clear)();116 fArray->R__FOR_EACH(TObject, Clear)(); 117 117 } 118 118 -
trunk/MagicSoft/Mars/msignal/MExtractFixedWindow.cc
r7126 r7804 290 290 // gui elements to a macro-file. 291 291 // 292 void MExtractFixedWindow::StreamPrimitive(o fstream &out) const292 void MExtractFixedWindow::StreamPrimitive(ostream &out) const 293 293 { 294 294 -
trunk/MagicSoft/Mars/msignal/MExtractFixedWindow.h
r4896 r7804 24 24 void FindSignalHiGain(Byte_t *ptr, Byte_t *logain, Float_t &sum, Byte_t &sat) const; 25 25 void FindSignalLoGain(Byte_t *ptr, Float_t &sum, Byte_t &sat) const; 26 void StreamPrimitive(ofstream &out) const; 27 26 27 void StreamPrimitive(ostream &out) const; 28 28 29 Bool_t ReInit(MParList *pList); 29 30 -
trunk/MagicSoft/Mars/msignal/MExtractSignal.cc
r3764 r7804 194 194 // gui elements to a macro-file. 195 195 // 196 void MExtractSignal::StreamPrimitive(o fstream &out) const196 void MExtractSignal::StreamPrimitive(ostream &out) const 197 197 { 198 198 out << " " << ClassName() << " " << GetUniqueName() << "(\""; -
trunk/MagicSoft/Mars/msignal/MExtractSignal.h
r3306 r7804 49 49 Int_t PreProcess(MParList *pList); 50 50 Int_t Process(); 51 void StreamPrimitive(ofstream &out) const; 51 52 void StreamPrimitive(ostream &out) const; 52 53 53 54 public: -
trunk/MagicSoft/Mars/msignal/MExtractSignalABcorr.cc
r4404 r7804 214 214 // gui elements to a macro-file. 215 215 // 216 void MExtractSignalABcorr::StreamPrimitive(o fstream &out) const216 void MExtractSignalABcorr::StreamPrimitive(ostream &out) const 217 217 { 218 218 out << " " << ClassName() << " " << GetUniqueName() << "(\""; -
trunk/MagicSoft/Mars/msignal/MExtractSignalABcorr.h
r4404 r7804 49 49 Int_t PreProcess(MParList *pList); 50 50 Int_t Process(); 51 void StreamPrimitive(ofstream &out) const; 51 52 void StreamPrimitive(ostream &out) const; 52 53 53 54 public: -
trunk/MagicSoft/Mars/msignal/MExtractedSignalCam.cc
r5740 r7804 74 74 void MExtractedSignalCam::SetLogStream(MLog *lg) 75 75 { 76 fArray-> ForEach(MParContainer, SetLogStream)(lg);76 fArray->R__FOR_EACH(MParContainer, SetLogStream)(lg); 77 77 MParContainer::SetLogStream(lg); 78 78 } … … 116 116 Float_t MExtractedSignalCam::GetProb( const Int_t pixidx ) const 117 117 { 118 119 118 if (pixidx > GetSize()-1) 120 119 return -1.; … … 125 124 void MExtractedSignalCam::Clear(Option_t *o) 126 125 { 127 fArray-> ForEach(TObject, Clear)();126 fArray->R__FOR_EACH(TObject, Clear)(); 128 127 } 129 128 -
trunk/MagicSoft/Mars/msignal/MExtractor.cc
r7122 r7804 341 341 // gui elements to a macro-file. 342 342 // 343 void MExtractor::StreamPrimitive(o fstream &out) const343 void MExtractor::StreamPrimitive(ostream &out) const 344 344 { 345 345 out << " " << ClassName() << " " << GetUniqueName() << "(\""; -
trunk/MagicSoft/Mars/msignal/MExtractor.h
r7091 r7804 74 74 Bool_t ReInit ( MParList *pList ); 75 75 Int_t Process (); 76 void StreamPrimitive(o fstream &out) const;76 void StreamPrimitive(ostream &out) const; 77 77 Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print); 78 78 -
trunk/MagicSoft/Mars/msignal/MSignalCam.cc
r7364 r7804 104 104 fNumPixelsSaturatedLoGain = -1; 105 105 106 fPixels-> ForEach(TObject, Clear)();106 fPixels->R__FOR_EACH(TObject, Clear)(); 107 107 } 108 108 /* -
trunk/MagicSoft/Mars/msignal/Makefile
r7099 r7804 39 39 MExtractFixedWindowSpline.cc \ 40 40 MExtractAmplitudeSpline.cc \ 41 MExtractSignal.cc \42 MExtractSignal2.cc \43 MExtractSignal3.cc \44 MExtractSignalABcorr.cc \45 41 MExtractPINDiode.cc \ 46 42 MExtractBlindPixel.cc \ … … 60 56 MArrivalTimePix.cc 61 57 58 # MExtractSignal.cc \ 59 # MExtractSignal2.cc \ 60 # MExtractSignal3.cc \ 61 # MExtractSignalABcorr.cc \ 62 62 63 ############################################################ 63 64 -
trunk/MagicSoft/Mars/msignal/SignalLinkDef.h
r6856 r7804 10 10 #pragma link C++ class MExtractedSignalBlindPixel+; 11 11 12 #pragma link C++ class MExtractSignal+;13 #pragma link C++ class MExtractSignal2+;14 #pragma link C++ class MExtractSignal3+;15 #pragma link C++ class MExtractSignalABcorr+;12 //#pragma link C++ class MExtractSignal+; 13 //#pragma link C++ class MExtractSignal2+; 14 //#pragma link C++ class MExtractSignal3+; 15 //#pragma link C++ class MExtractSignalABcorr+; 16 16 17 17 #pragma link C++ class MExtractor+; -
trunk/MagicSoft/Mars/mtools/MChisqEval.cc
r7152 r7804 154 154 } 155 155 156 void MChisqEval::StreamPrimitive(o fstream &out) const156 void MChisqEval::StreamPrimitive(ostream &out) const 157 157 { 158 158 out << " MChisqEval " << GetUniqueName() << ";"; -
trunk/MagicSoft/Mars/mtools/MChisqEval.h
r7152 r7804 23 23 TString fNameResult; 24 24 25 void StreamPrimitive(o fstream &out) const;25 void StreamPrimitive(ostream &out) const; 26 26 27 27 enum { kIsOwner = BIT(14) };
Note:
See TracChangeset
for help on using the changeset viewer.