CMS 3D CMS Logo

TmApvPair.h
Go to the documentation of this file.
1 #include <map>
2 #include <string>
3 
4 class TmModule;
5 
6 class TmApvPair {
7  public:
8  TmApvPair(int ident,int crate);
9  ~TmApvPair();
10  int red,green,blue;
11  float value;
13  int count;
14  int idex;//Fed and position in fed
15  int crate;
17  int mpos;//ApvPair position in module
18  int getFedCh(){int res = (int) (idex/1000); return idex - res*1000;}
19  int getFedId(){int res = (int) (idex/1000); return res;}
20 };
TmModule * mod
Definition: TmApvPair.h:16
std::string text
Definition: TmApvPair.h:12
~TmApvPair()
Definition: TmApvPair.cc:13
int green
Definition: TmApvPair.h:10
int mpos
Definition: TmApvPair.h:17
Definition: Electron.h:4
int getFedId()
Definition: TmApvPair.h:19
int red
Definition: TmApvPair.h:10
int blue
Definition: TmApvPair.h:10
int count
Definition: TmApvPair.h:13
int crate
Definition: TmApvPair.h:15
int idex
Definition: TmApvPair.h:14
float value
Definition: TmApvPair.h:11
TmApvPair(int ident, int crate)
Definition: TmApvPair.cc:5
int getFedCh()
Definition: TmApvPair.h:18