Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:50:07

0001 #include <map>
0002 #include <string>
0003 
0004 class TmModule;
0005 
0006 class TmApvPair {
0007 public:
0008   TmApvPair(int ident, int crate);
0009   ~TmApvPair();
0010   int red, green, blue;
0011   float value;
0012   std::string text;
0013   int count;
0014   int idex;  //Fed and position in fed
0015   int crate;
0016   TmModule* mod;
0017   int mpos;  //ApvPair position in module
0018   int getFedCh() {
0019     int res = (int)(idex / 1000);
0020     return idex - res * 1000;
0021   }
0022   int getFedId() {
0023     int res = (int)(idex / 1000);
0024     return res;
0025   }
0026 };