Changeset 2984 for trunk/MagicSoft/Mars/mfileio/MReadMarsFile.cc
- Timestamp:
- 01/30/04 14:55:59 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mfileio/MReadMarsFile.cc
r2607 r2984 124 124 Bool_t MReadMarsFile::Notify() 125 125 { 126 Int_t runtype = -1;126 UInt_t runtype = 0xffff; 127 127 128 128 const MRawRunHeader *rawheader = (MRawRunHeader*)fParList->FindObject("MRawRunHeader"); … … 145 145 if (!MReadTree::Notify()) 146 146 return kFALSE; 147 148 if (rawheader && runtype!=0xffff && runtype != rawheader->GetRunType()) 149 { 150 *fLog << warn << "Warning - You are mixing files with different run types ("; 151 *fLog << runtype << ", " << rawheader->GetRunType() << ")" << endl; 152 } 147 153 148 154 if (fDisplay) … … 152 158 txt += GetNumEntry()-1; 153 159 fDisplay->SetStatusLine2(txt); 154 }155 156 if (rawheader)157 {158 if (runtype != rawheader->GetRunType())159 *fLog << warn << "Warning - You are mixing files with different run types!" << endl;160 160 } 161 161 … … 209 209 } 210 210 211 /* 211 212 const Int_t idx = GetFileIndex(); 212 213 fRun->SetEventNum(idx<0?0:idx); // Assumption: One Entry per File! … … 216 217 return kFALSE; 217 218 } 218 219 */ 219 220 return MReadTree::PreProcess(pList); 220 221 }
Note:
See TracChangeset
for help on using the changeset viewer.