File indexing completed on 2024-04-06 12:01:12
0001 #include <map>
0002 #include <string>
0003
0004 class TmModule {
0005 public:
0006 TmModule(int idc, int iring, int ilayer);
0007 virtual ~TmModule();
0008 float posx, posy, posz;
0009 float length, width, thickness, widthAtHalfLength;
0010 int red, green, blue;
0011 float value;
0012 int count;
0013 std::string text;
0014 std::string name;
0015 std::string capvids;
0016 int CcuId;
0017 std::string PsuId;
0018 int psuIdex;
0019 short int HVchannel;
0020 int histNumber;
0021 int getId() { return idModule; }
0022 int getKey() { return layer * 100000 + ring * 1000 + idModule; }
0023 bool notInUse() { return notused; }
0024 void setUsed() { notused = false; }
0025 int idModule;
0026 int ring;
0027 int layer;
0028 unsigned int idex;
0029 bool notused;
0030
0031 void setQPointArray(int ar) { histNumber = ar; };
0032 int getQPointArray() { return histNumber; };
0033 };