1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#include <map>
#include <string>
class TmModule {
public:
TmModule(int idc, int iring, int ilayer);
virtual ~TmModule();
float posx, posy, posz;
float length, width, thickness, widthAtHalfLength;
int red, green, blue;
float value;
int count;
std::string text;
std::string name;
std::string capvids;
int CcuId;
std::string PsuId;
int psuIdex;
short int HVchannel;
int histNumber;
int getId() { return idModule; }
int getKey() { return layer * 100000 + ring * 1000 + idModule; }
bool notInUse() { return notused; }
void setUsed() { notused = false; }
int idModule;
int ring;
int layer;
unsigned int idex;
bool notused;
void setQPointArray(int ar) { histNumber = ar; };
int getQPointArray() { return histNumber; };
};
|