Go to the documentation of this file.00001 #ifndef TVFTXEVENT_H
00002 #define TVFTXEVENT_H
00003
00004 #include "TGo4EventElement.h"
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036 #include "TVftxBoardData.h"
00037
00038 class TVftxEvent : public TGo4EventElement {
00039 public:
00040
00041
00042 TVftxEvent();
00043 TVftxEvent(const char* name, Short_t id=0);
00044 virtual ~TVftxEvent();
00045
00047 virtual void Clear(Option_t *t="");
00048 TVftxBoardData fVftxBoards[MAX_FPGA_TDC];
00049
00050 Bool_t IsHitThere( UInt_t uBoard, UInt_t uChan, Int_t iMult ){
00051 return fVftxBoards[uBoard].IsHitThere( uChan, iMult); };
00052 Double_t GetCoarseCorrectedTime( UInt_t uBoard, UInt_t uChan, UInt_t uMult);
00053 Double_t GetCalibratedTime( UInt_t uBoard, UInt_t uChan, UInt_t uMult, UInt_t uCoarseCorrected = 0);
00054
00055 ClassDef(TVftxEvent,1)
00056 };
00057 #endif //TVFTXEVENT_H
00058
00059
00060