Changeset 11582 for trunk/FACT++/src/EventBuilderWrapper.h
- Timestamp:
- 07/25/11 12:18:52 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/EventBuilderWrapper.h
r11565 r11582 1 #ifndef FACT_EventBuilderWrapper1 f#ifndef FACT_EventBuilderWrapper 2 2 #define FACT_EventBuilderWrapper 3 3 … … 407 407 } 408 408 409 int fRoiTM;410 411 409 // -------------------------------------------------------------------------- 412 410 // … … 480 478 fmt << ";S:" << h->NPix*h->Nroi + h->NTm*h->NroiTM; // int16_t Adc_Data[] 481 479 */ 482 fRoiTM = h->NroiTM;483 484 cout << "==> " << Converter::ToFormat(dataTypes) << endl;485 486 480 fConv = new Converter(Converter::ToFormat(dataTypes)); 487 481 … … 652 646 653 647 // FIXME: Get NPIX and NTMARK from header 654 const size_t sz = sizeof(EVENT) + sizeof(e->StartPix)*e->Roi+sizeof(e->StartTM)* fRoiTM;655 656 const vector<char> data = fConv->ToFits(reinterpret_cast<char*>(e)+ 2, sz-2);648 const size_t sz = sizeof(EVENT) + sizeof(e->StartPix)*e->Roi+sizeof(e->StartTM)*e->RoiTM; 649 650 const vector<char> data = fConv->ToFits(reinterpret_cast<char*>(e)+4, sz-4); 657 651 658 652 // column size pointer
Note:
See TracChangeset
for help on using the changeset viewer.