CMS 3D CMS Logo

SiStripFec.h
Go to the documentation of this file.
1 
2 #ifndef CalibFormats_SiStripObjects_SiStripFec_H
3 #define CalibFormats_SiStripObjects_SiStripFec_H
4 
7 #include <vector>
8 #include <cstdint>
9 
14 class SiStripFec {
15 public:
18 
20  ~SiStripFec() { ; }
21 
23  inline const std::vector<SiStripRing> &rings() const;
24  inline std::vector<SiStripRing> &rings();
25 
27  inline const uint16_t &fecSlot() const;
28 
30  void addDevices(const FedChannelConnection &conn);
31 
32 private:
34  SiStripFec() { ; }
35 
37  uint16_t fecSlot_;
38 
40  std::vector<SiStripRing> rings_;
41 };
42 
43 // ---------- inline methods ----------
44 
45 const std::vector<SiStripRing> &SiStripFec::rings() const { return rings_; }
46 std::vector<SiStripRing> &SiStripFec::rings() { return rings_; }
47 const uint16_t &SiStripFec::fecSlot() const { return fecSlot_; }
48 
49 #endif // CalibTracker_SiStripObjects_SiStripFec_H
const std::vector< SiStripRing > & rings() const
Definition: SiStripFec.h:45
std::vector< SiStripRing > rings_
Definition: SiStripFec.h:40
void addDevices(const FedChannelConnection &conn)
Definition: SiStripFec.cc:14
Class containning control, module, detector and connection information, at the level of a FED channel...
const uint16_t & fecSlot() const
Definition: SiStripFec.h:47
uint16_t fecSlot_
Definition: SiStripFec.h:37