00001 /* @version $Revision: 1742 $ * @modifiedby $Author: jacquem $ * @lastmodified $Date: 2012-05-29 16:34:39 +0200 (Tue, 29 May 2012) $ */ 00002 00003 #ifndef _MICROROC_CHANNEL_HH 00004 #define _MICROROC_CHANNEL_HH 00005 00006 ////////////////////////////////////////////////////////////////////////// 00007 // MICROMEGAS 00008 // 00009 // MICROROC CHANNEL FOR MICROMEGAS READOUT 00010 // 00011 ////////////////////////////////////////////////////////////////////////// 00012 00013 #include "geometry/Channel.hh" 00014 00015 ////////////////////////////////////////////////////////////////////////// 00016 /// CLASS MicrorocChannel // 00017 ////////////////////////////////////////////////////////////////////////// 00018 class MicrorocChannel : public Channel { 00019 public: 00020 MicrorocChannel(const Chip& , const i32 aX, const i32 aY, const i32 aId); 00021 ~MicrorocChannel() { }; 00022 00023 //------ methods --------// 00024 public: 00025 const ui32 getXLength() const { return 10000; };// 9800 in micrometer 00026 const ui32 getYLength() const { return 10000; };// 9800 in micrometer 00027 00028 bool getMask(ui16 index) const { return mask[index];} ; 00029 void setMask(ui16 index, bool value) { mask[index] = value; } ; 00030 00031 private: 00032 bool mask[3]; 00033 00034 00035 }; // class MicrorocChannel 00036 00037 #endif // _MICROROC_CHANNEL_HH