CMS 3D CMS Logo

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