/data3/calcul/jacquem/working_dir/Micromegas/micromegasFrameWork/include/root/MTChannelSoftId.hh

Go to the documentation of this file.
00001 /* @version $Revision: 1872 $ * @modifiedby $Author: jacquem $ * @lastmodified $Date: 2012-08-29 10:49:08 +0200 (Wed, 29 Aug 2012) $ */
00002 /* 
00003  * File:   ChannelSoftId.hh
00004  * Author: jacquem
00005  *
00006  * Created on May 8, 2010, 7:51 PM
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;  // in chip
00040   unsigned int row;  // in chip
00041 
00042 
00043 ClassDef(MTChannelSoftId, 34)  //MTChip structure
00044 };
00045 
00046 #endif  /* _CHANNELSOFTID_HH */
00047 

Generated on Mon Jan 7 13:15:20 2013 for MicromegasFramework by  doxygen 1.4.7