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

beamtime/gsi-aug12/hd/go4/ROSSENDORF/TRossendorfMapParam.h (r4864/r3172)

Go to the documentation of this file.
00001 #ifndef TROSSENDORFMAPPARAM_H
00002 #define TROSSENDORFMAPPARAM_H
00003 
00004 #include "TGo4Parameter.h"
00005 
00006 struct channelMap {
00007         Int_t tdc_left;
00008         Int_t tdc_right;
00009         Int_t ch_left;
00010         Int_t ch_right;
00011 };
00012 
00013 class TRossendorfMapParam : public TGo4Parameter {
00014         protected:
00015                 struct channelMap tdcMap[3][8];
00016                 struct channelMap qdcMap[3][8];
00017 
00018         public:
00019       TRossendorfMapParam(const char* name = 0);
00020 
00021                         Int_t getTdcMap(Int_t rpc, Int_t strip, Int_t *tdcLeft, Int_t *tdcRight, Int_t *chLeft, Int_t *chRight);
00022                         Int_t getQdcMap(Int_t rpc, Int_t strip, Int_t *qdcLeft, Int_t *qdcRight, Int_t *chLeft, Int_t *chRight);
00023                         
00024                         void setTdcMap(Int_t rpc, Int_t strip, Int_t tdcLeft, Int_t chLeft, Int_t tdcRight, Int_t chRight);
00025                         void setQdcMap(Int_t rpc, Int_t strip, Int_t qdcLeft, Int_t chLeft, Int_t qdcRight, Int_t chRight);
00026    ClassDef(TRossendorfMapParam,1)
00027 };
00028 
00029 #endif

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