Changeset 2206 for trunk/MagicSoft/Mars/mfileio
- Timestamp:
- 06/23/03 11:01:53 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mfileio
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mfileio/MCT1ReadAscii.cc
r2173 r2206 156 156 // Initialize the size of the MPedestalCam container to 127 pixels (CT1 camera) 157 157 // 158 Bool_t MCT1ReadAscii::PreProcess(MParList *pList)158 Int_t MCT1ReadAscii::PreProcess(MParList *pList) 159 159 { 160 160 // … … 264 264 // there is now next file stop the eventloop. 265 265 // 266 Bool_t MCT1ReadAscii::Process()266 Int_t MCT1ReadAscii::Process() 267 267 { 268 268 // -
trunk/MagicSoft/Mars/mfileio/MCT1ReadAscii.h
r1880 r2206 23 23 void ReadData(); 24 24 25 Int_t PreProcess(MParList *pList); 26 Int_t Process(); 27 25 28 public: 26 29 MCT1ReadAscii(const char *filename=NULL, … … 32 35 Int_t AddFile(const char *fname, Int_t dummy=-1); 33 36 34 Bool_t PreProcess(MParList *pList);35 Bool_t Process();36 37 37 ClassDef(MCT1ReadAscii, 0) // Reads the CT1 data file 38 38 }; -
trunk/MagicSoft/Mars/mfileio/MCT1ReadPreProc.cc
r2173 r2206 730 730 // Initialize the size of the MPedestalCam container to 127 pixels (CT1 camera) 731 731 // 732 Bool_t MCT1ReadPreProc::PreProcess(MParList *pList)732 Int_t MCT1ReadPreProc::PreProcess(MParList *pList) 733 733 { 734 734 fParList = pList; … … 1091 1091 // there is now next file stop the eventloop. 1092 1092 // 1093 Bool_t MCT1ReadPreProc::Process()1093 Int_t MCT1ReadPreProc::Process() 1094 1094 { 1095 1095 // … … 1152 1152 } 1153 1153 1154 Bool_t MCT1ReadPreProc::PostProcess()1154 Int_t MCT1ReadPreProc::PostProcess() 1155 1155 { 1156 1156 *fLog << all; -
trunk/MagicSoft/Mars/mfileio/MCT1ReadPreProc.h
r2152 r2206 79 79 Double_t DiscreteTheta(Double_t theta); 80 80 81 Bool_t PreProcess(MParList *pList);82 Bool_t Process();83 Bool_t PostProcess();81 Int_t PreProcess(MParList *pList); 82 Int_t Process(); 83 Int_t PostProcess(); 84 84 85 85 Bool_t Rewind(); -
trunk/MagicSoft/Mars/mfileio/MReadCurrents.cc
r2173 r2206 151 151 // Initialize the size of the MPedestalCam container to 127 pixels (CT1 camera) 152 152 // 153 Bool_t MReadCurrents::PreProcess(MParList *pList)153 Int_t MReadCurrents::PreProcess(MParList *pList) 154 154 { 155 155 // … … 190 190 // there is now next file stop the eventloop. 191 191 // 192 Bool_t MReadCurrents::Process()192 Int_t MReadCurrents::Process() 193 193 { 194 194 // -
trunk/MagicSoft/Mars/mfileio/MReadCurrents.h
r2148 r2206 29 29 Int_t AddFile(const char *fname, Int_t dummy=-1); 30 30 31 Bool_t PreProcess(MParList *pList);32 Bool_t Process();31 Int_t PreProcess(MParList *pList); 32 Int_t Process(); 33 33 34 34 ClassDef(MReadCurrents, 0) // Reads a Central Control currents file -
trunk/MagicSoft/Mars/mfileio/MReadMarsFile.cc
r2173 r2206 199 199 // see MReadTree::PreProcess for more information 200 200 // 201 Bool_t MReadMarsFile::PreProcess(MParList *pList)201 Int_t MReadMarsFile::PreProcess(MParList *pList) 202 202 { 203 203 fParList = pList; -
trunk/MagicSoft/Mars/mfileio/MReadMarsFile.h
r2117 r2206 17 17 Bool_t Notify(); 18 18 19 Bool_t PreProcess(MParList *pList);19 Int_t PreProcess(MParList *pList); 20 20 21 21 public: -
trunk/MagicSoft/Mars/mfileio/MReadRflFile.cc
r2173 r2206 42 42 #include "MRflEvtHeader.h" 43 43 #include "MRflRunHeader.h" 44 #include "MRflSinglePhoton.h" 44 45 45 46 #include "MLog.h" … … 219 220 } 220 221 221 Bool_t MReadRflFile::Process()222 Int_t MReadRflFile::Process() 222 223 { 223 224 for (;;) … … 248 249 } 249 250 250 Bool_t MReadRflFile::PreProcess(MParList *plist)251 Int_t MReadRflFile::PreProcess(MParList *plist) 251 252 { 252 253 fEvtData=(MRflEvtData*)plist->FindCreateObj("MRflEvtData"); -
trunk/MagicSoft/Mars/mfileio/MReadRflFile.h
r2136 r2206 38 38 Bool_t OpenNextFile(); 39 39 40 Bool_t PreProcess(MParList *pList);41 Bool_t Process();40 Int_t PreProcess(MParList *pList); 41 Int_t Process(); 42 42 43 43 public: -
trunk/MagicSoft/Mars/mfileio/MReadTree.cc
r2173 r2206 572 572 // MReadTree::PreProcess 573 573 // 574 Bool_t MReadTree::PreProcess(MParList *pList)574 Int_t MReadTree::PreProcess(MParList *pList) 575 575 { 576 576 // … … 755 755 #include "MRawEvtData.h" 756 756 #endif 757 Bool_t MReadTree::Process()757 Int_t MReadTree::Process() 758 758 { 759 759 // … … 816 816 // If a selector is given the selector is post processed 817 817 // 818 Bool_t MReadTree::PostProcess()818 Int_t MReadTree::PostProcess() 819 819 { 820 820 return GetSelector() ? GetSelector()->CallPostProcess() : kTRUE; -
trunk/MagicSoft/Mars/mfileio/MReadTree.h
r2123 r2206 68 68 virtual Int_t AddFiles(const MReadTree &read); 69 69 70 Bool_t PreProcess(MParList *pList);71 Bool_t Process();72 Bool_t PostProcess();70 Int_t PreProcess(MParList *pList); 71 Int_t Process(); 72 Int_t PostProcess(); 73 73 74 74 Bool_t Notify(); -
trunk/MagicSoft/Mars/mfileio/MWriteFile.cc
r2173 r2206 57 57 // to the output file. 58 58 // 59 Bool_t MWriteFile::PreProcess(MParList *pList)59 Int_t MWriteFile::PreProcess(MParList *pList) 60 60 { 61 61 // … … 89 89 // the container should be written to the output. 90 90 // 91 Bool_t MWriteFile::Process()91 Int_t MWriteFile::Process() 92 92 { 93 93 CheckAndWrite(); 94 95 94 return kTRUE; 96 95 } … … 101 100 // the container should be written to the output. 102 101 // 103 Bool_t MWriteFile::PostProcess()102 Int_t MWriteFile::PostProcess() 104 103 { 105 104 // … … 107 106 // 108 107 CheckAndWrite(); 109 110 108 return kTRUE; 111 109 } -
trunk/MagicSoft/Mars/mfileio/MWriteFile.h
r1381 r2206 9 9 { 10 10 private: 11 Bool_t PreProcess(MParList *pList);12 Bool_t Process();13 Bool_t PostProcess();11 Int_t PreProcess(MParList *pList); 12 Int_t Process(); 13 Int_t PostProcess(); 14 14 15 15 virtual Bool_t IsFileOpen() const = 0;
Note:
See TracChangeset
for help on using the changeset viewer.