00001 /* @version $Revision: 1393 $ * @modifiedby $Author: jacquem $ * @lastmodified $Date: 2011-12-16 00:10:36 +0100 (Fri, 16 Dec 2011) $ */ 00002 00003 #ifndef _GASSIPLEXSTRIPCHAMBER1_HH_ 00004 #define _GASSIPLEXSTRIPCHAMBER1_HH_ 00005 00006 ////////////////////////////////////////////////////////////////////////// 00007 // 00008 // GassiplexStripChamber1 for MICROMEGAS READOUT 00009 // 00010 ////////////////////////////////////////////////////////////////////////// 00011 00012 #include "geometry/Chamber.hh" 00013 00014 ////////////////////////////////////////////////////////////////////////// 00015 // CLASS GassiplexStripChamber1 00016 ////////////////////////////////////////////////////////////////////////// 00017 class GassiplexStripChamber1 : public Chamber { 00018 00019 public: 00020 GassiplexStripChamber1(const float xPos, const float yPos, const float zPos, const bool xRotation,const bool yRotation, const i16 zRotation, const ui32 nbColumns, const ui32 nbRows ,const i32 id, const bool horizontal ); 00021 //const i32 aX, const i32 aY, const i32 aZ, const i32 _hardId); 00022 ~GassiplexStripChamber1(); 00023 //------ methods --------// 00024 00025 public: 00026 inline unsigned int getNumberOfBoards() const { return 1; } 00027 inline bool getHorizontal() const { return horizontal; } 00028 unsigned int getNumberOfGassiplexBoards() const { return getNumberOfBoards(); }; // only reimplement in GassioplexBoard* class 00029 00030 00031 const float getXGap() const { return(0); }; // in centimeter 00032 const float getYGap() const { return(0);}; 00033 00034 // const ui32 getXLength() const ; 00035 // const ui32 getYLength() const ; 00036 00037 private: 00038 // ------ data members -------// 00039 bool horizontal; 00040 private: 00041 void init(); 00042 00043 }; 00044 00045 #endif // _GASSIPLEXSTRIPCHAMBER2_HH_