00001 #include <map> 00002 #include <string> 00003 00004 00005 class TmModule { 00006 public: 00007 TmModule(int idc, int iring, int ilayer); 00008 virtual ~TmModule(); 00009 float posx, posy, posz; 00010 float length, width, thickness, widthAtHalfLength; 00011 int red,green,blue; 00012 float value; 00013 int count; 00014 std::string text; 00015 std::string name; 00016 std::string capvids; 00017 int CcuId; 00018 std::string PsuId; 00019 int psuIdex; 00020 short int HVchannel; 00021 int histNumber; 00022 int getId(){return idModule; } 00023 int getKey(){return layer*100000+ring*1000+idModule; } 00024 bool notInUse(){return notused;} 00025 void setUsed(){notused=false;} 00026 int idModule; 00027 int ring; 00028 int layer; 00029 unsigned int idex; 00030 bool notused; 00031 00032 void setQPointArray(int ar){histNumber = ar;}; 00033 int getQPointArray(){return histNumber;}; 00034 }; 00035 00036 00037