FACT++  1.0
EVT_CTRL2::operator RUN_HEAD ( ) const
inline

Definition at line 165 of file EventBuilder.h.

References RUN_HEAD::FADhead, NBOARDS, RUN_HEAD::Nroi, RUN_HEAD::NroiTM, RUN_HEAD::RunTime, and RUN_HEAD::RunUsec.

166  {
167  RUN_HEAD rh;
168 
169  rh.Nroi = nRoi;
170  rh.NroiTM = nRoiTM;
171  rh.RunTime = time.tv_sec;
172  rh.RunUsec = time.tv_usec;
173 
174  memcpy(rh.FADhead, FADhead, NBOARDS*sizeof(PEVNT_HEADER));
175 
176  return rh;
177  }
uint32_t RunTime
Definition: FAD.h:96
PEVNT_HEADER * FADhead
Definition: EventBuilder.h:131
uint16_t NroiTM
Definition: FAD.h:102
uint16_t nRoi
Definition: EventBuilder.h:126
uint16_t nRoiTM
Definition: EventBuilder.h:127
Definition: FAD.h:92
uint16_t Nroi
Definition: FAD.h:101
#define NBOARDS
Definition: BasicGlCamera.h:4
timeval time
Definition: EventBuilder.h:129
uint32_t RunUsec
Definition: FAD.h:97
PEVNT_HEADER FADhead[NBOARDS]
Definition: FAD.h:105