Changeset 609 for trunk/MagicSoft/Mars/mraw/MRawFileWrite.cc
- Timestamp:
- 02/22/01 14:30:10 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mraw/MRawFileWrite.cc
r532 r609 10 10 #include "MRawFileWrite.h" 11 11 12 #include <iostream.h>13 14 12 #include <TFile.h> 15 13 #include <TTree.h> 16 14 #include <TBranch.h> 17 15 16 #include "MLog.h" 18 17 #include "MParList.h" 19 18 #include "MRawRunHeader.h" … … 43 42 if (!fOut->IsOpen()) 44 43 { 45 cout<< "MRawFileWrite::MRawFileWrite: ERROR: Cannot open file '";46 cout<< fname << "'" << endl;44 *fLog << "MRawFileWrite::MRawFileWrite: ERROR: Cannot open file '"; 45 *fLog << fname << "'" << endl; 47 46 } 48 47 } … … 62 61 if (!fRawEvtHeader) 63 62 { 64 cout<< "MRawFileWrite::PreProcess - ERROR: MRawEvtHeader not found... aborting." << endl;63 *fLog << "MRawFileWrite::PreProcess - ERROR: MRawEvtHeader not found... aborting." << endl; 65 64 return kFALSE; 66 65 } … … 69 68 if (!fRawEvtData) 70 69 { 71 cout<< "MRawFileWrite::PreProcess - ERROR: MRawEvtData not found... aborting." << endl;70 *fLog << "MRawFileWrite::PreProcess - ERROR: MRawEvtData not found... aborting." << endl; 72 71 return kFALSE; 73 72 } … … 76 75 if (!fRawCrateArray) 77 76 { 78 cout<< "MRawFileWrite::PreProcess - ERROR: MRawCrateArray not found... aborting." << endl;77 *fLog << "MRawFileWrite::PreProcess - ERROR: MRawCrateArray not found... aborting." << endl; 79 78 return kFALSE; 80 79 } … … 83 82 if (!fRawEvtTime) 84 83 { 85 cout<< "MRawFileWrite::PreProcess - WARNING: MRawEvtTime not found... aborting." << endl;84 *fLog << "MRawFileWrite::PreProcess - WARNING: MRawEvtTime not found... aborting." << endl; 86 85 return kFALSE; 87 86 } … … 90 89 if (!fRawRunHeader) 91 90 { 92 cout<< "MRawFileWrite::PreProcess - ERROR: MRawRunHeader not found... aborting." << endl;91 *fLog << "MRawFileWrite::PreProcess - ERROR: MRawRunHeader not found... aborting." << endl; 93 92 return kFALSE; 94 93 }
Note:
See TracChangeset
for help on using the changeset viewer.