- Timestamp:
- 06/28/16 14:29:15 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Corsika7500Compatibility/mcorsika/MCorsikaRead.cc
r18455 r18526 561 561 fRunHeader->GetWavelengthMax()); 562 562 } 563 else 563 else if (fBlockVersion == 1000 && (fTelescopeIdx < 0 || fTelescopeIdx == telIdx) ) 564 { 565 status = fEvent->ReadEventIoEvtCompact(fInFormat); 566 567 Int_t arrayIdx = fBlockIdentifier / 1000; 568 Float_t xArrOff, yArrOff; 569 fEvtHeader->GetArrayOffset(arrayIdx, xArrOff, yArrOff); 570 fEvtHeader->SetTelescopeOffset(arrayIdx, 571 xArrOff + fTelescopeY[telIdx], 572 yArrOff - fTelescopeX[telIdx] ); 573 fEvent->AddXY(xArrOff + fTelescopeY[telIdx], 574 yArrOff - fTelescopeX[telIdx]); 575 fEvent->SimWavelength(fRunHeader->GetWavelengthMin(), 576 fRunHeader->GetWavelengthMax()); 577 } 578 else 564 579 // skip this telescope 565 580 fInFormat->Seek(fBlockLength);
Note:
See TracChangeset
for help on using the changeset viewer.