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