00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef _MTCHANNELSOFTID_HH
00010 #define _MTCHANNELSOFTID_HH
00011
00012
00013 #include "TObject.h"
00014 #include "root/MTChannelSoftId.hh"
00015 #include "root/MTChipSoftId.hh"
00016
00017
00018 class MTChannelSoftId : public MTChipSoftId{
00019 public:
00020 MTChannelSoftId();
00021 MTChannelSoftId(const MTChannelSoftId& orig);
00022 virtual ~MTChannelSoftId();
00023 unsigned int GetRowInChip()const { return row; } ;
00024 unsigned int GetColInChip()const { return col; } ;
00025 unsigned int GetChannelId()const { return channelId; } ;
00026 void SetValue (unsigned int chamberId,unsigned int difId,unsigned int boardId , unsigned int boardRow, unsigned int boardCol,
00027 unsigned int nbChipByBoardRow, unsigned int nbChipByBoardCol,
00028 unsigned int chipId, unsigned int chipRow, unsigned int chipCol,
00029 unsigned int nbChannelByChipRow , unsigned int nbChannelByChipCol, unsigned int chipSerialNum,
00030 unsigned int channelId,unsigned int row,unsigned int col);
00031
00032 std::string toString( ) const;
00033 std::string ToString( ) const { return toString(); } ;
00034 long GetValue() const;
00035
00036 private:
00037
00038 unsigned int channelId;
00039 unsigned int col;
00040 unsigned int row;
00041
00042
00043 ClassDef(MTChannelSoftId, 34)
00044 };
00045
00046 #endif
00047