- Timestamp:
- 06/28/16 14:29:15 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Corsika7500Compatibility/mcorsika/MCorsikaFormat.cc
r18455 r18526 69 69 else if(strcmp(&buffer[4], "RUNH") == 0) 70 70 { 71 fileIn->seekg(4, ios::cur); 72 delete[] buffer; 73 return new MCorsikaFormatRaw(fileIn, true); 71 //std::cout << "\n||||\tIgnore first 4 bytes" << std::endl; 72 fileIn->seekg(4, ios::cur); 73 delete[] buffer; 74 return new MCorsikaFormatRaw(fileIn, true); 74 75 } 75 76 … … 129 130 blockIdentifier = 0; 130 131 blockLength = 272 * 4; 131 132 //std::cout << "||||||||||||||| Raw Blockheader: " << blockHeader << std::endl; 132 133 switch(blockHeader) 133 134 { … … 166 167 { 167 168 if(fFortranRaw) 168 fIn->seekg(-i*273*4-4, ios::end); 169 { 170 fIn->seekg(-i*273*4-4, ios::end); 171 } 169 172 else 173 { 170 174 fIn->seekg(-i*273*4, ios::end); 175 } 171 176 172 177 char runh[5]="\0\0\0\0";
Note:
See TracChangeset
for help on using the changeset viewer.