CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FebConnectorSpec.h
Go to the documentation of this file.
1 #ifndef CondFormatsRPCObjectsFebConnectorSpec_H
2 #define CondFormatsRPCObjectsFebConnectorSpec_H
3 
5 
6 #include <vector>
11 #include <string>
12 
24 public:
25  FebConnectorSpec(int num =-1) : theLinkBoardInputNum(num), theRawId(0) { }
27 
29  int linkBoardInputNum() const { return theLinkBoardInputNum; }
30 
32  void addStrips(int algo) {
33  theAlgo = algo;
34  }
35 
37  const ChamberStripSpec strip(int pinNumber) const;
38 
40  const uint32_t & rawId() const;
41 
42  const ChamberLocationSpec & chamber() const { return theChamber; }
43  const FebLocationSpec & feb() const { return theFeb; }
44 
45  const int nstrips() const { return theAlgo/10000; }
46 
47  const int chamberStripNum(int istrip) const;
48 
49  const int cmsStripNum(int istrip) const { return 0; }
50 
51  const int cablePinNum(int istrip) const;
52 
54  std::string print(int depth=0) const;
55 
56 private:
58 
61 
62  int theAlgo;
63  mutable uint32_t theRawId COND_TRANSIENT;
64 
66 };
67 
68 #endif
const int cablePinNum(int istrip) const
const uint32_t & rawId() const
DetUnit to which data belongs.
const ChamberLocationSpec & chamber() const
const FebLocationSpec & feb() const
const int cmsStripNum(int istrip) const
void addStrips(int algo)
add strip info
const int nstrips() const
uint32_t theRawId COND_TRANSIENT
const int chamberStripNum(int istrip) const
const ChamberStripSpec strip(int pinNumber) const
strip info for input pin
std::string print(int depth=0) const
debug
FebLocationSpec theFeb
int linkBoardInputNum() const
this FEB channel in LinkBoard
FebConnectorSpec(int num=-1)
ChamberLocationSpec theChamber