Ignore:
Timestamp:
07/21/11 12:11:30 (13 years ago)
Author:
tbretz
Message:
Updated to latest version of event builder.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/FAD.h

    r11343 r11511  
    120120
    121121  uint32_t SoftTrig ;       // SoftTrigger Info (TBD)
    122   uint32_t PCTime ;         // when did event start to arrive at PC
     122  uint32_t PCTime ;         // epoch
     123  uint32_t PCUsec ;         // micro-seconds
    123124
    124125  uint32_t BoardTime[NBOARDS];//
     
    142143  uint32_t Version ;
    143144  uint32_t RunType ;
     145  uint32_t RunTime ;  //unix epoch for first event
     146  uint32_t RunUsec ;  //microseconds
    144147  uint16_t NBoard  ;
    145148  uint16_t NPix ;
     
    173176//---------------------------------------------------------------
    174177
    175 #define MAX_RUN   256
     178#define MAX_RUN     8
    176179#define MAX_EVT   32768  //don't worry, for events is MAX_RUN*MAX_EVT
    177180
     
    180183typedef struct {
    181184  uint32_t runId ;       //run number
     185  uint32_t firstTime ;   //epoch of first event received
     186  uint32_t firstUsec ;   //epoch of first event received
    182187  uint32_t lastTime ;    //time when last event written so far
    183188  uint32_t closeTime ;   //time when run should be closed
    184189  uint32_t maxEvt ;      //maximum number of events to write
    185190  uint32_t actEvt ;      //actual number of events written so far
    186   uint32_t lastEvt ;     //last event of this run read so far
     191   int32_t lastEvt ;     //last event of this run read so far
    187192  uint32_t nextEvt ;     //next event number to be written
    188193  uint32_t waitEvt ;     //event that would be ready to be written
Note: See TracChangeset for help on using the changeset viewer.