+ inline const UInt_t* GetData() const { return fData; }
+
+ inline void SetData(UInt_t *data)
+ {
+ fData = data;
+ }
+
+ inline Int_t GetBunchSize() const { return fBunchSize; }
+ inline void SetBunchSize(Int_t size)
+ {
+ fPrevBunchSize = fBunchSize; fBunchSize = size;
+ }
+
+ inline int CheckConsistency()
+ {
+ if( fPrevEndTimeBin <= fEndTimeBin + fPrevBunchSize )
+ {
+ // printf("%s:%d, ERROR conistency check failed\n", __FILE__ , __LINE__ );
+ return DECODERERROR;
+ }
+ else
+ {
+ return kTRUE;
+ }
+ }