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

beamtime/cosy-nov11/go4/ROSSENDORF/TRossendorfEvent.h (r4864/r2362)

Go to the documentation of this file.
00001 #ifndef TROSSENDORFEVENT_H
00002 #define TROSSENDORFEVENT_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 "TMbsCrateEvent.h"
00011 
00012 #define MAX_ROSSENDORF_TDC 3
00013 #define MAX_ROSSENDORF_QDC 3
00014 
00015 class RTDC_t : public TObject {
00016         public:
00017                  enum { NumChan = 16 };
00018 
00019    Int_t time[NumChan];
00020 
00021    RTDC_t(void) : TObject() { Clear(); }
00022 
00023    void Clear();
00024   
00025          ClassDef(RTDC_t, 1)
00026 };
00027 
00028 class RQDC_t : public TObject {
00029         public:
00030                  enum { NumChan = 16 };
00031 
00032    Int_t charge[NumChan];
00033 
00034    RQDC_t(void) : TObject() { Clear(); };
00035 
00036    void Clear();
00037   
00038          ClassDef(RQDC_t, 1)
00039 };
00040 
00041 class TRossendorfEvent : public TGo4EventElement {
00042    public:      
00043    
00044 
00045       TRossendorfEvent();
00046       TRossendorfEvent(const char* name, Short_t id=0);
00047       virtual ~TRossendorfEvent();
00048 
00050       virtual void Clear(Option_t *t="");
00051    
00052                         RTDC_t fTdc[MAX_ROSSENDORF_TDC];
00053                         RQDC_t fQdc[MAX_ROSSENDORF_QDC];
00054 
00055    ClassDef(TRossendorfEvent,1)
00056 };
00057 #endif //TROSSENDORFEVENT_H
00058 
00059 
00060 

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