CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TmModule.h
Go to the documentation of this file.
1 #include <map>
2 #include <string>
3 
4 class TmModule {
5 public:
6  TmModule(int idc, int iring, int ilayer);
7  virtual ~TmModule();
8  float posx, posy, posz;
10  int red, green, blue;
11  float value;
12  int count;
16  int CcuId;
18  int psuIdex;
19  short int HVchannel;
21  int getId() { return idModule; }
22  int getKey() { return layer * 100000 + ring * 1000 + idModule; }
23  bool notInUse() { return notused; }
24  void setUsed() { notused = false; }
25  int idModule;
26  int ring;
27  int layer;
28  unsigned int idex;
29  bool notused;
30 
31  void setQPointArray(int ar) { histNumber = ar; };
32  int getQPointArray() { return histNumber; };
33 };
int histNumber
Definition: TmModule.h:20
float value
Definition: TmModule.h:11
void setUsed()
Definition: TmModule.h:24
int idModule
Definition: TmModule.h:25
float posz
Definition: TmModule.h:8
int layer
Definition: TmModule.h:27
bool notused
Definition: TmModule.h:29
float posx
Definition: TmModule.h:8
unsigned int idex
Definition: TmModule.h:28
std::string text
Definition: TmModule.h:13
float posy
Definition: TmModule.h:8
std::string PsuId
Definition: TmModule.h:17
int getQPointArray()
Definition: TmModule.h:32
TmModule(int idc, int iring, int ilayer)
Definition: TmModule.cc:4
int getId()
Definition: TmModule.h:21
int count
Definition: TmModule.h:12
float width
Definition: TmModule.h:9
int psuIdex
Definition: TmModule.h:18
std::string capvids
Definition: TmModule.h:15
short int HVchannel
Definition: TmModule.h:19
virtual ~TmModule()
Definition: TmModule.cc:16
float widthAtHalfLength
Definition: TmModule.h:9
int getKey()
Definition: TmModule.h:22
int green
Definition: TmModule.h:10
int CcuId
Definition: TmModule.h:16
float thickness
Definition: TmModule.h:9
bool notInUse()
Definition: TmModule.h:23
int red
Definition: TmModule.h:10
int blue
Definition: TmModule.h:10
void setQPointArray(int ar)
Definition: TmModule.h:31
int ring
Definition: TmModule.h:26
float length
Definition: TmModule.h:9
std::string name
Definition: TmModule.h:14