Changeset 11582
- Timestamp:
- 07/25/11 12:18:52 (13 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 2 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 -
trunk/FACT++/src/FAD.h
r11546 r11582 115 115 116 116 typedef struct { 117 uint16_t Roi ; // #slices per pixel (same for all pixels and tmarks) 117 uint16_t Roi ; // #slices per pixel (same for all pixels) 118 uint16_t RoiTM ; // #slices per pixel (same for all tmarks) [ 0 or Roi ] 118 119 uint32_t EventNum ; // EventNumber as from FTM 119 120 uint16_t TriggerType ; // Trigger Type from FTM
Note:
See TracChangeset
for help on using the changeset viewer.