• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

beamtime/gsi-aug12/get4v10/go4/VFTX/TVftxEvent.h (r4864/r3846)

Go to the documentation of this file.
00001 #ifndef TVFTXEVENT_H
00002 #define TVFTXEVENT_H
00003 
00004 #include "TGo4EventElement.h"
00005 
00006 /*
00007  * Put all definitions here and use them in processor,
00008  * since they are necessary for data structure of event
00009  */
00010 #include "MBSUNPACK/TMbsCrateEvent.h"
00011 
00012 #define NB_BIN_FTS      1024
00013 #define CLOCK_TIME      5000 //ps
00014 
00015 class TVftxBoardData : public TObject {
00016    public:
00017       enum { MaxMult = 8 };
00018       
00019       Int_t    iTriggerTime;
00020       Int_t    iMultiplicity[FPGA_TDC_NBCHAN]; // how many hits par channel
00021       Int_t    iFineTime[FPGA_TDC_NBCHAN][MaxMult];
00022       Int_t    iCoarseTime[FPGA_TDC_NBCHAN][MaxMult];
00023       UInt_t   uFutureBit[FPGA_TDC_NBCHAN][MaxMult];
00024       Double_t dTimeCorr[FPGA_TDC_NBCHAN][MaxMult];    
00025       Double_t dFineTimeCorr[FPGA_TDC_NBCHAN][MaxMult]; 
00026       
00027       TVftxBoardData() : TObject() { Clear(); }
00028       void Clear();
00029 };
00030 
00031 class TVftxEvent : public TGo4EventElement {
00032    public:      
00033    
00034 
00035       TVftxEvent();
00036       TVftxEvent(const char* name, Short_t id=0);
00037       virtual ~TVftxEvent();
00038 
00040       virtual void Clear(Option_t *t="");
00041       TVftxBoardData fVftxBoards[MAX_FPGA_TDC];
00042    ClassDef(TVftxEvent,1)
00043 };
00044 #endif //TVFTXEVENT_H
00045 
00046 
00047 

Generated on Tue Dec 10 2013 04:52:21 for ROCsoft by  doxygen 1.7.1