8 #ifndef MVD_MVDTESTBEAM_PASTATB_PNDMVDPASTADIGIFULL_H_
9 #define MVD_MVDTESTBEAM_PASTATB_PNDMVDPASTADIGIFULL_H_
47 out <<
"t_coarse: " << data.
t_coarse <<
" t_soc " << data.
t_soc <<
" t_eoc " << data.
t_eoc <<
108 out <<
"TimeBranch: " << digi.
fTimeBranch << std::endl;
ThresholdDataFullMode fTimeBranch
void SetTimeBranch(ThresholdDataFullMode time)
void SetEnergyBranch(ThresholdDataFullMode energy)
virtual ~PndMvdPastaDigi()
ClassDef(PndMvdPastaDigi, 1)
int fWrongFrameCount
count of all frames where the expected frame ID did not match the frameID in the header ...
int fWrongHitCount
count of all frames where the hits in the header do not match the data
int fSingleWordFrames
count of all frames with just one word. This is an error a frame has at least two words ...
PndMvdPastaDigi(FrameHeader header, ThresholdDataFullMode time, ThresholdDataFullMode energy)
friend std::ostream & operator<<(std::ostream &out, const PndMvdPastaDigi &digi)
void SetHeader(FrameHeader header)
int fAllPartialResets
count of all partial resets detected
int fMissingFrames
count of all missing frames (not very reliable)
int fCrcErrorCount
count of all frames with wrong CRC
std::vector< ULong64_t > fAllCountedFrames
counts all frames within a partial reset
ThresholdDataFullMode fEnergyBranch
ClassDef(ThresholdDataFullMode, 1)
ULong64_t CalcTimeStamp()
int fSuperFrameCount
count of frame counter overflow (should not happen because the frame counter is HUGE ...
friend std::ostream & operator<<(std::ostream &out, const ThresholdDataFullMode &data)
int GetChannelId(branchId id)
int fCrcMatchCount
count of all frames with correct CRC