CMS 3D CMS Logo

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 #include <atomic>
13 
25 public:
29 
31 
33  int linkBoardInputNum() const { return theLinkBoardInputNum; }
34 
36  void addStrips(int algo) { theAlgo = algo; }
37 
39  const ChamberStripSpec strip(int pinNumber) const;
40 
42  uint32_t rawId() const;
43 
44  const ChamberLocationSpec& chamber() const { return theChamber; }
45  const FebLocationSpec& feb() const { return theFeb; }
46 
47  const int nstrips() const { return theAlgo / 10000; }
48 
49  const int chamberStripNum(int istrip) const;
50 
51  const int cmsStripNum(int istrip) const { return 0; }
52 
53  const int cablePinNum(int istrip) const;
54 
56  std::string print(int depth = 0) const;
57 
58 private:
60 
63 
64  int theAlgo;
65  mutable std::atomic<uint32_t> theRawId COND_TRANSIENT;
66 
68 };
69 
70 #endif
uint32_t rawId() const
DetUnit to which data belongs.
void addStrips(int algo)
add strip info
std::atomic< uint32_t > theRawId
const int nstrips() const
FebConnectorSpec & operator=(FebConnectorSpec const &)
const ChamberLocationSpec & chamber() const
int linkBoardInputNum() const
this FEB channel in LinkBoard
const int cmsStripNum(int istrip) const
FebLocationSpec theFeb
const ChamberStripSpec strip(int pinNumber) const
strip info for input pin
#define COND_TRANSIENT
Definition: Serializable.h:63
FebConnectorSpec(int num=-1)
ChamberLocationSpec theChamber
std::string print(int depth=0) const
debug
#define COND_SERIALIZABLE
Definition: Serializable.h:39
const int chamberStripNum(int istrip) const
const int cablePinNum(int istrip) const
const FebLocationSpec & feb() const